/* Self-hosted variable fonts (Cairo for Arabic, Inter for Latin; SIL OFL 1.1, via Fontsource). */
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/cairo-arabic-wght-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/cairo-latin-wght-normal.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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.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; }

/* ==========================================================================
   Mostafa Ramadan | Public site design system
   Colour tokens (--c-*) are printed in <head> from Admin > Website > Theme.
   Layout uses logical properties so RTL (Arabic) and LTR (English) share
   one stylesheet.
   ========================================================================== */

:root {
  --c-ink: #0E1128; --c-ink-rgb: 14 17 40;
  --c-ink-2: #181C3F;
  --c-paper: #F7F7F4; --c-paper-rgb: 247 247 244;
  --c-paper-2: #E6E8E3;
  --c-brass: #C6A15B; --c-brass-rgb: 198 161 91;
  --c-brass-text: #7E5E2C;
  --c-slate: #56606E;
  --c-kholasa: #F2C230;
  --c-kholasa-ink: #0B0D20;
  --c-kholasa-cream: #FFF5D1;

  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Inter", "Segoe UI", system-ui, sans-serif;
  --font: var(--font-ar);

  /* Type scale (ratio ~1.25, display steps larger) */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-2xl: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  --fs-display: clamp(3.2rem, 1rem + 11vw, 11.5rem);

  --lh-body: 1.8;
  --lh-tight: 1.25;

  --wrap: 1280px;
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --space: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 3px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

html[lang="en"] { --font: var(--font-en); --lh-body: 1.65; --lh-tight: 1.1; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgb(var(--c-brass-rgb) / .3); }
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--c-ink); color: var(--c-paper); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

