/* KLA Firm — static site
   Layout: an editorial 12-column page; navy bands alternate with cool stone paper.
   The recurring motif is the triangle: the arrow in the KLA mark, the Najdi crenellation,
   and the up-tick on a market ticker. It shows up as bullets, dividers and the hero field. */

:root {
  --ink: #0D1830;
  --navy: #213964;
  --navy-2: #2B4677;
  --navy-3: #3A5A92;
  --gold: #DEAB52;
  --gold-soft: #EFD3A0;
  --gold-text: #8A6320;
  --paper: #FFFFFF;
  --stone: #EEF1F5;
  --stone-2: #E3E8EF;
  --text: #1A2335;
  --muted: #586276;
  --line: #D8DEE7;
  --on-dark: #EAEEF5;
  --on-dark-muted: #A3AEC3;
  --line-dark: rgba(234, 238, 245, .16);

  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-body: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2.9rem, 1.2rem + 6.4vw, 7.4rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 1.9vw, 3.2rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .3vw, 1.3rem);
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-label: .76rem;

  --gutter: 24px;
  --max: 1260px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 2px;
  color-scheme: light;
}

/* Arabic: Sakkal Majalla where the visitor has it (it ships with Windows and Office).
   Its glyphs run small, so it is scaled up; other devices fall back to Noto Naskh Arabic. */
