/* Hassouna & Abou Ali — site styles
   Brand: PANTONE 301 U #24618E · PANTONE 7695 U #81A8BC · PANTONE Orange 021 U #FF6D2D
   Type: DTL Documenta (headlines) · Idlewild (titles/labels) · Arial (body) */

@font-face {
  font-family: "DTL Documenta";
  src: url("../fonts/DTLDocumentaST-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Idlewild";
  src: url("../fonts/Idlewild-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --blue: #24618E;
  --blue-deep: #17405E;
  --blue-ink: #0F2B40;
  --steel: #81A8BC;
  --steel-soft: #DCE7ED;
  --mist: #F1F5F7;
  --orange: #FF6D2D;
  --orange-dark: #D9531A;
  --ink: #18242E;
  --muted: #5A6872;
  --line: #D6DFE4;
  --white: #FFFFFF;

  --serif: "DTL Documenta", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --display: "Idlewild", "Arial Black", Arial, sans-serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(15, 43, 64, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
ul { padding-inline-start: 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Labels ---------- */
.kicker {
  font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker.on-dark { color: var(--orange); }
.kicker.plain::before { display: none; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--blue); color: var(--blue); background: transparent;
  border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn.solid { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.solid:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn.light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.light:hover { background: #fff; color: var(--blue); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.textlink {
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--orange-dark); display: inline-flex; gap: 8px; align-items: center;
}
.textlink:hover { color: var(--blue); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.brandbar { background: var(--blue); position: relative; z-index: 2; }
.brandbar .wrap { display: flex; align-items: center; justify-content: center; height: 64px; position: relative; }
.brandbar .logo img { height: 22px; width: auto; }
.brandbar .logo img.ar-logo { height: 38px; }
.tools { position: absolute; inset-inline-end: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; }
.tool { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 36px; padding: 0 9px; color: #fff; background: transparent; text-decoration: none; font-family: var(--sans); font-size: .9rem; line-height: 1; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s; }
.tool.text { padding: 0 12px; }
.tool:hover, .tool[aria-expanded="true"] { background: #fff; color: var(--blue); }
.lang { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: #fff; text-decoration: none; font-family: var(--sans); font-size: .9rem; line-height: 1; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); transition: background .2s, color .2s; }
.lang:hover { background: #fff; color: var(--blue); }
.lang svg { flex: none; }
.lang .short { display: inline; }
.tool.li .li-icon { display: none; }
.lang-menu { position: relative; display: inline-flex; }
.lang-drop { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 130px; padding: 6px 0; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 30px -10px rgba(15, 43, 64, .45); }
.lang-drop a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: .95rem; text-align: start; }
.lang-drop a:hover { color: var(--orange-dark); }
.mainnav .wrap { display: flex; justify-content: center; max-width: none; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(12px, 1.7vw, 30px); }
.mainnav a {
  display: block; padding: 16px 0 14px; text-decoration: none; color: var(--ink);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.mainnav a:hover { color: var(--blue); }
.mainnav { position: relative; }
.mainnav .caret { display: none; }
.mainnav .drop { display: none; }
/* Drop-down panels for Practice Areas and Sectors & Industries (mouse and keyboard only) */
@media (hover: hover) and (min-width: 641px) {
  .mainnav .caret { display: inline-block; width: 0; height: 0; margin-inline-start: 7px; vertical-align: 2px; border-inline-start: 4px solid transparent; border-inline-end: 4px solid transparent; border-top: 5px solid currentColor; }
  .mainnav .drop {
    display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--orange);
    box-shadow: 0 24px 40px -24px rgba(15, 43, 64, .45);
    opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .2s;
  }
  .mainnav .has-drop:hover > .drop, .mainnav .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transition-delay: 0s; }
  .mainnav .has-drop:hover > a { color: var(--blue); }
  .mainnav .drop .wrap { display: block; max-width: var(--wrap); padding-top: 34px; padding-bottom: 30px; }
  .mainnav .drop ul { display: block; columns: 4; column-gap: 0; column-rule: 1px solid var(--line); margin: 0; padding: 0; }
  .mainnav .drop li { break-inside: avoid; text-align: center; }
  .mainnav .drop li a {
    display: block; padding: 11px 18px; border: 0; white-space: normal;
    font-family: var(--sans); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
  }
  .mainnav .drop li a:hover, .mainnav .drop li a:focus-visible { color: var(--orange-dark); }
  .mainnav .drop p { margin: 22px 0 0; text-align: center; }
  .mainnav .drop p a { display: inline-flex; padding: 0; border: 0; font-size: .72rem; letter-spacing: .16em; color: var(--orange-dark); }
}
@media (hover: hover) and (min-width: 1101px) { .mainnav .drop.c5 ul { columns: 5; } }
@media (hover: hover) and (min-width: 641px) and (max-width: 900px) { .mainnav .drop ul { columns: 3; } }

.mainnav a[aria-current="page"] { color: var(--orange-dark); border-bottom-color: var(--orange); }

@media (max-width: 1240px) {
  .mainnav ul { gap: 0 16px; }
  .mainnav a { font-size: .68rem; letter-spacing: .1em; }
}
@media (max-width: 1000px) {
  .brandbar .wrap { height: 54px; }
  .brandbar .logo img { height: 18px; }
  .mainnav ul { gap: 0 16px; }
  .mainnav a { font-size: .68rem; letter-spacing: .1em; padding: 12px 0 10px; }
}
/* Phones: the menu stays one row and scrolls sideways */
@media (max-width: 640px) {
  .brandbar .wrap { justify-content: flex-start; }
  .brandbar .logo img { height: auto; width: min(215px, 56vw); }
  .brandbar .logo img.ar-logo { height: 30px; width: auto; }
  .tools { gap: 5px; }
  .tool { height: 32px; min-width: 32px; padding: 0 7px; }
  .tool.li { padding: 0 7px; }
  .tool svg { width: 16px; height: 16px; }
  .tool.li .li-text { display: none; }
  .tool.li .li-icon { display: block; }
  .lang { height: 32px; padding: 0 7px; min-width: 32px; justify-content: center; }
  .lang svg { width: 16px; height: 16px; }
  .lang .short { display: none; }
  .lang-menu.open .lang-drop { display: block; }
  .lang-menu.open .lang { background: #fff; color: var(--blue); }
  .mainnav .wrap { padding: 0; display: block; position: relative; }
  .mainnav .wrap::after { content: ""; position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
  .mainnav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 0 22px; padding: 0; padding-inline: var(--gutter) 36px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mainnav ul::-webkit-scrollbar { display: none; }
  .mainnav a { font-size: .7rem; padding: 13px 0 11px; }
}

/* ---------- Home hero: full-width picture, text over a dark fade ---------- */
.hero {
  --hero-fade: rgba(11,32,52,.90) 0%, rgba(11,32,52,.80) 34%, rgba(11,32,52,.32) 56%, rgba(11,32,52,0) 78%;
  --hero-fade-l: rgba(242,239,232,.84) 0%, rgba(242,239,232,.66) 34%, rgba(242,239,232,.22) 56%, rgba(242,239,232,0) 74%;
  position: relative; display: flex; align-items: center; min-height: clamp(520px, 64vh, 660px); color: #fff;
  background-color: #0b2034; overflow: hidden; transition: background-color 1.2s ease;
}
.hero[data-tone="light"] { background-color: #efece4; }
.hero-copy { width: 100%; }
.hero-copy .inner { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); padding-block: 64px 84px; }
.hero-copy .inner > * { max-width: 640px; }
.hero-copy .inner > h1 { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .lead { max-width: 30em; font-size: 1.22rem; color: rgba(255,255,255,.94); text-shadow: 0 1px 14px rgba(11,32,52,.85); }
/* rotating headline: the lines are stacked in one cell so the page does not jump as they change */
.hero h1.slogans { display: grid; align-items: start; font-size: clamp(2.7rem, 4.2vw, 4.2rem); line-height: 1.06; margin-bottom: .5em; text-shadow: 0 2px 18px rgba(11,32,52,.55); }
.slogans span { grid-area: 1 / 1; text-wrap: balance; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease; }
.slogans span.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .slogans span { transition: none; transform: none; } }
.hero .actions { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 12px; margin-top: 26px; }
.hero .actions .btn { justify-content: center; white-space: nowrap; }
.hero .actions .btn.solid { grid-column: 1 / -1; justify-self: start; }
.hero .actions .btn:not(.solid) { padding-inline: 18px; letter-spacing: .13em; color: #fff; border-color: rgba(255,255,255,.75); background: rgba(11,32,52,.35); }
.hero .actions .btn:not(.solid):hover { background: #fff; border-color: #fff; color: var(--blue); }
@media (max-width: 480px) { .hero .actions { grid-template-columns: 1fr; justify-content: stretch; } .hero .actions .btn.solid { justify-self: stretch; } }
.hero-places { position: absolute; inset-inline: 0; bottom: 22px; margin: 0 auto; max-width: var(--wrap); padding-inline: var(--gutter); font-family: var(--display); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); }
/* phones and tablets: the picture becomes a strip under the buttons */
@media (max-width: 980px) {
  .hero {
    --hh: clamp(400px, 60vw, 560px); --hero-fade-v: #0b2034 0, #0b2034 calc(100% - var(--hh)), rgba(11,32,52,.55) calc(100% - var(--hh) * .75), rgba(11,32,52,0) calc(100% - var(--hh) * .54);
    min-height: 0; align-items: flex-start;
    --hero-fade-vl: #efece4 0, #efece4 calc(100% - var(--hh)), rgba(239,236,228,.6) calc(100% - var(--hh) * .75), rgba(239,236,228,0) calc(100% - var(--hh) * .54);
  }
  .hero-copy .inner { padding-block: 40px calc(var(--hh) * .59); }
  .hero h1.slogans { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero-places { display: none; }
}
.hero-band { background: var(--blue); color: #fff; }
.hero-band .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 32px); padding-top: 26px; padding-bottom: 26px; }
.hero-band img { height: clamp(28px, 2.4vw, 38px); width: auto; flex: none; }
.hero-band p { margin: 0; font-size: clamp(1.1rem, 1.55vw, 1.5rem); line-height: 1.4; color: rgba(255,255,255,.94); border-inline-start: 1px solid rgba(255,255,255,.3); padding-inline-start: clamp(18px, 2.2vw, 32px); }

/* ---------- Stats ---------- */
.stats { background: var(--mist); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.stats li { padding: 44px 24px 40px; text-align: center; border-inline-start: 1px solid var(--line); }
.stats li:first-child { border-inline-start: 0; }
.stats .num { display: block; font-variant-numeric: tabular-nums; font-family: var(--sans); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--orange); letter-spacing: -.02em; }
.stats .lbl { display: block; margin-top: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
@media (max-width: 760px) { .stats ul { grid-template-columns: repeat(2, 1fr); } .stats li:nth-child(odd) { border-inline-start: 0; } .stats li:last-child { grid-column: 1 / -1; } .stats li { border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--blue-deep); color: rgba(255,255,255,.88); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead { color: rgba(255,255,255,.78); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Practice teaser cards (diagonal, as in the brand mockup) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.pcard {
  position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pcard::after {
  content: ""; position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; height: 52%;
  background: linear-gradient(135deg, transparent 50%, var(--steel-soft) 50%); transition: background .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.pcard:hover::after { background: linear-gradient(135deg, transparent 50%, var(--steel) 50%); }
.pcard .no { font-family: var(--display); font-size: .66rem; letter-spacing: .2em; color: var(--steel); }
.pcard h3 { margin: 0 0 12px; font-size: 1.5rem; }
.pcard p { font-size: .95rem; color: var(--muted); margin: 0; position: relative; z-index: 1; max-width: 26em; }
.pcard .go { margin-top: auto; padding-top: 22px; position: relative; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); }

/* ---------- Person cards ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1040px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .people-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 440px) { .people-grid { grid-template-columns: 1fr; } }
@media (min-width: 1041px) { .people-grid.five { grid-template-columns: repeat(5, 1fr); gap: 20px; } }

.person { display: flex; flex-direction: column; background: #fff; text-align: start; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: none; }
.person:hover { color: inherit; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 70%);
  display: grid; place-items: center;
}
.portrait.alt { background: linear-gradient(160deg, var(--steel) 0%, #5f8aa1 100%); }
.portrait img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.portrait .initials { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); color: rgba(255,255,255,.92); letter-spacing: .02em; position: relative; }
.portrait .mark { position: absolute; inset-inline-start: 18px; bottom: 18px; width: 52px; height: auto; opacity: .5; }
.portrait::after {
  content: ""; position: absolute; inset-inline-end: 0; top: 0; width: 38%; height: 30%;
  background: linear-gradient(225deg, rgba(255,109,45,.95) 0 18%, transparent 18%);
}
.person .meta { padding: 18px 2px 6px; }
.person .name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; margin: 0 0 6px; }
.person .role { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 8px; }
.person .focus { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.person .more { margin-top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.person:hover .portrait { filter: brightness(1.08); }
.person:hover .name { color: var(--blue); }

.group-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin: 0 0 32px; }
.group-title h2 { font-size: 1.9rem; margin: 0; }
.group-title span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.people-group + .people-group { margin-top: 80px; }

/* ---------- Inner page hero ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--mist); min-height: clamp(294px, 20.4vw, 320px); }
.page-hero .title {
  background: var(--steel); color: #fff; position: relative;
  padding-block: 40px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) calc(12% + 16px);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero .title .kicker { color: #fff; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); overflow-wrap: normal; hyphens: manual; }
.page-hero .intro { padding-block: 40px; padding-inline: clamp(24px, 4vw, 56px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; align-items: center; }
.page-hero .intro p { margin: 0; font-size: 1.15rem; line-height: 1.6; color: var(--ink); max-width: 40em; }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .title { clip-path: none; padding-inline-end: var(--gutter); }
  .page-hero .intro { padding: 36px var(--gutter) 44px; }
}

/* ---------- About ---------- */
.prose p { font-size: 1.05rem; }
.prose h3 { margin-top: 1.6em; }
.pull {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--blue);
  border-inline-start: 3px solid var(--orange); padding-inline-start: 28px; margin: 0;
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.25); }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 36px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 87px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.timeline .yr { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: #fff; }
.timeline h3 { font-size: 1.25rem; margin: 0 0 6px; }
.timeline p { margin: 0; font-size: .97rem; color: rgba(255,255,255,.78); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 32px 22px 8px; border-inline-start: 1px solid var(--line); }
.values > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.values .no { font-family: var(--display); color: var(--orange); font-size: .7rem; letter-spacing: .2em; }
.values h3 { margin: 0 0 10px; }
.values p { color: var(--muted); font-size: .94rem; }
@media (max-width: 1000px) {
  .values { grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
  .values > div, .values > div:first-child { padding: 28px 0 8px; border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.section.dark .chips li { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }

/* ---------- Practice Areas page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter button {
  font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 13px 20px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; border-radius: var(--radius);
}
.filter button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }

.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
@media (max-width: 960px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pa-grid { grid-template-columns: 1fr; } }
.pa-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pa-card[hidden] { display: none; }
.pa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.pa-card .ph { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-soft); }
.pa-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pa-card:hover .ph img { transform: scale(1.04); }
.pa-card .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34%; background: linear-gradient(to top left, #fff 49.6%, transparent 50.4%); }
.pa-card .ph::before { content: ""; position: absolute; inset-inline-end: 0; top: 0; width: 22%; height: 30%; z-index: 1; background: linear-gradient(225deg, rgba(255,109,45,.95) 0 18%, transparent 18%); }
.pa-card .body { display: flex; flex-direction: column; flex: 1; padding: 6px 26px 24px; }
.pa-card .tag { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); }
.pa-card .t { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin: 8px 0 10px; }
.pa-card .d { font-size: .93rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pa-card .go { margin-top: auto; padding-top: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pa-card:hover .t { color: var(--blue); }

/* Practice detail page */
.page-hero .title .kicker { display: block; }
.page-hero .title .kicker a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.practice-photo { margin: 0 0 40px; position: relative; max-width: 720px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-soft); clip-path: polygon(0 0, 100% 0, 100% 78%, 86% 100%, 0 100%); }
.practice-photo img { width: 100%; height: 100%; object-fit: cover; }
.practice-photo::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 6px; height: 100%; background: var(--orange); z-index: 1; }
.practice-main .prose { max-width: 720px; }
.practice-main h2 { font-size: 1.7rem; margin: 1.4em 0 .5em; }
.practice-main h2:first-child { margin-top: 0; }
.practice-mail { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); color: var(--muted); }
.practice-side { position: sticky; top: 150px; border-top: 3px solid var(--blue); padding-top: 22px; }
.practice-side h2 { font-family: var(--display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.practice-side ul { list-style: none; margin: 0 0 24px; padding: 0; }
.practice-side li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.practice-side li a:hover { color: var(--blue); }
.practice-side li a[aria-current="page"] { color: var(--orange-dark); font-weight: 700; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 28px; }
.pager a { text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.pager a span { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 8px; }
.pager a.next { text-align: end; }
.pager a:hover { color: var(--blue); }
@media (max-width: 900px) { .practice-layout { grid-template-columns: 1fr; } .practice-side { position: static; } }

/* ---------- Profile page ---------- */
.profile-hero { background: var(--mist); padding: 36px 0 0; }
.crumbs { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.crumbs a { color: var(--orange-dark); text-decoration: none; }
.profile-top { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.profile-portrait { margin-bottom: -40px; box-shadow: var(--shadow); }
.profile-top h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 12px; }
.profile-top .role { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 14px; }
.profile-top .mail { margin: 0 0 18px; font-size: 1.05rem; word-break: break-word; }
.profile-top .mail:has(+ .mail) { margin-bottom: 6px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.profile-actions a { display: inline-flex; align-items: center; border: 1px solid var(--blue); color: var(--blue); padding: 9px 16px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.profile-actions a:hover, .profile-actions a:focus-visible { background: var(--blue); color: #fff; }
.posts-empty { margin: 0; color: var(--muted); font-size: 1.05rem; }
[dir="rtl"] .profile-actions a { font-size: .95rem; letter-spacing: 0; }
.profile-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); padding-top: 40px; align-items: start; }
.profile-body h2 { font-family: var(--display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dark); margin: 30px 0 12px; }
.profile-body h2:first-child { margin-top: 0; }
/* One line under each heading; no lines between the entries */
.profile-facts ul { margin: 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.profile-facts li { padding: 5px 0; font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) {
  .profile-top { grid-template-columns: 1fr; align-items: start; }
  .profile-portrait { width: 180px; margin-bottom: 0; }
  .profile-top .mail { margin-bottom: 16px; }
  .profile-actions { margin-bottom: 32px; }
  .profile-body { grid-template-columns: 1fr; padding-top: 0; }
}

/* Home page card sliders */
.slider-bar { display: flex; justify-content: flex-end; margin: -8px 0 18px; }
.card-slider { padding-top: 6px; }
.card-slider .pcard { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.card-slider .pcard p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .card-slider .pcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .card-slider .pcard { flex-basis: 84%; } }
.scroller-nav button:disabled { opacity: .3; cursor: default; }
.scroller-nav button:disabled:hover { background: transparent; color: var(--blue); }

/* Our People scroller */
.scroller-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.scroller-head h2 { margin: 0; }
.scroller-nav { display: flex; gap: 10px; flex: none; }
.scroller-nav button { width: 48px; height: 48px; border: 2px solid var(--blue); background: transparent; color: var(--blue); font-size: 1.2rem; line-height: 1; cursor: pointer; border-radius: var(--radius); transition: background .2s, color .2s; }
.scroller-nav button:hover { background: var(--blue); color: #fff; }
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; }
.scroller .person { flex: 0 0 210px; scroll-snap-align: start; background: transparent; }
.scroller .person .name { font-size: 1.15rem; }
.scroller .person .focus { display: none; }
@media (max-width: 560px) { .scroller .person { flex-basis: 160px; } }

/* ---------- International ---------- */
.map-panel { position: relative; background: var(--blue-ink); color: #3e6e8e; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.map-panel img { width: 100%; height: auto; opacity: .7; }
.map-panel .map { margin-bottom: 40px; }
.map-panel .pulse { z-index: 2; }
.map-legend { position: absolute; inset-inline-start: clamp(28px, 4vw, 56px); bottom: clamp(20px, 3vw, 40px); display: flex; gap: 24px; flex-wrap: wrap; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.8); }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 8px; vertical-align: -1px; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.18); }
.figures div { padding: 28px 24px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.figures div:first-child { border-inline-start: 0; }
.figures b { display: block; font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--orange); }
.figures span { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 700; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr 1fr; } .figures div:nth-child(3) { border-inline-start: 0; } .figures div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); } }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .feature-list { grid-template-columns: 1fr; } }
.feature { border-top: 3px solid var(--blue); padding-top: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .97rem; }
.feature ul { margin: 0; padding-inline-start: 1.1em; color: var(--muted); font-size: .95rem; }
.feature li { margin-bottom: 5px; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.creds div { background: #fff; padding: 30px 28px; }
.creds .who { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 6px; }
.creds .what { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } }

/* IR Global mark, who-we-serve grid */
.irg-logo { display: inline-block; margin-bottom: 26px; }
.irg-logo img { display: block; height: 84px; width: auto; }
@media (max-width: 600px) { .irg-logo img { height: 64px; } }
.serve { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 28px; }
.serve .feature { grid-column: span 2; }
.serve .feature:nth-child(n+4) { grid-column: span 3; }
.serve .no { font-family: var(--display); color: var(--orange); font-size: .7rem; letter-spacing: .2em; display: block; margin-bottom: 12px; }
@media (max-width: 900px) { .serve { grid-template-columns: 1fr; } .serve .feature, .serve .feature:nth-child(n+4) { grid-column: auto; } }

/* ---------- Insights ---------- */
.posts { border-top: 1px solid var(--line); }
.insight-cols .posts { border-top: 0; display: grid; gap: 40px; }
.insight-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.insight-cols .col-head { margin-bottom: 28px; }
.insight-cols .col-head h2 { margin: 0 0 12px; }
.insight-cols .col-head p:last-child { color: var(--muted); margin: 0; }
.insight-cols .post { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
.insight-cols .post .when { flex-direction: row; align-items: baseline; gap: 16px; }
.insight-cols .posts-empty { padding: 32px 0; }
@media (max-width: 860px) { .insight-cols { grid-template-columns: 1fr; } }
.post { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 48px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.post .when { display: flex; flex-direction: column; gap: 10px; }
.post .cat { font-family: var(--display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dark); }
.post time { font-size: .9rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.post h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 12px; }
.post p { margin: 0; max-width: 46em; }
@media (max-width: 760px) { .post { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding: 10px 0; padding-inline-start: 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 19px; width: 12px; height: 2px; background: var(--orange); }
.apply { background: #fff; border-top: 4px solid var(--orange); padding: 36px 34px 30px; }
.apply h3 { font-size: 1.9rem; margin: 8px 0 14px; }
.apply .big { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); word-break: break-word; }
.apply .small { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list dt, .contact-list dd { padding: 10px 0; margin: 0; }
.contact-list { padding-top: 8px; }
.contact-list dt { padding-inline-end: 18px; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 20px; }
.contact-list dd { font-size: 1.05rem; word-break: break-word; }
.contact-offices { display: grid; gap: 24px; }
.contact-offices .office h2 { font-size: 1.8rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list { grid-template-columns: 1fr; } .contact-list dt { border-bottom: 0; padding-bottom: 0; } .contact-list dd { padding-top: 6px; } }

/* ---------- Locations ---------- */
.egypt-map { background: var(--mist); border: 1px solid var(--line); position: relative; }
.map-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.map-split h2 { margin-bottom: 18px; }
.map-split .egypt-map { max-width: 620px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .map-split { grid-template-columns: 1fr; } .map-split .egypt-map { justify-self: start; } }
.egypt-map svg { width: 100%; height: auto; }
.egypt-map .sea { fill: #E4EDF2; }
.egypt-map .nb { fill: #F7F9FA; stroke: #CBD8DF; stroke-width: 1; }
.egypt-map .eg { fill: #fff; stroke: var(--steel); stroke-width: 1.5; }
.egypt-map .pin circle.dot { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.egypt-map .pin.hq circle.dot, .egypt-map .pin.office circle.dot { fill: var(--orange); }
.egypt-map .pin circle.halo { fill: var(--orange); opacity: .18; }
.egypt-map .pin text { font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.egypt-map .pin text.sub { font-weight: 400; font-size: 18px; letter-spacing: .04em; text-transform: none; fill: var(--muted); }
.egypt-map .canal { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.egypt-map .water.small { font-size: 15px; }
.egypt-map .water { font-family: var(--serif); font-style: italic; font-size: 20px; fill: #7f9cad; letter-spacing: .06em; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }
.office { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.office .top { padding: 34px 32px 26px; border-top: 4px solid var(--orange); }
.office .top .label { font-family: var(--display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dark); }
.office h2 { font-size: 2.1rem; margin: 10px 0 18px; }
.office address { font-style: normal; line-height: 1.7; margin-bottom: 20px; }
.office dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 22px; font-size: .96rem; }
.office dt { font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.office dd { margin: 0; }
.office iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.35); margin-top: auto; background: var(--steel-soft); }
/* The map sits 165px higher than its frame, so Google's place card is out of view; the whole map opens Google Maps */
.office-map { position: relative; height: 300px; overflow: hidden; margin-top: auto; background: var(--steel-soft); }
.office-map iframe { position: absolute; left: 0; top: -165px; height: 465px; margin: 0; pointer-events: none; }
.office-map .map-cover { position: absolute; inset: 0; z-index: 2; }
.office-map .map-open { position: absolute; top: 14px; inset-inline-start: 14px; background: #fff; color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 9px 13px; box-shadow: 0 6px 18px -8px rgba(15,43,64,.5); }
.office-map .map-cover:hover .map-open, .office-map .map-cover:focus-visible .map-open { background: var(--blue); color: #fff; }
[dir="rtl"] .office-map .map-open { letter-spacing: 0; font-size: .85rem; }
.reps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reps div { padding: 26px 26px 22px; background: #fff; border-inline-start: 3px solid var(--blue); }
.reps h3 { margin: 0 0 6px; font-size: 1.4rem; }
.reps p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .reps { grid-template-columns: 1fr; } }

/* ---------- Bands ---------- */
.band-intl { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.band-intl .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.band-intl h2 { color: #fff; }
.band-intl p { color: rgba(255,255,255,.85); }
.band-intl .mini-map img { opacity: .45; width: 100%; }
@media (max-width: 860px) { .band-intl .wrap { grid-template-columns: 1fr; } }
.cta { background: var(--mist); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 18em; }

.office-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office-teaser > div { padding: 30px; background: #fff; border-top: 3px solid var(--orange); }
.office-teaser h3 { margin: 6px 0 10px; }
.office-teaser address { font-style: normal; color: var(--muted); font-size: .96rem; line-height: 1.65; }
@media (max-width: 700px) { .office-teaser { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: rgba(255,255,255,.82); font-size: .88rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-top { display: grid; grid-template-columns: .9fr 1.1fr 1.1fr 1.5fr; gap: 28px 36px; padding-top: 38px; padding-bottom: 28px; }
.footer-top .brand img { display: block; }
.footer-top .brand img.icon { height: 32px; width: auto; }
.footer-top .brand img.en-logo { width: min(100%, 220px); height: auto; opacity: .9; margin-top: 18px; }
.footer-top .brand img.ar { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-top: 12px; }
.footer-top .brand img.irg { width: 150px; height: auto; margin-top: 20px; }
.footer-top h2 { font-family: var(--display); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; font-weight: 700; }
.footer-top address { font-style: normal; line-height: 1.55; }
.footer-top p { margin: 0; line-height: 1.55; }
.footer-top ul { list-style: none; margin: 0; padding: 0; line-height: 1.75; columns: 2; column-gap: 24px; }
.footer-top ul li { break-inside: avoid; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px) { .footer-top ul li { white-space: normal; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 12px; padding-bottom: 14px; flex-wrap: wrap; font-size: .78rem; }
.footer-bottom .tag { font-family: var(--serif); letter-spacing: .5em; text-transform: uppercase; color: var(--orange); font-size: .8rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }


/* ---------- Legal notices (Disclaimer, Privacy Notice, Terms of Use) ---------- */
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .86rem; }
.footer-bottom .legal-links span { color: rgba(255,255,255,.4); }
.footer-bottom .legal-links a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.footer-bottom .legal-links a:hover, .footer-bottom .legal-links a:focus-visible { color: #fff; text-decoration: underline; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 1em; padding-inline-start: 1.3em; }
.legal li { margin-bottom: .35em; font-size: 1.05rem; }
.legal a { color: var(--blue); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; vertical-align: top; }
.legal th { background: var(--mist); font-weight: 700; }
[dir="rtl"] .legal h2 { font-size: 1.45rem; line-height: 1.5; }
@media print { .footer-bottom .legal-links { display: none; } }
\n/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .hero-places, .filter, .scroller-nav { display: none !important; }
  .hero, [dir="rtl"] .hero { background: none !important; min-height: 0; color: var(--ink); }
  .hero h1, .hero .lead { color: var(--ink) !important; text-shadow: none !important; }
  .hero .actions { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   Arabic edition (right-to-left). Loaded on pages under /ar/.
   ============================================================ */
/* IBM Plex Sans Arabic (SIL Open Font License 1.1), self-hosted */
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Arabic-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Arabic-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Arabic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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; }
html[dir="rtl"] {
  --serif: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .person .name, [dir="rtl"] .pa-card .t,
[dir="rtl"] .pager a, [dir="rtl"] .timeline .yr, [dir="rtl"] .creds .who, [dir="rtl"] .apply .big { font-weight: 500; }
[dir="rtl"] * { letter-spacing: 0 !important; }
/* Arabic reads smaller than Latin at the same size: scale the whole page up */
html[dir="rtl"] { font-size: 112.5%; }
@media (min-width: 1500px) { html[dir="rtl"] { font-size: 118.75%; } }
[dir="rtl"] body { font-size: 1.12rem; line-height: 1.9; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.4; }
[dir="rtl"] h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
[dir="rtl"] .hero h1, [dir="rtl"] .hero h1.slogans { font-size: clamp(2.4rem, 3.7vw, 3.6rem); line-height: 1.3; }
[dir="rtl"] .hero-copy .inner > * { max-width: 600px; }
[dir="rtl"] .hero-copy .inner > h1 { max-width: 860px; }
@media (max-width: 980px) {
  [dir="rtl"] .hero h1, [dir="rtl"] .hero h1.slogans { font-size: clamp(1.85rem, 8vw, 2.6rem); }
}
[dir="rtl"] .page-hero h1, [dir="rtl"] .profile-top h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
[dir="rtl"] h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
[dir="rtl"] .lead, [dir="rtl"] .page-hero .intro p { line-height: 1.85; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] [dir="ltr"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* small labels: Arabic needs more size than Latin capitals */
[dir="rtl"] .kicker, [dir="rtl"] .mainnav a, [dir="rtl"] .btn, [dir="rtl"] .textlink, [dir="rtl"] .stats .lbl,
[dir="rtl"] .person .role, [dir="rtl"] .person .more, [dir="rtl"] .pcard .go, [dir="rtl"] .pa-card .go, [dir="rtl"] .pa-card .tag,
[dir="rtl"] .figures span, [dir="rtl"] .office .top .label, [dir="rtl"] .office dt, [dir="rtl"] .contact-list dt,
[dir="rtl"] .footer-top h2, [dir="rtl"] .crumbs, [dir="rtl"] .profile-top .role, [dir="rtl"] .profile-body h2,
[dir="rtl"] .practice-side h2, [dir="rtl"] .pager a span, [dir="rtl"] .post .cat, [dir="rtl"] .map-legend,
[dir="rtl"] .footer-bottom .tag, [dir="rtl"] .group-title span, [dir="rtl"] .hero-places,
[dir="rtl"] .mainnav .drop p a { font-size: .95rem; }
[dir="rtl"] .mainnav a { font-size: 1rem; padding-top: 12px; padding-bottom: 10px; }
[dir="rtl"] .mainnav .drop li a { font-size: 1.02rem; }
[dir="rtl"] .profile-body h2, [dir="rtl"] .practice-side h2 { font-size: 1.05rem; }
[dir="rtl"] .portrait .initials { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }
/* mirrored diagonals */
[dir="rtl"] .page-hero .title { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); }
[dir="rtl"] .pcard::after { background: linear-gradient(225deg, transparent 50%, var(--steel-soft) 50%); }
[dir="rtl"] .pcard:hover::after { background: linear-gradient(225deg, transparent 50%, var(--steel) 50%); }
[dir="rtl"] .portrait::after, [dir="rtl"] .pa-card .ph::before { background: linear-gradient(135deg, rgba(255,109,45,.95) 0 18%, transparent 18%); }
[dir="rtl"] .pa-card .ph::after { background: linear-gradient(to top right, #fff 49.6%, transparent 50.4%); }
[dir="rtl"] .practice-photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%, 0 78%); }
[dir="rtl"] .egypt-map svg { direction: ltr; }
[dir="rtl"] .egypt-map .water { font-style: normal; }
@media (max-width: 860px) { [dir="rtl"] .page-hero .title { clip-path: none; } }
@media (max-width: 640px) { [dir="rtl"] .mainnav .wrap::after { background: linear-gradient(270deg, rgba(255,255,255,0), #fff); } }
@media (max-width: 1240px) { [dir="rtl"] .mainnav a { font-size: .95rem; } }
[dir="rtl"] .kicker, [dir="rtl"] .office .top .label, [dir="rtl"] .post .cat, [dir="rtl"] .footer-top h2, [dir="rtl"] .footer-bottom .tag { font-size: 1.15rem; }
[dir="rtl"] .hero-places { font-size: 1.1rem; }
[dir="rtl"] .pcard .no, [dir="rtl"] .values .no { font-family: Arial, sans-serif; }
[dir="rtl"] .kicker, [dir="rtl"] .profile-body h2, [dir="rtl"] .practice-side h2, [dir="rtl"] .office .top .label, [dir="rtl"] .post .cat { font-size: 1.3rem; }
[dir="rtl"] .footer-top h2, [dir="rtl"] .footer-bottom .tag, [dir="rtl"] .crumbs { font-size: 1.2rem; }
[dir="rtl"] .hero-band p { font-size: clamp(1.05rem, 1.35vw, 1.3rem); }

/* shown in place of an embedded map when the page it sits in does not allow the map to load */
.map-fallback { margin-top: auto; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 20px; text-align: center; background: var(--mist); border-top: 1px solid var(--line); }
.map-fallback[hidden] { display: none; }
.map-fallback p { margin: 0; color: var(--muted); }

/* ---------- Top-bar tools and site search ---------- */
@media (max-width: 1180px) and (min-width: 641px) { .brandbar .wrap { justify-content: flex-start; } }
@media (max-width: 900px) and (min-width: 641px) { .brandbar .logo img { height: 17px; } .brandbar .logo img.ar-logo { height: 32px; } }
@media (max-width: 760px) and (min-width: 641px) { .tool.text { display: none; } }
.search-panel { position: absolute; top: 100%; inset-inline-end: var(--gutter); width: min(540px, calc(100vw - 2 * var(--gutter))); background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--orange); box-shadow: 0 18px 40px rgba(16, 42, 64, .22); z-index: 60; }
.search-panel[hidden] { display: none; }
.search-field { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 16px 18px; font: inherit; font-size: 1.05rem; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-close { flex: none; width: 46px; align-self: stretch; border: 0; border-inline-start: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.search-close:hover { color: var(--orange-dark); }
.search-msg { margin: 0; padding: 14px 18px; color: var(--muted); font-size: .92rem; }
.search-msg:empty { display: none; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 460px); overflow-y: auto; }
.search-results a { display: block; padding: 13px 18px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.search-results li:first-child a { border-top: 0; }
.search-results a:hover, .search-results a:focus { background: var(--mist); outline: 0; }
.search-results strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--blue); margin-bottom: 3px; }
.search-results span { display: block; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.search-results mark { background: rgba(255, 109, 45, .2); color: inherit; padding: 0 1px; }
[dir="rtl"] .tool, [dir="rtl"] .lang { font-size: .85rem; }
@media print { .tools, .search-panel { display: none !important; } }
@media (max-width: 360px) { .brandbar .logo img { width: 48vw; } .brandbar .logo img.ar-logo { height: 24px; width: auto; } .tools { gap: 6px; } }
[dir="rtl"] .search-results strong { font-size: 1.3rem; }
.group-note { margin: 0; max-width: 46em; font-size: 1.1rem; line-height: 1.7; color: var(--ink); }
.footer-top .legal-h { margin-top: 22px; }
.footer-top ul.legal-list { columns: 1; }
.footer-bottom .wrap { padding-bottom: 28px; }
/* Preview only (claude.ai viewer): keep the last footer line clear of the viewer's edge */
.framed .site-footer { padding-bottom: 140px; }
/* Insights: linked cards and item pages */
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover, .post h3 a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.post .post-more { margin-top: 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin: 0; }
.article-meta .cat { font-family: var(--display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dark); }
.article-meta .cat-sub { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-deep); padding: 3px 10px; border: 1px solid var(--blue); border-radius: 999px; }
.article-meta time { font-weight: 700; color: var(--ink); }
.article .prose { max-width: 760px; }
.article .prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.article .prose .lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.article-facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 32px 0; padding: 24px 28px; background: var(--mist); border-inline-start: 4px solid var(--orange); }
.article-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.article-facts dd { margin: 0; }
.article-contact { color: var(--muted); }
@media (max-width: 560px) { .article-facts { grid-template-columns: 1fr; gap: 4px; } .article-facts dd { margin-bottom: 10px; } }
[dir="rtl"] .article-meta .cat { font-size: 1.1rem; letter-spacing: 0; }
[dir="rtl"] .article-facts dt { font-size: 1rem; letter-spacing: 0; }
.page-hero .title .band-title { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.08; color: #fff; }
.page-hero .title .band-title a { color: #fff; text-decoration: none; border: 0; }
.page-hero .intro h1.article-title { color: var(--ink); margin: 14px 0 0; font-size: clamp(1.8rem, 2.9vw, 2.6rem); line-height: 1.15; max-width: 22em; }
/* a section that continues the one above it (e.g. the Associates note under the team list) */
.section.cont { padding-top: 0; margin-top: calc(80px - clamp(64px, 9vw, 120px)); }
/* pictures added through the admin page */
.content-image { margin: 0 auto; }
.content-image img { width: 100%; height: auto; display: block; }
.content-image figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.portrait.has-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: none; }
.nw { white-space: nowrap; }

/* Insights: each item inside a thin H&A blue frame */
.post.post-framed { display: block; padding: 4px; border: 0; margin: 0;
  background: radial-gradient(120% 90% at 15% 10%, rgba(129,168,188,.55), transparent 60%),
              radial-gradient(90% 80% at 90% 100%, rgba(15,43,64,.55), transparent 60%),
              linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); transition: box-shadow .25s, transform .25s; }
.post.post-framed:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-framed .sheet { background: #fff; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.8vw, 36px); height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.post-framed .when { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.post-framed h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.post-framed .sheet > p:not(.post-more) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-framed .post-more { margin-top: auto; padding-top: 16px; }
.insight-cols .posts { border-top: 0; display: grid; gap: 40px; }
.posts .post.is-later { display: none; }
.posts-more { margin: 32px 0 0; }
.btn-more { font-family: var(--display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); background: #fff; border: 1px solid var(--blue); padding: 14px 26px; cursor: pointer; transition: background .2s, color .2s; }
.btn-more:hover, .btn-more:focus-visible { background: var(--blue); color: #fff; }
.posts.posts-row { border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }

/* ---------- Home pictures: two moving scenes shown as slides ---------- */
.hero-copy, .hero-places { position: relative; z-index: 2; }
.hero-places { position: absolute; }
.hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity 1.2s ease; }
.hero-fade.fd { background: linear-gradient(90deg, var(--hero-fade)); }
.hero-fade.fl { background: linear-gradient(90deg, var(--hero-fade-l)); opacity: 0; }
[dir="rtl"] .hero-fade.fd { background: linear-gradient(270deg, var(--hero-fade)); }
[dir="rtl"] .hero-fade.fl { background: linear-gradient(270deg, var(--hero-fade-l)); }
.hero[data-tone="light"] .hero-fade.fd { opacity: 0; }
.hero[data-tone="light"] .hero-fade.fl { opacity: 1; }
.hero h1, .hero .lead, .hero-places, .hero .actions .btn:not(.solid) { transition: color 1s ease, text-shadow 1s ease, border-color 1s ease, background-color 1s ease; }
.hero[data-tone="light"] h1 { color: var(--blue-deep); text-shadow: 0 1px 18px rgba(242,239,232,.9); }
.hero[data-tone="light"] .lead { color: var(--ink); text-shadow: 0 1px 12px rgba(242,239,232,.95); }
.hero[data-tone="light"] .hero-places { color: var(--blue-deep); }
.hero[data-tone="light"] .actions .btn:not(.solid) { color: var(--blue-deep); border-color: rgba(23,64,94,.6); background: rgba(255,255,255,.55); }
.hero[data-tone="light"] .actions .btn:not(.solid):hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.hero-scenes { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s ease; }
.hero-scene.is-on { opacity: 1; }
.hero-scene:not(.is-on), .hero-scene:not(.is-on) * { animation-play-state: paused !important; }
.hs-stage { position: absolute; right: 0; top: 62%; transform: translateY(-62%); aspect-ratio: 2400 / 1350; min-width: 100%; min-height: 100%; }
[dir="rtl"] .hs-stage { right: auto; left: 0; }
.hs-flip, .hs-zoom { position: absolute; inset: 0; }
[dir="rtl"] .hs-flip { transform: scaleX(-1); }
.hs-l { position: absolute; display: block; max-width: none; }
img.hs-l { height: auto; }
.hs-l img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.hero-dots { position: absolute; z-index: 3; bottom: 18px; inset-inline-end: var(--gutter); display: flex; gap: 10px; }
.hero-dot { width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); background: transparent; cursor: pointer; transition: background-color .3s, border-color .3s; }
.hero-dot::after { content: ""; display: block; width: 33px; height: 33px; margin: -11.5px; }
.hero-dot.on, .hero-dot:hover { background: var(--orange); border-color: var(--orange); }
.hero[data-tone="light"] .hero-dot:not(.on) { border-color: var(--blue-deep); }
@media (max-width: 980px) {
  .hero-fade.fd, [dir="rtl"] .hero-fade.fd { background: linear-gradient(180deg, var(--hero-fade-v)); }
  .hero-fade.fl, [dir="rtl"] .hero-fade.fl { background: linear-gradient(180deg, var(--hero-fade-vl)); }
  .hero-scenes { top: auto; height: var(--hh); }
  .hs-stage { right: auto; top: auto; bottom: 0; left: 98%; transform: translateX(-98%); }
  [dir="rtl"] .hs-stage { left: 2%; transform: translateX(-2%); }
  .hero-dots { bottom: 14px; }
}

/* always-on gentle movement */
.hs-clouds { overflow: hidden; }
.hs-clouds-track { position: absolute; inset: 0 auto 0 0; width: 200%; background-repeat: repeat-x; background-size: 50% 100%; animation: hs-drift 200s linear infinite; }
.hs-glints .b, .hs-waves .b { opacity: 0; }
.hs-glints .a { animation: hs-fade-a 4.6s ease-in-out infinite; }
.hs-glints .b { animation: hs-fade-b 4.6s ease-in-out infinite; }
.hs-waves .a { animation: hs-fade-a 9s ease-in-out infinite; }
.hs-waves .b { animation: hs-fade-b 9s ease-in-out infinite; }
.hs-waves { animation: hs-sway 26s ease-in-out infinite alternate; }
.hs-ship { transform-origin: 50% 80%; animation: hs-bob 7s ease-in-out infinite; }
.hs-fel img { transform-origin: 50% 90%; animation: hs-rock 4.8s ease-in-out infinite; }
.hs-fel2 img { animation-duration: 3.9s; animation-delay: -1.6s; }
.hs-grain { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23g)'/%3E%3C/svg%3E"); opacity: .1; }
.hs-lamp { opacity: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,190,1) 0, rgba(255,200,120,.55) 22%, rgba(255,170,90,0) 68%); }
.hs-birds { opacity: 0; overflow: visible; }
.hs-birds path { fill: none; stroke: #173957; stroke-width: 2.6; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; animation: hs-flap .55s ease-in-out infinite alternate; }
.hs-b .hs-birds path { stroke: #3d4450; stroke-width: 2; }
.hs-bird { animation: hs-fly linear infinite; }
.hs-dawn { opacity: 0; pointer-events: none; }
.hs-a .hs-dawn { background: linear-gradient(180deg, rgba(5,14,30,.88) 0%, rgba(8,22,42,.72) 55%, rgba(8,24,44,.6) 100%); }
.hs-b .hs-dawn { background: #9fb2c3; mix-blend-mode: multiply; }
/* the light drawing: the sun and its glow are washes laid over the paper */
.hs-sunclip { overflow: hidden; mix-blend-mode: multiply; }
.hs-sunclip img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-waterglow { mix-blend-mode: multiply; }

/* each time a slide appears: the sun rises, the light comes up, the ship sails on, boats and gulls move */
.play .hs-zoom { transform-origin: 72% 62%; animation: hs-kb 48s ease-in-out infinite alternate; }
.play.hs-a .hs-dawn { animation: hs-dawn 7.5s ease-out .3s both; }
.play.hs-b .hs-dawn { animation: hs-dawn-l 7.5s ease-out .3s both; }
.play.hs-a .hs-sunbox { animation: hs-rise 7.5s cubic-bezier(.2,.6,.25,1) .3s both; }
.play.hs-b .hs-sunclip img { animation: hs-rise-l 7.5s cubic-bezier(.2,.6,.25,1) .3s both; }
.play .hs-glints { animation: hs-glint-in 8.5s ease-out both; }
.play .hs-waterglow { animation: hs-glint-in 8.5s ease-out both, hs-shimmer 5s ease-in-out 8.5s infinite; }
.play .hs-shiprun { animation: hs-cruise 40s linear both; }
.play .hs-fel1 { animation: hs-sail 70s ease-in-out infinite; }
.play .hs-fel2 { animation: hs-sail2 55s ease-in-out infinite; }
.play .hs-birds { opacity: 1; }
.play.hs-a .hs-lamp { animation: hs-lamp 2.8s ease-in-out infinite; }
.play.hs-b .hs-lamp { animation: hs-lamp-l 2.8s ease-in-out infinite; }

@keyframes hs-drift { to { transform: translateX(-50%); } }
@keyframes hs-fade-a { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes hs-fade-b { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes hs-sway { from { transform: translateX(-.4%); } to { transform: translateX(.4%); } }
@keyframes hs-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(1.4%) rotate(.3deg); } }
@keyframes hs-rock { 0%, 100% { transform: translateY(0) rotate(-1.4deg); } 50% { transform: translateY(2%) rotate(1.4deg); } }
@keyframes hs-kb { from { transform: scale(1); } to { transform: scale(1.06); } }
/* the ship sails bow first, from left to right (mirrored on the Arabic pages) */
@keyframes hs-cruise { from { transform: translateX(-35%); } to { transform: translateX(70%); } }
@keyframes hs-sail { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(120%); } }
@keyframes hs-sail2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-140%); } }
@keyframes hs-lamp { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes hs-lamp-l { 0%, 100% { opacity: .05; } 50% { opacity: .55; } }
@keyframes hs-fly { from { transform: translateX(2550px); } to { transform: translateX(-120px); } }
@keyframes hs-flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes hs-dawn { from { opacity: 1; } to { opacity: 0; } }
@keyframes hs-dawn-l { from { opacity: .7; } to { opacity: 0; } }
@keyframes hs-rise { from { transform: translateY(27%); } to { transform: none; } }
@keyframes hs-rise-l { from { transform: translateY(32%); } to { transform: none; } }
@keyframes hs-glint-in { 0%, 40% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hs-shimmer { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@media (prefers-reduced-motion: reduce) { .hero-scene, .hero-scene * { animation: none !important; } .hero-scene { transition: none; } }
@media print { .hero-scenes, .hero-fade, .hero-dots { display: none !important; } }

/* Home page practice and sector rows: the area's picture under the firm's blue, white text */
.pcard-photo { background-color: #17405E; background-size: cover; background-position: center; border-color: transparent; }
.pcard-photo h3, .pcard-photo p, .pcard-photo .go { position: relative; z-index: 1; }
.pcard-photo h3 { color: #fff; }
.pcard-photo p { color: #dbe5ee; }
.pcard-photo .go { color: #FF8A57; }
.pcard-photo:hover { color: #fff; }
/* Home page rows: a shorter corner that sits beside "Learn more", below the four lines of text */
.card-slider .pcard-photo p { margin-bottom: 18px; }
.card-slider .pcard-photo .go { padding-top: 10px; }
.card-slider .pcard-photo::after { width: 34%; height: 84px; }

/* Insights as one feed: three boxes across, two on a tablet, one on a phone */
.insight-feed .col-head { margin-bottom: 32px; max-width: 46rem; }
.insight-feed .col-head h2 { margin: 0 0 12px; }
.insight-feed .col-head p:last-child { color: var(--muted); margin: 0; }
.insight-feed .posts { border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.insight-feed .post .when { flex-direction: row; align-items: baseline; gap: 14px; }
@media (max-width: 1100px) { .insight-feed .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .insight-feed .posts { grid-template-columns: 1fr; } }

/* Insights feed: the label and the date always share one line */
.insight-feed .post-framed .when { flex-wrap: nowrap; white-space: nowrap; gap: 12px; }
.insight-feed .post-framed .sheet { padding-inline: clamp(20px, 2vw, 28px); }
.insight-feed .post-framed .when .cat { letter-spacing: .08em; flex: none; }
.insight-feed .post-framed .when time { font-size: .8rem; flex: none; }

/* "Arabic version coming soon" page */
.ar-soon { padding: clamp(48px, 8vw, 110px) 0; background: linear-gradient(rgba(242,239,232,.82), rgba(242,239,232,.9)), url(../img/hero/b/base-1600.webp) center 60% / cover no-repeat, var(--mist); }
.ar-soon-card { max-width: 760px; margin: 0 auto; background: #fff; border-top: 4px solid var(--blue); box-shadow: var(--shadow); padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 64px); text-align: center; }
.ar-soon-logo { height: 40px; width: auto; margin: 0 auto 22px; display: block; }
.ar-soon-ar h1 { font-family: "Ara Hamah Sahet AlAssi", "Segoe UI", Tahoma, Arial, sans-serif; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.5; margin: 0 0 14px; color: var(--blue-deep); }
.ar-soon-ar p { font-size: 1.2rem; line-height: 1.9; color: var(--ink); margin: 0 auto; max-width: 34em; }
.ar-soon-rule { width: 64px; height: 2px; background: var(--orange); margin: 30px auto; }
.ar-soon-en h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 0 0 10px; }
.ar-soon-en p { color: var(--muted); margin: 0 auto; max-width: 36em; }
.ar-soon-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin: 34px 0 0; }
.ar-soon .btn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.ar-soon .btn.solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.ar-soon .btn [lang="ar"] { font-family: Arial, "Segoe UI", Tahoma, sans-serif; letter-spacing: 0; text-transform: none; font-size: .95rem; }
@media (max-width: 600px) {
  .ar-soon-btns { flex-direction: column; align-items: stretch; }
  .ar-soon .btn { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .ar-soon .btn .dot { display: none; }
}

/* Practice and sector pages: no rules between the items of the side list or of Areas of Work */
.practice-side li a { border-bottom: 0; padding: 6px 0; }
.practice-main .ticks li { border-bottom: 0; padding-top: 5px; padding-bottom: 5px; }
.practice-main .ticks li::before { top: 16px; }
.maritime-note { margin: 28px 0; padding: 16px 20px; background: var(--mist); border-inline-start: 3px solid var(--orange); font-size: .98rem; }
.maritime-note a { font-weight: 600; white-space: nowrap; }

/* Key contacts on practice and sector pages */
.key-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 6px 0 28px; }
.prose .key-contacts a.kc { display: flex; align-items: center; gap: 14px; padding: 10px; background: var(--mist, #EEF2F6); text-decoration: none; color: var(--ink); border: 0; }
.prose .key-contacts a.kc:hover { background: #E2E9F0; }
.kc img, .kc-initials { flex: 0 0 auto; width: 56px; height: 70px; object-fit: cover; object-position: center top; }
.kc-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #6E93B0, #2F5F84); color: #fff; font-family: var(--serif, Georgia, serif); font-size: 1.2rem; }
.kc-text { display: flex; flex-direction: column; gap: 3px; }
.kc-name { font-family: var(--serif, Georgia, serif); font-size: 1.05rem; line-height: 1.2; }
.kc-role { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); font-weight: 700; line-height: 1.35; }
[dir="rtl"] .kc-name { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; }
[dir="rtl"] .kc-role { letter-spacing: 0; font-size: .85rem; }
[dir="rtl"] .kc-initials { font-family: var(--sans); font-size: 1.1rem; }

/* IR Global member jurisdictions on the International Reach map */
.map { position: relative; }
.map-panel .map img.irg-dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; pointer-events: none; }

/* Careers: less space between "Why join" and "Who we look for" */
.section:has(+ .apply-section) { padding-bottom: clamp(40px, 5vw, 64px); }
.section + .apply-section { padding-top: clamp(48px, 5.5vw, 72px); }

/* Phones: map legend sits below the map, lines close together */
@media (max-width: 640px) {
  .map-panel .map { margin-bottom: 18px; }
  .map-legend { position: static; flex-direction: column; gap: 10px; line-height: 1.4; }
}

/* Insights: pictures and downloads beside the article */
.article.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(40px, 5vw, 72px); align-items: start; }
.article-aside { display: grid; gap: 28px; }
.article-figure { margin: 0; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 12px 30px -18px rgba(15, 43, 64, .5); }
.article-figure figcaption { margin-top: 10px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.doc-card { display: block; padding: 18px; background: var(--mist); border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; }
.doc-card img { display: block; width: 72%; height: auto; margin: 0 auto 14px; box-shadow: 0 12px 26px -14px rgba(15, 43, 64, .55); }
.doc-card span { font-weight: 700; color: var(--orange-dark); }
.article-download { margin: 28px 0; }
@media (max-width: 900px) { .article.has-aside { grid-template-columns: 1fr; } .article-aside { max-width: 560px; } }

/* About: two side-by-side panels */
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pair .feature p:last-child { margin-bottom: 0; }
.pair-tag { font-family: var(--display); color: var(--orange-dark); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 10px; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }

/* About: history timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 2px solid var(--orange); }
.timeline li { display: block; position: relative; padding: 26px 22px 6px 0; }
.timeline li::before { content: ''; position: absolute; top: -8px; inset-inline-start: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--white, #fff); }
.timeline .tl-year { display: block; font-family: var(--serif, Georgia, serif); font-size: 1.9rem; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.timeline h3 { margin: 0 0 8px; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .94rem; }
[dir="rtl"] .timeline li { padding: 26px 0 6px 22px; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-inline-start: 2px solid var(--orange); padding-inline-start: 22px; }
  .timeline li { padding: 0 0 26px; }
  .timeline li::before { top: 4px; inset-inline-start: -30px; }
}

/* Insights: category toggles */
.insight-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; }
.filters-label { font-family: var(--display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-inline-end: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-family: var(--sans); font-size: .92rem; color: var(--blue-deep); background: #fff; border: 1px solid var(--blue); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.chip[aria-pressed="true"]::before { content: '✓'; font-size: .85em; }
.chip-n { font-size: .78rem; opacity: .7; }
.posts-none { color: var(--muted); }

/* About: two history panels on the dark band, each in a light blue box */
.section.dark .pair .feature { background: var(--steel-soft); border-top: 0; padding: clamp(26px, 3vw, 40px); }
.section.dark .pair .feature h3 { color: var(--blue-ink); }
.section.dark .pair .feature p { color: var(--ink); }
.section.dark .pair .pair-tag { color: var(--blue); }

/* Profile: LinkedIn icon button beside the vCard and CV buttons */
.profile-actions a.li-btn { padding: 0; width: 38px; justify-content: center; }
.profile-actions a.li-btn svg { width: 17px; height: 17px; }