@media (max-width: 767px) { .only-desktop { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--c-brass); color: var(--c-ink); }
.btn--primary:hover { background: #D4B272; }
.btn--secondary { border-color: currentColor; background: transparent; }
.btn--secondary:hover { background: rgb(var(--c-ink-rgb) / .06); }
.on-dark .btn--secondary:hover { background: rgb(var(--c-paper-rgb) / .08); }
.btn--link { min-height: 0; padding: .25rem 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; }
.btn--ink { background: var(--c-ink); color: var(--c-paper); }
.btn--ink:hover { background: var(--c-ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(var(--c-paper-rgb) / .96);
  border-bottom: 1px solid rgb(var(--c-ink-rgb) / .08);
  transition: background-color .3s, color .3s, border-color .3s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-header--overlay { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; color: var(--c-paper); }
.site-header--overlay.is-scrolled, .site-header--overlay.menu-open { background: rgb(var(--c-ink-rgb) / .97); border-color: rgb(var(--c-paper-rgb) / .08); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.12rem; font-family: var(--font-ar); }
.brand__latin { font-family: var(--font-en); font-size: .72rem; font-weight: 500; opacity: .7; letter-spacing: .02em; }
.brand__img { height: 44px; width: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__link { text-decoration: none; font-size: var(--fs-sm); font-weight: 600; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--c-brass); }
.nav__item--has-children { position: relative; }
.nav__sub { position: absolute; inset-inline-start: -1rem; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: .6rem 0; background: var(--c-paper); color: var(--c-ink); border: 1px solid rgb(var(--c-ink-rgb) / .1); display: none; }
.nav__item--has-children:hover .nav__sub, .nav__item--has-children:focus-within .nav__sub { display: block; }
.nav__sub a { display: block; padding: .5rem 1rem; text-decoration: none; font-size: var(--fs-sm); }
.nav__sub a:hover { background: var(--c-paper-2); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { font-family: var(--font-en); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; padding: .3rem .5rem; }
html[lang="en"] .lang-switch { font-family: var(--font-ar); }
.header-cta { min-height: 44px; padding: .55rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0; background: var(--c-ink); color: var(--c-paper); padding: 2rem var(--gutter); overflow-y: auto; display: none; margin: 0; }
  .menu-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .nav__link { font-size: var(--fs-lg); display: block; padding: .5rem 0; }
  .nav__sub { position: static; display: block; background: transparent; color: inherit; border: 0; padding: 0 1rem; }
  .header-cta { display: none; }
  .header-socials { display: none; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); background: var(--section-bg, var(--c-paper)); color: var(--section-fg, var(--c-ink)); position: relative; }
.space--compact { --space: clamp(3rem, 2rem + 3vw, 4.5rem); }
.space--spacious { --space: clamp(6rem, 4rem + 8vw, 11rem); }
.bg--paper { --section-bg: var(--c-paper); }
.bg--paper-2 { --section-bg: var(--c-paper-2); }
.bg--ink { --section-bg: var(--c-ink); --section-fg: var(--c-paper); }
.bg--kholasa { --section-bg: var(--c-kholasa-ink); --section-fg: #F5F3EC; }
.bg--ink, .bg--kholasa, .on-dark { --muted: #A7B1BB; }
.section, .on-light { --muted: var(--c-slate); }
.bg--ink .muted, .bg--kholasa .muted { color: #A7B1BB; }

.muted { color: var(--muted, var(--c-slate)); }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 820px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.eyebrow { font-size: var(--fs-sm); font-weight: 600; color: var(--c-brass-text); margin: 0; }
.bg--ink .eyebrow, .on-dark .eyebrow { color: var(--c-brass); }
.section-title { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.01em; }
.section-intro { font-size: var(--fs-md); color: var(--muted); max-width: 62ch; }
@media (max-width: 767px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--c-ink-2); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1 { aspect-ratio: 1; }

/* ==========================================================================
   HERO: the one bold moment. The name is set at architectural scale; the
   portrait stands in front of it.
   ========================================================================== */
.hero { --section-bg: var(--c-ink); --section-fg: var(--c-paper); color: var(--c-paper); background: var(--c-ink); padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 4rem)); padding-bottom: clamp(2.5rem, 4vw, 4rem); overflow: hidden; min-height: min(100svh, 980px); display: flex; flex-direction: column; }
.hero .wrap { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero__name {
  font-size: var(--fs-display); font-weight: 800; line-height: .95; letter-spacing: -.02em;
  color: var(--c-paper-2); margin: 0; white-space: nowrap; position: relative; z-index: 1;
  user-select: none;
}
html[lang="en"] .hero__name { letter-spacing: -.045em; font-size: clamp(3rem, .5rem + 9vw, 9.5rem); }
.hero__name span { display: block; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: end; margin-top: clamp(-5.5rem, -6vw, -2rem); position: relative; z-index: 2; flex: 1; }
.hero__portrait { position: relative; align-self: stretch; max-height: 640px; isolation: isolate; }
.hero__portrait .frame { height: 100%; min-height: 420px; }
.hero__portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgb(var(--c-brass-rgb) / .55); pointer-events: none; z-index: -1; }
[dir="rtl"] .hero__portrait::after { inset: 14px 14px -14px -14px; }
.hero__body { padding-bottom: .5rem; max-width: 640px; }
.hero__eyebrow { color: var(--c-brass); font-weight: 600; margin-bottom: 1.25rem; font-size: var(--fs-sm); }
.hero__title { font-size: var(--fs-xl); font-weight: 700; line-height: 1.35; margin-bottom: 1.25rem; }
html[lang="en"] .hero__title { line-height: 1.2; letter-spacing: -.01em; }
.hero__subtitle { font-size: var(--fs-md); color: #B7C0C8; max-width: 52ch; margin-bottom: 2rem; }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgb(var(--c-paper-rgb) / .12); font-size: var(--fs-sm); }
.hero__highlights { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; list-style: none; margin: 0; padding: 0; color: #C9D0D6; }
.hero__highlights li { display: inline-flex; gap: .55rem; align-items: center; }
.hero__highlights .icon { color: var(--c-brass); width: 1.05em; height: 1.05em; }
.social-row { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.social-row a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgb(var(--c-paper-rgb) / .18); text-decoration: none; transition: border-color .2s, color .2s; }
.social-row a:hover { border-color: var(--c-brass); color: var(--c-brass); }
.on-light .social-row a { border-color: rgb(var(--c-ink-rgb) / .18); }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__name { white-space: normal; font-size: clamp(3rem, 15vw, 6rem); }
  .hero__grid { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .hero__portrait { max-width: 420px; }
  .hero__portrait .frame { min-height: 0; aspect-ratio: 4 / 5; }
}

/* Cinematic hero: full-bleed image or video */
.hero--cinematic { position: relative; padding-top: 0; padding-bottom: 0; min-height: min(100svh, 920px); }
.hero--cinematic .hero__media { position: absolute; inset: 0; }
.hero--cinematic .hero__media img, .hero--cinematic .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero--cinematic .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(var(--c-ink-rgb) / .95) 8%, rgb(var(--c-ink-rgb) / .35) 55%, rgb(var(--c-ink-rgb) / .2)); }
.hero--overlay-none .hero__media::after { display: none; }
.hero--overlay-strong .hero__media::after { background: rgb(var(--c-ink-rgb) / .78); }
.hero--cinematic .wrap { justify-content: flex-end; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); position: relative; }
.hero--cinematic .hero__name { font-size: clamp(3rem, 1rem + 8vw, 8.5rem); color: var(--c-paper); white-space: normal; }
.hero--cinematic .hero__body { max-width: 720px; margin-top: 1.5rem; }

/* Editorial hero: light, type-led */
.hero--editorial { --section-bg: var(--c-paper); background: var(--c-paper); color: var(--c-ink); }
.hero--editorial .hero__name { color: var(--c-ink); }
.hero--editorial .hero__subtitle { color: var(--c-slate); }
.hero--editorial .hero__foot { border-color: rgb(var(--c-ink-rgb) / .12); }
.hero--editorial .hero__highlights { color: var(--c-slate); }
.hero--editorial .social-row a { border-color: rgb(var(--c-ink-rgb) / .18); }
.hero--editorial .hero__portrait .frame { background: var(--c-paper-2); }

/* Hero load sequence (the only automatic motion on the page) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero[data-motion] .hero__name span { transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
  .js .hero[data-motion] .hero__name span:nth-child(2) { transition-delay: .08s; }
  .js .hero[data-motion] .hero__portrait .frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease) .25s; }
  .js .hero[data-motion] .hero__body > *, .js .hero[data-motion] .hero__foot { opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s var(--ease); }
  .js .hero[data-motion] .hero__body > *:nth-child(1) { transition-delay: .55s; }
  .js .hero[data-motion] .hero__body > *:nth-child(2) { transition-delay: .65s; }
  .js .hero[data-motion] .hero__body > *:nth-child(3) { transition-delay: .75s; }
  .js .hero[data-motion] .hero__body > *:nth-child(4) { transition-delay: .85s; }
  .js .hero[data-motion] .hero__foot { transition-delay: 1s; }
  .js .hero.is-in .hero__name span { transform: none; opacity: 1; }
  .js .hero.is-in .hero__portrait .frame { clip-path: inset(0 0 0 0); }
  .js .hero.is-in .hero__body > *, .js .hero.is-in .hero__foot { opacity: 1; transform: none; }
  .hero__name span { overflow: visible; }
  /* Optional per-section entrance chosen in the admin */
  .js [data-motion="fade"]:not(.hero) { opacity: 0; transition: opacity 1s; }
  .js [data-motion="rise"]:not(.hero) .wrap { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s var(--ease); }
  .js [data-motion="reveal"]:not(.hero) .reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-motion].is-in, .js [data-motion].is-in .wrap, .js [data-motion].is-in .reveal-item { opacity: 1; transform: none; }
}

/* ==========================================================================
   Executive experience
   ========================================================================== */
.experience { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.experience__text { font-size: var(--fs-md); color: var(--muted); max-width: 52ch; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid currentColor; border-color: rgb(var(--c-brass-rgb) / .45); }
.figure { padding: 1.5rem 0 1.25rem; padding-inline-end: 1.5rem; }
.figure__value { font-family: var(--font-en); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; gap: .15rem; }
.figure__suffix { font-size: .45em; color: var(--c-brass); font-family: var(--font); letter-spacing: 0; }
.figure__label { margin-top: .75rem; font-size: var(--fs-sm); color: var(--muted); }
.roles { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.roles li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid rgb(var(--c-ink-rgb) / .1); }
.bg--ink .roles li { border-color: rgb(var(--c-paper-rgb) / .1); }
.roles__period { font-family: var(--font-en); font-size: var(--fs-sm); color: var(--muted); padding-top: .2rem; }
.roles__role { font-weight: 700; }
.roles__org { color: var(--muted); font-size: var(--fs-sm); }
.layout--band .experience { grid-template-columns: 1fr; }
@media (max-width: 899px) { .experience { grid-template-columns: 1fr; } }

/* ==========================================================================
   Services index: a ruled list, each row opens its own page
   ========================================================================== */
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(var(--c-ink-rgb) / .14); }
.service-row { border-bottom: 1px solid rgb(var(--c-ink-rgb) / .14); }
.service-row a { display: grid; grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr) 2rem; gap: 1.5rem; align-items: start; padding: 1.75rem 0; text-decoration: none; transition: background-color .25s; }
.service-row a:hover { background: linear-gradient(to left, transparent, rgb(var(--c-brass-rgb) / .07)); }
[dir="ltr"] .service-row a:hover { background: linear-gradient(to right, transparent, rgb(var(--c-brass-rgb) / .07)); }
.service-row__icon { color: var(--c-brass-text); padding-top: .25rem; }
.service-row__icon .icon { width: 1.75rem; height: 1.75rem; }
.service-row__title { font-size: var(--fs-lg); font-weight: 700; }
.service-row__summary { color: var(--c-slate); }
.service-row__go { padding-top: .35rem; color: var(--c-brass-text); transition: transform .25s var(--ease); }
.service-row a:hover .service-row__go { transform: translateX(-4px); }
[dir="ltr"] .service-row a:hover .service-row__go { transform: translateX(4px); }
@media (max-width: 767px) {
  .service-row a { grid-template-columns: 2.25rem 1fr; gap: .5rem 1rem; }
  .service-row__summary { grid-column: 2; }
  .service-row__go { display: none; }
}

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2.5rem 2rem; }
.tile { text-decoration: none; display: grid; gap: .9rem; align-content: start; }
.tile__media { border-radius: var(--radius); }
.tile__meta { font-size: var(--fs-sm); color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.tile__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.45; }
.tile:hover .tile__title { text-decoration: underline; text-decoration-color: var(--c-brass); }
.tile__text { color: var(--muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Case studies: alternating editorial spreads
   ========================================================================== */
.cases { display: grid; gap: clamp(3.5rem, 6vw, 6rem); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; text-decoration: none; }
.case:nth-child(even) .case__media { order: 2; }
.case__media { border-radius: var(--radius); }
.case__facts { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.case__title { font-size: var(--fs-xl); font-weight: 800; margin-bottom: 1rem; }
.case:hover .case__title { text-decoration: underline; text-decoration-color: var(--c-brass); text-underline-offset: .2em; }
.case__summary { color: var(--muted); }
@media (max-width: 899px) { .case { grid-template-columns: 1fr; } .case:nth-child(even) .case__media { order: 0; } }
.layout--cards .cases { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 2.5rem 2rem; }
.layout--cards .case { grid-template-columns: 1fr; align-items: start; }
.layout--cards .case:nth-child(even) .case__media { order: 0; }
.layout--cards .case__title { font-size: var(--fs-lg); }

/* ==========================================================================
   Al Kholasa podcast: its own identity inside the personal site
   ========================================================================== */
.kholasa { --section-bg: var(--c-kholasa-ink); --section-fg: #F5F3EC; }
.kholasa-band { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.kholasa-logo { width: min(100%, 300px); }
.kholasa-wordmark { display: inline-grid; background: var(--c-kholasa); color: var(--c-kholasa-ink); padding: 1.4rem 1.8rem 1.2rem; border-radius: 6px; text-align: center; font-family: var(--font-ar); line-height: 1.1; }
.kholasa-wordmark__name { font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 900; letter-spacing: -.01em; }
.kholasa-wordmark__by { font-size: 1.05rem; font-weight: 700; margin-top: .6rem; padding-top: .55rem; border-top: 3px solid currentColor; }
.kholasa-wordmark--sm { padding: .5rem .8rem .45rem; border-radius: 4px; }
.kholasa-wordmark--sm .kholasa-wordmark__name { font-size: 1.6rem; }
.kholasa-wordmark--sm .kholasa-wordmark__by { font-size: .7rem; margin-top: .25rem; padding-top: .2rem; border-top-width: 2px; }
.kholasa .eyebrow { color: var(--c-kholasa); }
.kholasa__intro { color: #C8C5BC; font-size: var(--fs-md); margin-top: 1.5rem; }
.kholasa__platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border: 1px solid rgb(245 243 236 / .2); border-radius: 999px; font-size: var(--fs-sm); text-decoration: none; }
.chip:hover { border-color: var(--c-kholasa); color: var(--c-kholasa); }
.chip.is-active { background: var(--c-kholasa); color: var(--c-kholasa-ink); border-color: var(--c-kholasa); }
.on-light .chip { border-color: rgb(var(--c-ink-rgb) / .2); }
.on-light .chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.on-light .chip.is-active { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.episode-feature__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; color: #B5B2A9; font-size: var(--fs-sm); margin: 1.25rem 0 .5rem; }
.episode-feature__title { font-size: var(--fs-lg); font-weight: 800; }
.episode-feature__title a { text-decoration: none; }
.episode-feature__title a:hover { text-decoration: underline; text-decoration-color: var(--c-kholasa); }
.episode-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgb(245 243 236 / .14); }
.episode-list li { border-bottom: 1px solid rgb(245 243 236 / .14); }
.episode-list a { display: grid; grid-template-columns: 112px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; text-decoration: none; }
.episode-list__thumb { aspect-ratio: 16 / 9; border-radius: 2px; overflow: hidden; background: #222; }
.episode-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.episode-list__title { font-weight: 700; line-height: 1.5; }
.episode-list__date { color: #9C998F; font-size: var(--fs-xs); white-space: nowrap; }
.episode-list a:hover .episode-list__title { color: var(--c-kholasa); }
@media (max-width: 899px) { .kholasa-band { grid-template-columns: 1fr; } }
.layout--compact .kholasa-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }

/* YouTube player: thumbnail first, the real iframe loads only on demand */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to top, rgb(0 0 0 / .45), transparent 60%); border: 0; cursor: pointer; color: #141414; padding: 0; width: 100%; }
.yt__play-btn { width: 84px; height: 84px; border-radius: 50%; background: var(--c-kholasa); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s var(--ease); }
.yt__play-btn .icon { width: 34px; height: 34px; fill: currentColor; margin-inline-start: 5px; }
[dir="rtl"] .yt__play-btn .icon { margin-inline-start: 0; margin-inline-end: 5px; transform: scaleX(1); }
.yt__play:hover .yt__play-btn, .yt__play:focus-visible .yt__play-btn { transform: scale(1.06); }
.yt__label { position: absolute; inset-inline-start: 1rem; bottom: .9rem; color: #fff; font-size: var(--fs-sm); font-weight: 600; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.yt__blocked { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 1.5rem; background: #1D1D1D; color: #EEE; }

/* ==========================================================================
   Insights, testimonials, FAQ
   ========================================================================== */
.insights-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); }
.insights-lead .tile--lead .tile__title { font-size: var(--fs-xl); }
.insight-list { list-style: none; margin: 0; padding: 0; }
.insight-list li { border-top: 1px solid rgb(var(--c-ink-rgb) / .12); }
.insight-list a { display: block; padding: 1.25rem 0; text-decoration: none; }
.insight-list a:hover .tile__title { text-decoration: underline; text-decoration-color: var(--c-brass); }
@media (max-width: 899px) { .insights-lead { grid-template-columns: 1fr; } }
.kind-tag { font-size: var(--fs-xs); font-weight: 700; color: var(--c-brass-text); }

.quote { margin: 0; max-width: 960px; }
.quote__text { font-size: var(--fs-xl); font-weight: 600; line-height: 1.6; margin: 0 0 2rem; }
html[lang="en"] .quote__text { line-height: 1.35; }
.quote__mark { color: var(--c-brass); width: 48px; height: 48px; margin-bottom: 1.5rem; }
.quote__by { display: flex; align-items: center; gap: 1rem; }
.quote__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; }
.quote__name { font-weight: 700; }
.quote__role { color: var(--muted); font-size: var(--fs-sm); }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 3rem 2.5rem; }
.quotes-grid .quote__text { font-size: var(--fs-md); }

.faq { border-top: 1px solid rgb(var(--c-ink-rgb) / .14); max-width: 900px; }
.faq details { border-bottom: 1px solid rgb(var(--c-ink-rgb) / .14); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; font-weight: 700; font-size: var(--fs-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--c-brass-text); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding-bottom: 1.5rem; color: var(--c-slate); max-width: 70ch; }

/* ==========================================================================
   Final conversion
   ========================================================================== */
.closing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.closing__title { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.25; white-space: pre-line; }
html[lang="en"] .closing__title { line-height: 1.08; letter-spacing: -.02em; }
.closing__text { font-size: var(--fs-md); color: var(--muted); margin: 1.5rem 0 2.25rem; max-width: 54ch; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgb(var(--c-brass-rgb) / .4); }
.channels li { border-bottom: 1px solid rgb(var(--c-brass-rgb) / .4); }
.channels a { display: grid; grid-template-columns: 2rem 1fr; gap: .25rem 1rem; padding: 1.1rem 0; text-decoration: none; align-items: center; }
.channels .icon { color: var(--c-brass); grid-row: span 2; }
.channels__label { font-size: var(--fs-xs); color: var(--muted); }
.channels__value { font-weight: 700; font-size: var(--fs-md); }
.channels a:hover .channels__value { color: var(--c-brass); }
.layout--brass { --section-bg: var(--c-brass); --section-fg: var(--c-ink); --muted: #3B3424; }
.layout--brass .btn--primary { background: var(--c-ink); color: var(--c-paper); }
.layout--brass .channels, .layout--brass .channels li { border-color: rgb(var(--c-ink-rgb) / .3); }
.layout--brass .channels .icon, .layout--brass .eyebrow { color: var(--c-ink); }
@media (max-width: 899px) { .closing { grid-template-columns: 1fr; } }

/* ---------- Rich text ---------- */
.prose { max-width: 70ch; font-size: var(--fs-base); }
.prose h2 { font-size: var(--fs-xl); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: var(--fs-lg); margin: 2rem 0 .75rem; }
.prose ul, .prose ol { padding-inline-start: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 2rem 0; padding-inline-start: 1.5rem; border-inline-start: 3px solid var(--c-brass); font-size: var(--fs-md); font-weight: 600; }
.prose a { color: var(--c-brass-text); }
.bg--ink .prose a { color: var(--c-brass); }
.prose img { border-radius: var(--radius); margin: 2rem 0; }
.prose hr { border: 0; border-top: 1px solid rgb(var(--c-ink-rgb) / .15); margin: 2.5rem 0; }
.layout--wide .prose { max-width: none; columns: 2 340px; column-gap: 4rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.layout--image-end .split__media { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .layout--image-end .split__media { order: 0; } }

/* Timeline: a real sequence, so it is ordered and dated */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 900px; }
.timeline::before { content: ""; position: absolute; inset-block: .5rem 0; inset-inline-start: 7.5rem; width: 1px; background: rgb(var(--c-ink-rgb) / .15); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 2.5rem; padding-bottom: 2.75rem; position: relative; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: calc(7.5rem - 5px); top: .55rem; width: 11px; height: 11px; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-brass); }
.timeline__period { font-family: var(--font-en); color: var(--c-slate); font-size: var(--fs-sm); padding-top: .2rem; }
.timeline__role { font-size: var(--fs-lg); font-weight: 800; }
.timeline__org { color: var(--c-brass-text); font-weight: 600; margin-bottom: .75rem; }
.timeline__org a { text-decoration: none; }
@media (max-width: 599px) {
  .timeline::before { inset-inline-start: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: .25rem; padding-inline-start: 2rem; }
  .timeline li::before { inset-inline-start: 0; }
}

.credentials { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 2.5rem; }
.credential { padding: 1.25rem 0; border-top: 1px solid rgb(var(--c-ink-rgb) / .12); display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; }
.credential .icon { color: var(--c-brass-text); }
.credential__title { font-weight: 700; }
.credential__issuer { color: var(--c-slate); font-size: var(--fs-sm); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-head { padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid rgb(var(--c-ink-rgb) / .1); }
.page-head__title { font-size: var(--fs-2xl); font-weight: 800; max-width: 22ch; }
.page-head__intro { margin-top: 1.25rem; font-size: var(--fs-md); color: var(--c-slate); max-width: 62ch; }
.page-head--dark { background: var(--c-ink); color: var(--c-paper); border: 0; }
.page-head--dark .page-head__intro { color: #B7C0C8; }
.page-head--kholasa { background: var(--c-kholasa-ink); color: #F5F3EC; border: 0; }

.crumbs { font-size: var(--fs-sm); color: var(--c-slate); margin-bottom: 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head--dark .crumbs, .page-head--kholasa .crumbs { color: #A7B1BB; }

.content-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.aside-box { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; background: var(--c-paper-2); border-radius: var(--radius); }
.aside-box h2 { font-size: var(--fs-md); margin-bottom: .75rem; }
.facts { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.facts dt { font-size: var(--fs-xs); color: var(--c-slate); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 899px) { .content-grid { grid-template-columns: 1fr; } .aside-box { position: static; } }

.case-part { padding-block: 2.25rem; border-top: 1px solid rgb(var(--c-ink-rgb) / .12); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; }
.case-part h2 { font-size: var(--fs-lg); }
@media (max-width: 767px) { .case-part { grid-template-columns: 1fr; gap: .75rem; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; align-items: center; }
.search-field { display: flex; align-items: center; gap: .5rem; border: 1px solid rgb(var(--c-ink-rgb) / .2); border-radius: 999px; padding: .2rem .4rem .2rem 1rem; background: var(--c-paper); min-width: min(100%, 320px); }
[dir="rtl"] .search-field { padding: .2rem 1rem .2rem .4rem; }
.search-field input { border: 0; background: transparent; padding: .55rem 0; flex: 1; min-width: 0; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid var(--c-brass); outline-offset: 2px; }
.search-field button { border: 0; background: var(--c-ink); color: var(--c-paper); border-radius: 50%; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

.empty { padding: 3rem 0; color: var(--c-slate); max-width: 56ch; }
.empty strong { display: block; color: var(--c-ink); font-size: var(--fs-md); margin-bottom: .5rem; }

.guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem; }
.guest { text-decoration: none; display: grid; gap: .6rem; }
.guest__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--c-paper-2); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: var(--c-slate); }
.guest__photo img { width: 100%; height: 100%; object-fit: cover; }
.guest__name { font-weight: 700; font-size: var(--fs-sm); }

.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3.5rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .75rem; border: 1px solid rgb(var(--c-ink-rgb) / .15); border-radius: var(--radius); text-decoration: none; font-family: var(--font-en); }
.pager [aria-current] { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.pager .is-disabled { opacity: .4; }

.episode-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.episode-nav a { display: grid; gap: .3rem; padding: 1.25rem; border: 1px solid rgb(var(--c-ink-rgb) / .14); border-radius: var(--radius); text-decoration: none; }
.episode-nav a:hover { border-color: var(--c-ink); }
.episode-nav__dir { font-size: var(--fs-xs); color: var(--c-slate); }
.episode-nav__next { text-align: end; }
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.topics li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; }
.topics .icon { color: var(--c-brass-text); margin-top: .35rem; width: 1rem; height: 1rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-weight: 600; font-size: var(--fs-sm); }
.field .req { color: #A33A2B; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1px solid rgb(var(--c-ink-rgb) / .25); border-radius: var(--radius); background: #fff; }
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--c-brass); outline-offset: 0; border-color: var(--c-brass); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: #A33A2B; }
.field__error { color: #A33A2B; font-size: var(--fs-sm); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin-top: .3rem; accent-color: var(--c-ink); flex: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); border-inline-start: 3px solid; }
.notice--success { background: #E7F1EA; border-color: #2F7A4B; color: #1E4D30; }
.notice--error { background: #F7E8E5; border-color: #A33A2B; color: #6E2219; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; padding: .6rem 1rem; border: 1px solid rgb(var(--c-ink-rgb) / .25); border-radius: 999px; cursor: pointer; font-size: var(--fs-sm); }
.segmented input:checked + span { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--c-brass); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-paper); padding-top: clamp(4rem, 7vw, 7rem); }
.footer-statement { font-size: var(--fs-xl); font-weight: 700; max-width: 26ch; line-height: 1.4; margin-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3.2fr) minmax(0, 2fr); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgb(var(--c-paper-rgb) / .12); }
.footer-grid h2 { font-size: var(--fs-sm); color: var(--c-brass); font-weight: 600; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; color: #D2D8DD; }
.footer-grid a:hover { color: var(--c-paper); text-decoration: underline; }
.footer-about { color: #A7B1BB; max-width: 40ch; margin-top: 1.25rem; font-size: var(--fs-sm); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; font-size: var(--fs-xs); color: #8C97A2; }
.footer-bottom a { color: inherit; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.float-wa { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1F7A4D; color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / .18); }
.float-wa .icon { width: 28px; height: 28px; }
.float-wa:hover { background: #17633E; }

.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--c-kholasa); color: var(--c-kholasa-ink); padding: .6rem var(--gutter); font-size: var(--fs-sm); font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.preview-bar a { color: inherit; }
.preview-bar + .site-header--overlay { top: 42px; }

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

@media print {
  .site-header, .site-footer, .float-wa, .yt__play { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Components added with the views (R1.2)
   ========================================================================== */
.icon--sm { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }
[dir="ltr"] .flip-ltr-chevron { transform: scaleX(-1); }
.menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.nav__item--mobile-cta { display: none; }
@media (max-width: 1023px) { .nav__item--mobile-cta { display: block; margin-top: 1.5rem; } }
.brand__mark { color: var(--c-ink); }
.on-dark .brand__mark, .site-footer .brand__mark { color: var(--c-paper); }
.on-dark .brand__name, .site-footer .brand__name { color: var(--c-paper); }
.btn--block { display: flex; width: 100%; margin-top: .75rem; }
.btn--kholasa { background: var(--c-kholasa); color: var(--c-kholasa-ink); }
.btn--kholasa:hover { background: #F7CF4F; }
.kholasa .btn--secondary { color: #F5F3EC; }
.on-dark .btn--link { color: inherit; }

/* Footer */
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgb(var(--c-paper-rgb) / .12); }
.footer-top .footer-statement { margin: 0; }
.footer-socials { margin-top: 1.5rem; }
.footer-podcast { display: inline-block; text-decoration: none; }
.footer-podcast img { width: 120px; border-radius: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-footer .social-row a { color: var(--c-paper); }

/* Tiles, cases */
.tile__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 1px solid rgb(var(--c-brass-rgb) / .5); border-radius: 50%; color: var(--c-brass-text); }
.tile__icon .icon { width: 1.6rem; height: 1.6rem; }
.on-dark .tile__icon { color: var(--c-brass); }
.case__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(var(--c-brass-rgb) / .55); }
.case__placeholder .icon { width: 64px; height: 64px; }
.case__body .btn--link { margin-top: 1.25rem; }
.group-title { font-size: var(--fs-lg); margin: 3rem 0 1rem; }
.group-title:first-child { margin-top: 0; }
.section-title--sm { font-size: var(--fs-xl); margin-bottom: 2rem; }
.section-head .section-title--sm { margin-bottom: 0; }
.sub-title { font-size: var(--fs-lg); margin: 2.5rem 0 1.25rem; }
.content-cover { border-radius: var(--radius); margin-bottom: 2.5rem; }
.content-cover--wide { margin-bottom: 3.5rem; }
.lead { font-size: var(--fs-md); font-weight: 600; margin-bottom: 1.5rem; }
.note { margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--c-paper-2); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--c-slate); }
.next-link { margin-top: 3rem; }
.aside-box--static { position: static; margin-bottom: 1.5rem; }
.aside-channel { margin: 1rem 0 0; }
.aside-channel a { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; font-weight: 600; }
.steps { margin: 0 0 1.25rem; padding-inline-start: 1.2rem; color: var(--c-slate); display: grid; gap: .5rem; }
.stats__title { font-size: var(--fs-xl); margin-bottom: 2rem; }
.experience__cta, .split__cta { margin-top: 2rem; }
.experience__image { margin-top: 2.5rem; border-radius: var(--radius); }
.split__prose { margin-top: 1.25rem; }
.video-figure { margin: 0; }
.video-figure figcaption { margin-top: 1rem; font-size: var(--fs-sm); }
.video-file { width: 100%; border-radius: var(--radius); background: #000; }
.quotes-spotlight { max-width: 960px; }

/* Article */
.article-meta { font-size: var(--fs-sm); margin-bottom: 2rem; }
.article-tags { margin-top: 2.5rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--c-ink-rgb) / .12); }
.share__label { font-weight: 700; font-size: var(--fs-sm); }
.share .social-row a, .share__copy { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgb(var(--c-ink-rgb) / .18); background: none; cursor: pointer; color: inherit; }
.share .social-row a:hover, .share__copy:hover { border-color: var(--c-ink); }
.share__copy.is-done { border-color: #2F7A4B; color: #2F7A4B; }

/* YouTube fallback link (shown only when JS is off or the embed fails) */
.yt__fallback { margin: .6rem 0 0; font-size: var(--fs-xs); }
.yt__fallback a { display: inline-flex; gap: .35rem; align-items: center; color: inherit; opacity: .75; }
.js .yt__fallback { display: none; }
.js .yt.is-playing + .yt__fallback { display: block; }

/* Podcast pages */
.kholasa-band__id .kholasa-wordmark, .kholasa-band__id .kholasa-logo { margin-bottom: 2rem; }
.kholasa__title { color: #F5F3EC; }
.kholasa__cta { margin-top: 2rem; }
.kholasa__soon { padding: 3rem 1.5rem; border: 1px dashed rgb(245 243 236 / .25); border-radius: var(--radius); color: #C8C5BC; text-align: center; }
.kholasa .eyebrow { margin-bottom: 1rem; }
.podcast-hero, .episode-hero { background: var(--c-kholasa-ink); color: #F5F3EC; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem); }
.podcast-hero .crumbs, .episode-hero .crumbs { color: #A9A69D; }
.podcast-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.podcast-hero__id .kholasa-wordmark, .podcast-hero__id .kholasa-logo { margin-bottom: 2rem; }
.podcast-hero__title { font-size: var(--fs-2xl); font-weight: 800; }
.podcast-hero__player .episode-feature__title { margin-top: 1.25rem; }
@media (max-width: 899px) { .podcast-hero__grid { grid-template-columns: 1fr; } }
.episode-hero__title { font-size: var(--fs-2xl); font-weight: 800; max-width: 28ch; margin-bottom: 2rem; }
.episode-hero__player { max-width: 1040px; }
.episode-card__media { position: relative; }
.episode-card__play { position: absolute; inset-inline-start: .75rem; bottom: .75rem; width: 42px; height: 42px; border-radius: 50%; background: var(--c-kholasa); color: var(--c-kholasa-ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s var(--ease); }
.episode-card__play .icon { width: 18px; height: 18px; fill: currentColor; }
.episode-card:hover .episode-card__play { transform: scale(1.08); }
.episode-card__time { position: absolute; inset-inline-end: .6rem; bottom: .6rem; background: rgb(0 0 0 / .75); color: #fff; font-size: var(--fs-xs); padding: .1rem .45rem; border-radius: 2px; }
.guest--row { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; margin-top: 1rem; }
.guest--row .guest__photo { width: 64px; height: 64px; font-size: 1.2rem; }
.guest__bio { font-size: var(--fs-sm); margin-top: .75rem; }
.guest__title { font-size: var(--fs-xs); }

/* Contact channels */
.channel-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.channel-card { display: grid; gap: .35rem; padding: 1.5rem; border: 1px solid rgb(var(--c-ink-rgb) / .14); border-radius: var(--radius); text-decoration: none; background: var(--c-paper); transition: border-color .2s; }
.channel-card:hover { border-color: var(--c-brass); }
.channel-card__icon { color: var(--c-brass-text); margin-bottom: .5rem; }
.channel-card__icon .icon { width: 1.75rem; height: 1.75rem; }
.channel-card__label { font-size: var(--fs-sm); color: var(--c-slate); }
.channel-card__value { font-size: var(--fs-md); font-weight: 700; word-break: break-word; }
.social-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.social-list a { display: inline-flex; gap: .5rem; align-items: center; padding: .55rem 1rem; border: 1px solid rgb(var(--c-ink-rgb) / .18); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.social-list a:hover { border-color: var(--c-ink); }
.wrap--form { max-width: 860px; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { margin-bottom: .6rem; }
.field__hint { font-size: var(--fs-xs); }
.form__note { font-size: var(--fs-sm); }

/* Inner closing band */
.closing-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.closing-band__text { font-size: var(--fs-lg); font-weight: 700; max-width: 34ch; margin: 0; }

/* Error pages */
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 2rem; }
.error-box { max-width: 560px; text-align: center; }
.error-box__code { font-family: var(--font-en); font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--c-brass); margin: 0 0 1rem; }
.error-box__title { font-size: var(--fs-xl); margin-bottom: 1rem; }
.error-box .btn-row { justify-content: center; margin-top: 2rem; }

/* Hero name on one line: both words stay readable, the portrait overlaps only its baseline. */
.hero__name { font-size: clamp(3rem, .6rem + 7.6vw, 9rem); white-space: nowrap; }
.hero__name span { display: inline-block; }
.hero__name span + span { margin-inline-start: .22em; }
.hero__grid { margin-top: clamp(1.25rem, 2.4vw, 2.5rem); }
html[lang="en"] .hero__name { font-size: clamp(2.8rem, .4rem + 6.6vw, 8rem); }
@media (max-width: 899px) { .hero__name { white-space: normal; font-size: clamp(2.8rem, 13vw, 5.5rem); } .hero__name span { display: block; } .hero__name span + span { margin: 0; } }

/* Grid children never stretch past their track; long emails wrap. */
.footer-grid > *, .closing > *, .content-grid > *, .split > *, .experience > *, .kholasa-band > *, .podcast-hero__grid > *, .hero__grid > * { min-width: 0; }
.channels__value, .channel-card__value, .footer-grid a, .aside-channel a { overflow-wrap: anywhere; }
.experience .section-title { font-size: var(--fs-xl); margin-bottom: 1.25rem; }
@media (max-width: 899px) {
  .hero__portrait { max-width: 340px; }
  .hero__portrait::after { inset: 10px -10px -10px 10px; }
  [dir="rtl"] .hero__portrait::after { inset: 10px 10px -10px -10px; }
}
@media (max-width: 599px) {
  .hero__portrait { max-width: 64%; }
  .hero { padding-top: calc(var(--header-h) + 1.25rem); }
  .hero__grid { margin-top: 1rem; gap: 1.5rem; }
  .hero__title { font-size: 1.55rem; }
}

/* ==========================================================================
   Hero, "portrait spotlight" layout (R1.1): real photo bleeding off the edge,
   fading into the navy; gold arc echoes the brand artwork.
   ========================================================================== */
.hero-p { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 900px); padding: calc(var(--header-h) + 3rem) 0 4.5rem; background: var(--c-ink); color: var(--c-paper); }
.hero-p__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(60% 75% at 24% 52%, rgb(64 74 190 / .38), transparent 70%); }
[dir="ltr"] .hero-p__bg { background: radial-gradient(60% 75% at 76% 52%, rgb(64 74 190 / .38), transparent 70%); }
.hero-p__texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: luminosity; }
.hero-p__arc { position: absolute; width: min(78vw, 1040px); aspect-ratio: 1; top: 50%; inset-inline-end: -16vw; transform: translateY(-50%); color: rgb(var(--c-brass-rgb) / .45); }
.hero-p__media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 48%; z-index: -1; }
.hero-p__media picture, .hero-p__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-p__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent 55%, var(--c-ink) 100%),
    linear-gradient(to top, var(--c-ink) 0%, transparent 28%),
    linear-gradient(to bottom, rgb(var(--c-ink-rgb) / .7) 0%, transparent 22%); }
[dir="ltr"] .hero-p__media::after { background:
    linear-gradient(to left, transparent 55%, var(--c-ink) 100%),
    linear-gradient(to top, var(--c-ink) 0%, transparent 28%),
    linear-gradient(to bottom, rgb(var(--c-ink-rgb) / .7) 0%, transparent 22%); }
.hero-p__wrap { position: relative; }
.hero-p__body { width: 54%; max-width: 660px; }
.hero-p__eyebrow { color: var(--c-brass); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.hero-p__name { font-size: clamp(2.7rem, 1.4rem + 3.8vw, 5.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
html[lang="en"] .hero-p__name { letter-spacing: -.035em; line-height: 1.02; }
.hero-p__rule { display: block; width: 88px; height: 3px; background: var(--c-brass); margin: 1.5rem 0 1.6rem; border-radius: 2px; }
.hero-p__title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.55; margin-bottom: 1rem; max-width: 32ch; }
html[lang="en"] .hero-p__title { line-height: 1.3; }
.hero-p__subtitle { color: #B9C0D6; font-size: var(--fs-base); max-width: 52ch; margin-bottom: 2rem; }
.hero-p__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--c-paper-rgb) / .12); font-size: var(--fs-sm); }
.hero-p .hero__highlights { color: #C9CFE0; }
.hero-p .social-row a { color: var(--c-paper); }
.hero-p__episode { position: absolute; z-index: 2; bottom: 2.25rem; inset-inline-end: var(--gutter); display: flex; align-items: center; gap: .9rem; width: min(360px, calc(48% - 2 * var(--gutter))); padding: .7rem; padding-inline-end: 1rem; border-radius: 10px; background: rgb(var(--c-ink-rgb) / .86); border: 1px solid rgb(var(--c-brass-rgb) / .35); text-decoration: none; box-shadow: 0 18px 40px rgb(0 0 0 / .35); transition: border-color .2s, transform .25s var(--ease); }
.hero-p__episode:hover { border-color: var(--c-brass); transform: translateY(-2px); }
.hero-p__episode-thumb { position: relative; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--c-ink-2); flex: none; }
.hero-p__episode-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-p__episode-play { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-p__episode-play .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--c-kholasa); color: var(--c-kholasa-ink); fill: currentColor; }
.hero-p__episode-text { display: grid; gap: .15rem; min-width: 0; }
.hero-p__episode-label { font-size: var(--fs-xs); color: var(--c-kholasa); font-weight: 700; }
.hero-p__episode-title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@media (max-width: 899px) {
  .hero-p { display: block; min-height: 0; padding: 0 0 3rem; }
  .hero-p__media { position: relative; width: 100%; height: min(78svh, 620px); z-index: 0; }
  .hero-p__media img { object-position: 50% 22%; }
  .hero-p__media::after, [dir="ltr"] .hero-p__media::after { background:
      linear-gradient(to top, var(--c-ink) 2%, rgb(var(--c-ink-rgb) / .55) 30%, transparent 55%),
      linear-gradient(to bottom, rgb(var(--c-ink-rgb) / .75) 0%, transparent 22%); }
  .hero-p__wrap { margin-top: -9rem; z-index: 1; }
  .hero-p__body { width: 100%; }
  .hero-p__arc { width: 140vw; top: 30%; inset-inline-end: -70vw; }
  .hero-p__episode { position: relative; inset: auto; width: auto; margin: 2rem var(--gutter) 0; }
}

/* Hero entrance for the portrait layout */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-p[data-motion] .hero-p__media { opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
  .js .hero-p[data-motion] .hero-p__body > * { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s var(--ease); }
  .js .hero-p[data-motion] .hero-p__body > *:nth-child(2) { transition-delay: .1s; }
  .js .hero-p[data-motion] .hero-p__body > *:nth-child(3) { transition-delay: .2s; }
  .js .hero-p[data-motion] .hero-p__body > *:nth-child(4) { transition-delay: .3s; }
  .js .hero-p[data-motion] .hero-p__body > *:nth-child(n+5) { transition-delay: .4s; }
  .js .hero-p[data-motion] .hero-p__episode { opacity: 0; transition: opacity .8s .7s, transform .25s var(--ease); }
  .js .hero-p.is-in .hero-p__media, .js .hero-p.is-in .hero-p__body > * { opacity: 1; transform: none; }
  .js .hero-p.is-in .hero-p__episode { opacity: 1; }
}

/* ==========================================================================
   Al Kholasa with a cinematic photo backdrop (studio image)
   ========================================================================== */
.kholasa--photo { position: relative; isolation: isolate; overflow: hidden; }
.kholasa__backdrop { position: absolute; inset: 0; z-index: -1; }
.kholasa__backdrop picture, .kholasa__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.kholasa__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(var(--c-kholasa-ink-rgb) / .62) 0%, rgb(var(--c-kholasa-ink-rgb) / .86) 45%, var(--c-kholasa-ink) 100%); }
.kholasa--photo-strong .kholasa__backdrop::after { background: linear-gradient(to bottom, rgb(var(--c-kholasa-ink-rgb) / .8), var(--c-kholasa-ink)); }
.kholasa--photo.section { padding-top: clamp(6rem, 4rem + 8vw, 11rem); }
.podcast-hero.kholasa--photo { padding-top: clamp(4rem, 3rem + 6vw, 8rem); }
.kholasa-logo { width: min(100%, 320px); height: auto; }
.kholasa--photo .yt { box-shadow: 0 24px 60px rgb(0 0 0 / .45); }

/* Portrait hero refinements: fade the photo with a mask (no seam against the glow),
   keep the arc around the photo, keep the episode card clear of the WhatsApp button. */
.hero-p__media picture { display: block; height: 100%;
  -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 100%), linear-gradient(to top, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 52%, transparent 100%), linear-gradient(to top, transparent 0%, #000 24%);
  mask-composite: intersect; }
[dir="ltr"] .hero-p__media picture {
  -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 100%), linear-gradient(to top, transparent 0%, #000 24%);
  mask-image: linear-gradient(to left, #000 52%, transparent 100%), linear-gradient(to top, transparent 0%, #000 24%); }
.hero-p__media::after, [dir="ltr"] .hero-p__media::after { background: linear-gradient(to bottom, rgb(var(--c-ink-rgb) / .72) 0%, transparent 20%); }
.hero-p__arc { width: min(56vw, 800px); inset-inline-end: -9vw; }
.hero-p__episode { inset-inline-end: calc(var(--gutter) + 76px); }
@media (max-width: 899px) {
  .hero-p__bg, [dir="ltr"] .hero-p__bg { background: none; }
  .hero-p__media picture, [dir="ltr"] .hero-p__media picture {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 42%);
    mask-image: linear-gradient(to top, transparent 0%, #000 42%); }
  .hero-p__media::after, [dir="ltr"] .hero-p__media::after { background: linear-gradient(to bottom, rgb(var(--c-ink-rgb) / .75) 0%, transparent 20%); }
  .hero-p__arc { display: none; }
  .hero-p__episode { inset: auto; }
}

/* ===== R1.2: profile details (timeline without dates, grouped credentials, engagements) ===== */
.timeline--undated::before { inset-inline-start: 5px; }
.timeline--undated li { grid-template-columns: 1fr; gap: 0; padding-inline-start: 2.25rem; }
.timeline--undated li::before { inset-inline-start: 0; }
.timeline--undated li:first-child::before { background: var(--c-brass); }
.timeline__now {
  display: inline-block; vertical-align: middle; margin-inline-start: .75rem;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1; padding: .4rem .65rem;
  color: var(--c-brass-text); background: rgb(var(--c-brass-rgb) / .14); border-radius: 999px;
}
.timeline__desc { color: var(--muted); max-width: 68ch; }
.timeline__desc > :last-child { margin-bottom: 0; }

.cred-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 2.5rem 4rem; }
.cred-col__title {
  display: flex; align-items: center; gap: .6rem; font-size: var(--fs-md); font-weight: 800;
  padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 2px solid var(--c-brass);
}
.cred-col__title .icon { color: var(--c-brass-text); }
.cred-list { list-style: none; margin: 0; padding: 0; }
.cred { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgb(var(--c-ink-rgb) / .1); }
.cred:last-child { border-bottom: 0; }
.cred__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgb(var(--c-brass-rgb) / .55); color: var(--c-brass-text); background: rgb(var(--c-brass-rgb) / .08);
}
.cred__title { font-weight: 800; font-size: 1.0625rem; margin: 0; line-height: 1.5; }
.cred__title a { text-decoration: none; }
.cred__meta { color: var(--c-brass-text); font-size: var(--fs-sm); font-weight: 600; margin: .15rem 0 0; }
.cred__desc { color: var(--muted); font-size: var(--fs-sm); margin: .4rem 0 0; line-height: 1.8; }
.credential__desc { color: var(--muted); font-size: var(--fs-sm); margin-top: .35rem; }
.credentials--after { margin-top: 2.5rem; }
.on-dark .cred, .bg--ink .cred { border-color: rgb(var(--c-paper-rgb) / .12); }
.on-dark .cred__meta, .bg--ink .cred__meta, .on-dark .cred__icon, .bg--ink .cred__icon, .bg--ink .cred-col__title .icon { color: var(--c-brass); }

.engagements { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.engagements--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 1.25rem; }
.engagements--grid .engagement {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem;
  background: var(--c-paper); border: 1px solid rgb(var(--c-ink-rgb) / .1); border-top: 2px solid var(--c-brass);
  transition: transform .25s ease, box-shadow .25s ease;
}
.engagements--grid .engagement:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgb(var(--c-ink-rgb) / .45); }
.bg--paper .engagements--grid .engagement, .section:not([class*="bg--"]) .engagements--grid .engagement { background: #fff; }
.engagements--list .engagement { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgb(var(--c-ink-rgb) / .12); }
.engagement__no { font-family: var(--font-en); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--c-brass); }
.engagement__name { font-size: var(--fs-md); font-weight: 800; margin: 0; line-height: 1.4; }
.engagement__name a { text-decoration: none; }
.engagement__loc {
  display: inline-flex; align-items: center; gap: .25rem; vertical-align: middle; margin-inline-start: .5rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-brass-text); background: rgb(var(--c-brass-rgb) / .12);
  padding: .25rem .55rem; border-radius: 999px;
}
.engagement__role { color: var(--muted); margin: .5rem 0 0; line-height: 1.8; }
.bg--ink .engagements--grid .engagement { background: rgb(var(--c-paper-rgb) / .04); border-color: rgb(var(--c-paper-rgb) / .12); border-top-color: var(--c-brass); }
.bg--ink .engagement__loc { color: var(--c-brass); }
@media (prefers-reduced-motion: reduce) { .engagements--grid .engagement { transition: none; } .engagements--grid .engagement:hover { transform: none; } }