@font-face { font-family: "KLA Majalla"; font-weight: 400; font-style: normal; font-display: swap; size-adjust: 128%;
  src: local("Sakkal Majalla"), local("SakkalMajalla"), local("SakkalMajalla-Regular"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "KLA Majalla"; font-weight: 700; font-style: normal; font-display: swap; size-adjust: 128%;
  src: local("Sakkal Majalla Bold"), local("SakkalMajalla-Bold"), local("Sakkal Majalla"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

[dir="rtl"] {
  --f-display: "KLA Majalla", "Sakkal Majalla", "Noto Naskh Arabic", "Amiri", serif;
  --f-body: "KLA Majalla", "Sakkal Majalla", "Noto Naskh Arabic", "Cairo", serif;
  --fs-hero: clamp(2.8rem, 1.2rem + 5.8vw, 6.6rem);
  --fs-body: 1.08rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body, body[dir="rtl"] { line-height: 1.9; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) { :root { --gutter: 18px; --header-h: 70px; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
[dir="rtl"] .display { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; flex: none; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.on-dark .lead { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.section-head.split .lead { justify-self: end; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } .section-head.split .lead { justify-self: start; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .75em;
  min-height: 52px; padding: 0 26px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .arr { width: 18px; height: 10px; flex: none; transition: transform .35s var(--ease); }
[dir="rtl"] .btn .arr, [dir="rtl"] .link-arrow .arr { transform: scaleX(-1); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E9BC6A; }
.btn-ghost { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .arr { width: 16px; height: 9px; }
.on-dark .link-arrow { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255, 255, 255, .14); transition: opacity .4s; }
.site-header.is-solid { background: rgba(13, 24, 48, .94); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 10px 40px rgba(13, 24, 48, .22); }
.site-header.is-solid::after { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 640px) { .brand img { height: 38px; } }
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.main-nav > ul a, .nav-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem;
  background: none; border: 0; cursor: pointer; position: relative;
}
.main-nav > ul > li > a::after, .nav-btn::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s var(--ease);
}
[dir="rtl"] .main-nav { --origin: right; }
.main-nav > ul > li > a:hover::after, .nav-btn:hover::after, .main-nav a[aria-current="page"]::after, .nav-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-btn svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-panel { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -18px;
  min-width: 260px; padding: 14px; background: var(--paper); color: var(--text);
  box-shadow: 0 24px 60px rgba(13, 24, 48, .28); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-panel a { display: flex; height: auto; padding: 10px 12px; font-weight: 600; font-size: .95rem; }
.nav-panel a:hover { background: var(--stone); }
.mega { width: min(880px, 92vw); inset-inline-start: 50%; transform: translate(-50%, 8px); display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr; gap: 8px 28px; padding: 26px; }
[dir="rtl"] .mega { transform: translate(50%, 8px); }
.mega.is-open { transform: translate(-50%, 0); }
[dir="rtl"] .mega.is-open { transform: translate(50%, 0); }
.mega h4 { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 4px 12px 8px; }
[dir="rtl"] .mega h4 { letter-spacing: 0; font-size: .85rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega .mega-dept a { font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; line-height: 1.2; padding: 12px; }
[dir="rtl"] .mega .mega-dept a { font-weight: 700; }
.mega .mega-dept small { display: block; font-family: var(--f-body); font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: 4px; }
.mega .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.nav-cta { margin-inline-start: 10px; }
.nav-cta .btn { min-height: 44px; padding: 0 18px; }
.lang { font-weight: 700; letter-spacing: .02em; }
.lang[lang="ar"] { font-family: "KLA Majalla", "Sakkal Majalla", "Noto Naskh Arabic", serif; font-size: 1.08rem; }
.menu-toggle { display: none; margin-inline-start: auto; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; cursor: pointer; border-radius: var(--radius); }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .3s; }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; display: flex; flex-direction: column; overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer .header-row { justify-content: space-between; }
.drawer-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; cursor: pointer; border-radius: var(--radius); }
.drawer-close svg { width: 22px; height: 22px; }
.drawer nav { padding-block: 18px 40px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer .big > li > a { display: block; padding: 10px 0; font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.drawer details summary { list-style: none; cursor: pointer; padding: 10px 0; font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; border-bottom: 1px solid var(--line-dark); }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details[open] summary { color: var(--gold); }
.drawer .sub { padding: 10px 0 18px; display: grid; gap: 2px; }
.drawer .sub a { display: block; padding: 8px 0; color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.drawer .sub a:hover { color: #fff; }
.drawer-foot { margin-top: auto; padding-block: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--on-dark-muted); font-size: .95rem; }
.drawer-foot a { color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media .slide, .hero-tint, .hero-field { position: absolute; inset: 0; }
.hero-media { z-index: -3; }
.hero-media .slide {
  background-size: cover; background-position: center; opacity: 0; transform: scale(1.14);
  transition: opacity 1.8s ease, transform 10s linear;
  filter: saturate(.85) contrast(1.04);
}
.hero-media .slide.is-active { opacity: 1; transform: scale(1.0); }
.hero-tint { z-index: -2;
  background:
    linear-gradient(0deg, rgba(13, 24, 48, .97) 0%, rgba(13, 24, 48, .72) 34%, rgba(13, 24, 48, .28) 64%, rgba(13, 24, 48, .62) 100%),
    linear-gradient(90deg, rgba(13, 24, 48, .78) 0%, rgba(13, 24, 48, .1) 70%);
}
[dir="rtl"] .hero-tint { background:
    linear-gradient(0deg, rgba(13, 24, 48, .97) 0%, rgba(13, 24, 48, .72) 34%, rgba(13, 24, 48, .28) 64%, rgba(13, 24, 48, .62) 100%),
    linear-gradient(270deg, rgba(13, 24, 48, .78) 0%, rgba(13, 24, 48, .1) 70%); }
.hero-tint::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; opacity: .55; }
.hero-field { z-index: -1; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }
.hero-inner { align-self: end; padding-top: calc(var(--header-h) + 48px); padding-bottom: calc(92px + clamp(40px, 7vh, 88px)); }
.hero .eyebrow { color: var(--gold); margin-bottom: clamp(18px, 3vh, 30px); }
.hero h1 { font-size: var(--fs-hero); max-width: 14ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { color: rgba(234, 238, 245, .84); margin-top: clamp(20px, 3vh, 32px); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vh, 40px); }
.hero-side { position: absolute; inset-inline-end: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(92px + 34px); display: grid; justify-items: end; gap: 18px; }
.slide-dots { display: flex; gap: 8px; }
.slide-dots button { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slide-dots button::before { content: ""; position: absolute; inset: 11px 0; background: rgba(255, 255, 255, .28); }
.slide-dots button::after { content: ""; position: absolute; inset: 11px 0; background: var(--gold); transform: scaleX(0); transform-origin: var(--origin, left); }
[dir="rtl"] .slide-dots { --origin: right; }
.slide-dots button.is-active::after { animation: dot 7s linear forwards; }
.slide-dots button.was::after { transform: scaleX(1); opacity: .5; }
@keyframes dot { to { transform: scaleX(1); } }
.slide-count { font-size: .82rem; letter-spacing: .14em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .hero-side { display: none; } }

/* intro animation */
.js .hero [data-anim] { opacity: 0; }
.js .hero.is-in [data-anim] { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero.is-in h1 .line > span { animation: lineup 1.15s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }

/* ticker */
.ticker { position: absolute; inset: auto 0 0; z-index: 2; height: 92px; display: flex; align-items: stretch; border-top: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(0deg, rgba(13, 24, 48, .7), rgba(13, 24, 48, .35)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ticker-label { flex: none; display: flex; align-items: center; gap: 10px; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) 22px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-inline-end: 1px solid rgba(255, 255, 255, .14); background: rgba(13, 24, 48, .55); }
[dir="rtl"] .ticker-label { letter-spacing: 0; font-size: .88rem; }
.ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(222, 171, 82, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(222, 171, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(222, 171, 82, 0); } }
.ticker-viewport { position: relative; overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; height: 100%; animation: marquee 70s linear infinite; }
[dir="rtl"] .ticker-track { animation-name: marquee-rtl; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 14px; padding-inline: 30px; white-space: nowrap; font-size: .95rem; color: rgba(234, 238, 245, .9); border-inline-end: 1px solid rgba(255, 255, 255, .1); }
.ticker-item .tri { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--gold); }
.ticker-item b { color: #fff; font-weight: 700; }
.ticker-item .yr { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 700; }
.ticker-item .mk { color: var(--on-dark-muted); font-size: .86rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@media (max-width: 640px) { .ticker { height: 72px; } .ticker-label { display: none; } .hero-inner { padding-bottom: calc(72px + 40px); } }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; min-height: 64vh; min-height: 64svh; display: grid; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero.short { min-height: 52vh; min-height: 52svh; }
.page-hero .bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; transform: scale(1.12); filter: saturate(.8); }
.js .page-hero .bg { animation: slowzoom 14s var(--ease) forwards; }
@keyframes slowzoom { to { transform: scale(1.0); } }
.page-hero .hero-tint { background: linear-gradient(0deg, rgba(13, 24, 48, .96) 4%, rgba(13, 24, 48, .55) 60%, rgba(13, 24, 48, .72) 100%); }
.page-hero .hero-field { opacity: .9; }
.page-hero .inner { align-self: end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(44px, 8vh, 84px); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero .lead { color: rgba(234, 238, 245, .82); margin-top: 18px; max-width: 58ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.js .page-hero [data-anim] { opacity: 0; }
.js .page-hero.is-in [data-anim] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.page-hero .rule { display: block; width: 72px; height: 2px; background: var(--gold); margin-top: 28px; transform-origin: var(--origin, left); }
[dir="rtl"] .page-hero { --origin: right; }
.js .page-hero .rule { transform: scaleX(0); }
.js .page-hero.is-in .rule { animation: grow 1.2s .5s var(--ease) both; }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- sections ---------- */
section.band { padding-block: clamp(72px, 10vw, 136px); }
.band.stone { background: var(--stone); }
.band.ink { background: var(--ink); color: var(--on-dark); }
.band.navy { background: var(--navy); color: var(--on-dark); }
.on-dark h2, .on-dark h3 { color: #fff; }

/* intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro-grid .statement { font-size: var(--fs-h2); color: var(--ink); margin: 18px 0 28px; max-width: 18ch; }
.intro-grid p { max-width: 62ch; color: #303a4e; }
.intro-grid p + p { margin-top: 0; }
.framed { margin: 0; }
.framed .img { position: relative; isolation: isolate; }
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.framed .img::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: -1; }
[dir="rtl"] .framed .img::before { inset: 22px 22px -22px -22px; }
.framed .img::after { content: ""; position: absolute; inset-inline-end: -1px; bottom: -1px; width: 64px; height: 64px; background: var(--paper); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
[dir="rtl"] .framed .img::after { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.framed figcaption { margin-top: 38px; font-size: .85rem; color: var(--muted); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.lang-chips span { font-size: .82rem; font-weight: 700; padding: 6px 12px; border: 1px solid var(--line); color: var(--navy); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .framed { max-width: 520px; } }

/* stats */
.stats { position: relative; overflow: hidden; }
.stats .hero-field { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.stats .wrap { position: relative; z-index: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.stat { padding: clamp(28px, 4vw, 48px) 0; padding-inline-end: 24px; border-bottom: 1px solid var(--line-dark); }
.stat + .stat { padding-inline-start: clamp(20px, 3vw, 40px); border-inline-start: 1px solid var(--line-dark); }
.stat:nth-child(3n + 1) { border-inline-start: 0; padding-inline-start: 0; }
.stat .num { font-family: var(--f-display); font-size: clamp(3.2rem, 2rem + 4vw, 6rem); line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: baseline; gap: .12em; }
[dir="rtl"] .stat .num { font-family: "Libre Caslon Display", Georgia, serif; direction: ltr; justify-content: flex-end; }
.stat .num .unit { font-family: var(--f-body); font-size: .26em; font-weight: 700; letter-spacing: .12em; color: var(--gold); align-self: flex-start; margin-top: .55em; }
.stat .num sup { font-size: .5em; color: var(--gold); vertical-align: baseline; }
.stat .lbl { margin-top: 14px; font-size: .95rem; color: var(--on-dark-muted); max-width: 22ch; }
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3n + 1) { border-inline-start: 1px solid var(--line-dark); padding-inline-start: clamp(20px, 3vw, 40px); }
  .stat:nth-child(2n + 1) { border-inline-start: 0; padding-inline-start: 0; }
}

/* practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.p-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 430px; padding: 26px; color: #fff; text-decoration: none; overflow: hidden; background: var(--ink); isolation: isolate; }
.p-card .ph { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: grayscale(.7) contrast(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 24, 48, .96) 8%, rgba(13, 24, 48, .45) 55%, rgba(33, 57, 100, .35) 100%); transition: opacity .6s var(--ease); }
.p-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem); line-height: 1.12; }
[dir="rtl"] .p-card h3 { font-weight: 700; line-height: 1.4; }
.p-card p { margin: 12px 0 0; font-size: .92rem; line-height: 1.55; color: var(--on-dark-muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease); }
.p-card .go { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .p-card .go { letter-spacing: 0; font-size: .9rem; }
.p-card .go::before { content: ""; height: 1px; width: 26px; background: currentColor; transition: width .5s var(--ease); }
.p-card:hover .ph, .p-card:focus-visible .ph { transform: scale(1.12); filter: grayscale(0) contrast(1.05); }
.p-card:hover p, .p-card:focus-visible p { max-height: 8em; opacity: 1; }
.p-card:hover .go::before { width: 48px; }
.p-card .ico { position: absolute; top: 24px; inset-inline-start: 26px; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(222, 171, 82, .45); background: rgba(13, 24, 48, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.p-card .ico svg { width: 28px; height: 28px; }
.p-card:hover .ico, .p-card:focus-visible .ico { background: #fff; color: var(--navy); border-color: #fff; }
@media (hover: none) { .p-card p { max-height: 8em; opacity: 1; } }
@media (max-width: 1100px) { .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p-card { min-height: 360px; } }
@media (max-width: 560px) { .practice-grid { grid-template-columns: 1fr; } .p-card { min-height: 300px; } }

.dept-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.dept { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.dept:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13, 24, 48, .1); }
.dept .k { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
[dir="rtl"] .dept .k { letter-spacing: 0; font-size: .85rem; }
.dept strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
[dir="rtl"] .dept strong { font-weight: 700; }
.dept .ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.dept .ico svg { width: 30px; height: 30px; }
.dept .arr { width: 22px; height: 12px; color: var(--navy); }
[dir="rtl"] .dept .arr { transform: scaleX(-1); }
@media (max-width: 760px) { .dept-row { grid-template-columns: 1fr; } }

/* mandates table */
.mandates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mandates th { text-align: start; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink); }
[dir="rtl"] .mandates th { letter-spacing: 0; font-size: .85rem; padding: 0 0 14px 16px; }
.mandates td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
[dir="rtl"] .mandates td { padding: 20px 0 20px 16px; }
.mandates td.yr { font-family: "Libre Caslon Display", Georgia, serif; font-size: 1.5rem; color: var(--navy); width: 90px; line-height: 1.2; }
.mandates td.co { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.mandates td.of .pill { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--navy); background: var(--stone); padding: 4px 12px; white-space: nowrap; }
.mandates td.of .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-text); }
.mandates td.mk { color: var(--muted); }
.mandates tbody tr { transition: background .3s; }
.mandates tbody tr:hover { background: var(--stone); }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.table-foot small { color: var(--muted); }
@media (max-width: 760px) {
  .mandates thead { display: none; }
  .mandates tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mandates td { border: 0; padding: 0 !important; }
  .mandates td.yr { grid-row: span 3; width: auto; }
}

/* people */
.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person-card { display: grid; grid-template-columns: 180px 1fr; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.person-card:hover { box-shadow: 0 22px 50px rgba(13, 24, 48, .12); transform: translateY(-3px); }
.person-card .pic { background: var(--ink); overflow: hidden; }
.person-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; aspect-ratio: 1; filter: grayscale(1) contrast(1.05); transform: scale(1.6); transform-origin: 50% 32%; transition: filter .6s var(--ease), transform .8s var(--ease); }
.person-card:hover .pic img { filter: grayscale(0); transform: scale(1.66); }
.person-card .info { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.person-card .nm { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.15; color: var(--ink); }
[dir="rtl"] .person-card .nm { font-weight: 700; }
.person-card .rl { color: var(--gold-text); font-weight: 700; font-size: .92rem; }
.person-card .em { margin-top: auto; padding-top: 14px; font-size: .9rem; color: var(--muted); word-break: break-all; }
@media (max-width: 900px) { .contacts-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person-card { grid-template-columns: 1fr; } .person-card .pic img { aspect-ratio: 4 / 3; } }
.mono { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--f-display); font-size: 3rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.t-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.t-card .pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.t-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.06); transition: filter .6s var(--ease), transform .9s var(--ease); }
.t-card .pic::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .5s var(--ease); }
[dir="rtl"] .t-card { --origin: right; }
.t-card:hover .pic img { filter: grayscale(0); transform: scale(1.04); }
.t-card:hover .pic::after { transform: scaleX(1); }
.t-card .nm { margin-top: 16px; font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
[dir="rtl"] .t-card .nm { font-weight: 700; }
.t-card .rl { font-size: .9rem; color: var(--gold-text); font-weight: 700; }
.t-card .of { font-size: .85rem; color: var(--muted); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* logos */
.logo-rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-rail + .logo-rail { margin-top: 18px; }
.logo-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.logo-rail.rev .logo-track { animation-direction: reverse; }
[dir="rtl"] .logo-track { animation-name: marquee-rtl; }
.logo-rail:hover .logo-track { animation-play-state: paused; }
.logo-tile { width: 168px; height: 112px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.logo-tile { overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .88; transition: filter .4s, opacity .4s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.n-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.n-card .ph { aspect-ratio: 1.9; overflow: hidden; background: var(--navy); }
.n-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.n-card:hover .ph img { transform: scale(1.05); }
.n-card .ph.empty { display: grid; place-items: center; color: var(--gold); }
.n-card .ph.empty svg { width: 64px; height: 64px; opacity: .8; }
.n-card time { margin-top: 18px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); font-variant-numeric: tabular-nums; }
[dir="rtl"] .n-card time { letter-spacing: 0; }
.n-card h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.22; color: var(--ink); transition: color .3s; }
[dir="rtl"] .n-card h3 { font-weight: 700; line-height: 1.5; }
.n-card:hover h3 { color: var(--navy-3); }
.n-card p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* offices */
.office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.office { position: relative; padding: 68px 26px 30px 0; border-inline-end: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 10px; }
[dir="rtl"] .office { padding: 68px 0 30px 26px; }
.office + .office { padding-inline-start: 26px; }
.office:last-child { border-inline-end: 0; }
.office .city { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1; color: #fff; }
[dir="rtl"] .office .city { font-weight: 700; line-height: 1.3; }
.office .hq { position: absolute; top: 28px; inset-inline-start: inherit; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 10px; }
[dir="rtl"] .office .hq { letter-spacing: 0; font-size: .8rem; }
.office address { font-style: normal; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.6; }
.office .ph { color: #fff; font-weight: 700; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; text-decoration: none; }
[dir="rtl"] .office .ph { text-align: right; }
.office .dir { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.office .dir .ic, .o-card .link-arrow .ic { width: 18px; height: 18px; }
.office .dir:hover { text-decoration: underline; }
@media (max-width: 980px) { .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .office:nth-child(2) { border-inline-end: 0; } .office:nth-child(3) { padding-inline-start: 0; } }
@media (max-width: 560px) { .office-grid { grid-template-columns: 1fr; } .office { border-inline-end: 0 !important; padding-inline: 0 !important; border-bottom: 1px solid var(--line-dark); } }

/* light office cards (offices page) */
.office-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.o-card { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; overflow: hidden; }
.o-card::after { content: ""; position: absolute; inset-inline-end: -1px; top: -1px; width: 70px; height: 70px; background: var(--stone); clip-path: polygon(0 0, 100% 0, 100% 100%); }
[dir="rtl"] .o-card::after { clip-path: polygon(0 0, 100% 0, 0 100%); }
.o-card .city { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.4rem); line-height: 1; color: var(--ink); }
[dir="rtl"] .o-card .city { font-weight: 700; line-height: 1.3; }
.o-card .country { color: var(--muted); font-weight: 600; }
.o-card address { font-style: normal; font-size: 1.05rem; line-height: 1.7; color: #303a4e; }
.o-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 6px 0 0; }
.o-card dt { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); padding-top: .25em; }
[dir="rtl"] .o-card dt { letter-spacing: 0; font-size: .85rem; }
.o-card dd { margin: 0; font-weight: 700; }
.o-card dd a { text-decoration: none; color: var(--navy); }
.o-card dd.tel a { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.o-card .hq { position: absolute; top: 24px; inset-inline-end: 24px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 10px; }
@media (max-width: 760px) { .office-cards { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .hero-field { position: absolute; inset: 0; opacity: .7; z-index: 0; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 20ch; }
.cta-band p { color: var(--on-dark-muted); margin: 16px 0 0; max-width: 52ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- prose layout ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: .92rem; }
.toc h2 { font-family: var(--f-body); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-bottom: 14px; }
[dir="rtl"] .toc h2 { letter-spacing: 0; font-size: .85rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0; padding-inline-start: 16px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-color: var(--gold); font-weight: 700; }
.toc ol + .aside-cta { margin-top: 32px; }
.toc .aside-cta { padding: 22px; background: var(--ink); color: var(--on-dark); }
.toc .aside-cta p { margin: 0 0 14px; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; color: #fff; }
[dir="rtl"] .toc .aside-cta p { font-weight: 700; line-height: 1.6; }
.toc .aside-cta a { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; margin: 0; color: var(--gold); font-weight: 700; }
.toc .aside-cta .arr { width: 18px; height: 10px; }
@media (max-width: 980px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { position: static; display: none; } }

.prose { max-width: 780px; min-width: 0; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: #2A3447; }
.prose > p:first-child { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink); }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.35rem); line-height: 1.15; color: var(--ink); margin-top: 2.2em; padding-top: 28px; border-top: 1px solid var(--line); position: relative; }
.prose h2::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 56px; height: 2px; background: var(--gold); }
[dir="rtl"] .prose h2 { font-weight: 700; line-height: 1.45; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h3); font-weight: 800; color: var(--navy); margin-top: 1.8em; }
.prose h2 + h3, .prose h2 + p, .prose h3 + p, .prose h3 + ul { margin-top: .7em; }
.prose ul { list-style: none; padding: 0; margin-inline: 0; }
.prose ul > li { position: relative; padding-inline-start: 26px; }
.prose ul > li + li { margin-top: .55em; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: 3px; top: .66em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
[dir="rtl"] .prose ul > li::before { top: .85em; }
.prose ul.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.prose ul.checks > li { margin: 0; padding-block: 14px; padding-inline-start: 34px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.prose ul.checks > li::before { top: 15px; width: 18px; height: 18px; transform: none; background: var(--gold-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
[dir="rtl"] .prose ul.checks > li::before { top: 19px; }
.prose ul.names { columns: 2; column-gap: 32px; }
.prose ul.names > li { break-inside: avoid; padding-block: 8px; margin: 0; border-bottom: 1px solid var(--line); }
.prose ul.names > li::before { top: 1.1em; }
.prose ul.names b, .prose ul.names strong { color: var(--ink); }
@media (max-width: 640px) { .prose ul.checks { grid-template-columns: 1fr; } .prose ul.names { columns: 1; } }
.prose b, .prose strong { color: var(--ink); }
.prose a { color: var(--navy); text-underline-offset: 3px; }
.prose .note, .prose .notes { font-size: .88rem; color: var(--muted); }
.prose .notes { padding: 16px 20px; background: var(--stone); }
.prose .notes p { color: var(--muted); }
.prose .notes p + p { margin-top: 4px; }
.table-wrap { overflow-x: auto; margin-top: 1.4em; border: 1px solid var(--line); }
.prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .94rem; font-variant-numeric: tabular-nums; }
.prose th { background: var(--ink); color: #fff; text-align: start; font-weight: 700; padding: 12px 14px; white-space: nowrap; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { font-weight: 700; color: var(--ink); }
.prose td:last-child { font-family: "Libre Caslon Display", Georgia, serif; font-size: 1.1rem; color: var(--navy); }
.prose tbody tr:nth-child(even) td { background: #F8F9FB; }

.sub-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 1.6em !important; }
.sub-card { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--text); transition: border-color .3s, background .3s; position: relative; }
.sub-card:hover { border-color: var(--navy); background: var(--stone); }
.sub-card strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
[dir="rtl"] .sub-card strong { font-weight: 700; line-height: 1.5; }
.sub-card span { font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .sub-cards { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.related .p-card { min-height: 280px; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* about */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 36px 0; border-inline-end: 1px solid var(--line); }
[dir="rtl"] .pillar { padding: 36px 0 36px 32px; }
.pillar + .pillar { padding-inline-start: 32px; }
.pillar:last-child { border-inline-end: 0; }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
[dir="rtl"] .pillar h3 { font-weight: 700; }
.pillar h3::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.pillar p { margin: 0; color: #303a4e; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { border-inline-end: 0; padding-inline: 0 !important; border-bottom: 1px solid var(--line); } }
.vision { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); line-height: 1.3; color: #fff; max-width: 30ch; }
[dir="rtl"] .vision { font-weight: 700; line-height: 1.7; }

/* profile */
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-card { position: sticky; top: calc(var(--header-h) + 28px); background: var(--paper); border: 1px solid var(--line); }
.profile-card .pic { aspect-ratio: 1; background: var(--ink); overflow: hidden; }
.profile-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.3); transform-origin: 50% 30%; }
.profile-card .body { padding: 24px 26px 28px; display: grid; gap: 18px; }
.profile-card dl { margin: 0; display: grid; gap: 14px; }
.profile-card dt { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
[dir="rtl"] .profile-card dt { letter-spacing: 0; font-size: .85rem; }
.profile-card dd { margin: 4px 0 0; font-weight: 700; word-break: break-word; }
.profile-card dd a { color: var(--navy); text-decoration: none; }
.profile-card dd a.tel { direction: ltr; unicode-bidi: isolate; display: inline-block; font-variant-numeric: tabular-nums; }
.profile-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-card .tags span { font-size: .82rem; padding: 3px 10px; background: var(--stone); color: var(--navy); font-weight: 700; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile-card { position: static; max-width: 460px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid #C5CDD9; border-radius: var(--radius); padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(33, 57, 100, .15); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; font-weight: 600; border-inline-start: 3px solid var(--navy); background: var(--stone); }
.form-status.ok { border-color: #2E7D4F; }
.form-status.err { border-color: #B3261E; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 28px; }
.contact-aside .box { padding: 28px; background: var(--ink); color: var(--on-dark); }
.contact-aside h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: #fff; margin-bottom: 14px; }
[dir="rtl"] .contact-aside h3 { font-weight: 700; }
.contact-aside dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.contact-aside dt { color: var(--on-dark-muted); font-size: .9rem; }
.contact-aside dd { margin: 0; color: #fff; font-weight: 700; }
.contact-aside dd a { color: #fff; text-decoration: none; }
.contact-aside dd.tel { direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .contact-aside dd.tel { text-align: right; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line-dark); padding-bottom: 6px; font-variant-numeric: tabular-nums; }
.hours span:last-child { color: #fff; font-weight: 700; direction: ltr; unicode-bidi: isolate; }

/* news article */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--on-dark-muted); font-size: .92rem; margin-top: 22px; }
.article-meta time { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.article-figure { margin: 0 0 36px; border: 1px solid var(--line); }
.article-figure img { width: 100%; }
.linkedin-cta { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-top: 2em !important; background: var(--stone); border-inline-start: 3px solid var(--gold); text-decoration: none; color: var(--ink); font-weight: 700; }
.linkedin-cta svg { width: 26px; height: 26px; color: #0A66C2; flex: none; }
.linkedin-cta:hover { background: var(--stone-2); }
.more-news { margin-top: clamp(56px, 8vw, 96px); }

/* footer */
.site-footer { border-top: 1px solid var(--line-dark); background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 104px); padding-bottom: env(safe-area-inset-bottom, 0px); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 64px); }
.foot-grid h3 { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
[dir="rtl"] .foot-grid h3 { letter-spacing: 0; font-size: .9rem; }
.foot-grid p { margin: 18px 0 0; max-width: 40ch; line-height: 1.7; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--on-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid .tel { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.foot-logo img { height: 56px; width: auto; }
.foot-hours div { display: flex; justify-content: space-between; gap: 12px; }
.foot-hours span:last-child { color: var(--on-dark); direction: ltr; unicode-bidi: isolate; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; }
.social svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: clamp(48px, 6vw, 80px); padding-block: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; }
.foot-bottom a { color: var(--on-dark-muted); }
.foot-frieze { height: 14px; background-image: linear-gradient(135deg, transparent 50%, var(--ink) 50%), linear-gradient(225deg, transparent 50%, var(--ink) 50%); background-size: 14px 14px; background-color: var(--gold); opacity: .9; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* reveal */
.pre { opacity: 0; transform: translateY(26px); }
.revealed { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--rd, 0) * 1ms); }

/* 404 */
.nf { min-height: 100vh; min-height: 100svh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-media .slide { transform: none !important; }
  .ticker-track, .logo-track { animation: none !important; }
  .ticker-viewport { overflow-x: auto; }
  .js .hero [data-anim], .js .page-hero [data-anim] { opacity: 1; }
  .js .hero h1 .line > span { transform: none; }
}

@media print {
  .site-header, .hero-field, .ticker, .drawer, .site-footer, .toc, .cta-band { display: none !important; }
  .page-hero, .hero { min-height: 0; color: var(--ink); background: none; }
  .hero-media, .page-hero .bg, .hero-tint { display: none; }
}

/* team page: partners first, then the team, with a closing contact tile */
.lead-pair { margin-bottom: clamp(36px, 5vw, 64px); }
.t-card.join { justify-content: flex-end; background: var(--navy); color: #fff; padding: 26px; aspect-ratio: 4 / 5; position: relative; overflow: hidden; isolation: isolate; }
.t-card.join { border-top: 3px solid var(--gold); }
.t-card.join .nm { color: #fff; margin: 0 0 12px; }
.t-card.join .go { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: .9rem; }
.t-card.join .go .arr { width: 18px; height: 10px; }
[dir="rtl"] .t-card.join .go .arr, [dir="rtl"] .toc .aside-cta .arr { transform: scaleX(-1); }

/* frame offset stays inside the gutter on small screens */
@media (max-width: 900px) {
  .framed .img::before { inset: 12px -12px -12px 12px; }
  [dir="rtl"] .framed .img::before { inset: 12px 12px -12px -12px; }
}
.site { overflow-x: clip; }

/* icons */
.ic { width: 1.1em; height: 1.1em; flex: none; --ic-accent: var(--gold); }
.ic .b { stroke: currentColor; }
.ic .a { stroke: var(--ic-accent); }
.ic .af { fill: var(--ic-accent); stroke: none; }
.o-card dt .ic { width: 18px; height: 18px; color: var(--navy); }
.o-card .link-arrow .ic { color: var(--navy); }
.hero-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; color: #fff; border: 1px solid rgba(222, 171, 82, .55); background: rgba(13, 24, 48, .35); }
.hero-ico svg { width: 32px; height: 32px; }

/* About: key contacts with the firm's own portrait photos */
.person-card.official { grid-template-columns: minmax(150px, 42%) 1fr; }
.person-card.official .pic { background: var(--stone-2); }
.person-card.official .pic img { transform: none; object-position: 50% 20%; }
.person-card.official:hover .pic img { transform: scale(1.04); }
.person-card.official .nm { font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); }
@media (max-width: 480px) { .person-card.official { grid-template-columns: 1fr; } }
