/* LEDGER: colours and fonts. Change these few lines to make it yours. */
:root {
  --ivory: #F7F4EE; --paper: #FFFFFF; --navy: #142445; --navy-2: #1E3460; --gold: #B8925A; --gold-2: #E9D8B5; --ink: #0F1A2E; --mute: #5E6878; --line: #E3DED3;
  --display: "Libre Caslon Text", Georgia, serif; --body: "Figtree", system-ui, sans-serif;
  --b-bg: var(--ivory); --b-paper: var(--paper); --b-ink: var(--ink); --b-mute: var(--mute); --b-line: var(--line); --b-soft: #EFEAE0;
  --b-accent: var(--navy); --b-accent-ink: #fff; --b-display: var(--display); --b-body: var(--body); --b-radius: 6px; --b-card: 4px; --b-ratio: 4 / 3; --b-btn: 4px;
}
html[lang="ar"] { --display: "Noto Naskh Arabic", serif; --body: "Noto Naskh Arabic", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16.5px/1.7 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.5; letter-spacing: 0; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; }
.kick { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--gold); font: 600 12.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.kick::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
html[lang="ar"] .kick { letter-spacing: 0; font-size: 14px; }
.lead { color: var(--mute); font-size: clamp(16px, 1.4vw, 19px); max-width: 33em; }
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.sec-head h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.05; }
.btn { font-weight: 600; letter-spacing: .02em; }
.btn-line { box-shadow: inset 0 0 0 1px var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 28px/1 var(--display); text-decoration: none; letter-spacing: .02em; }
.logo svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 10px 12px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--gold); }
.top-r { display: flex; align-items: center; gap: 12px; }
.tel { font-weight: 600; text-decoration: none; direction: ltr; white-space: nowrap; }
.lang { height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: 500 14px var(--body); cursor: pointer; }
.top-go { min-height: 44px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; }
.pillars { position: absolute; inset: 0; display: flex; justify-content: space-around; pointer-events: none; }
.pillars i { width: 1px; background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent); transform-origin: top; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: center; min-height: min(640px, calc(100vh - 200px)); }
.hero-copy h1 { margin: 0 0 20px; font-size: clamp(46px, 6.4vw, 96px); line-height: 1.02; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { min-height: 56px; padding: 0 28px; }
.free { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--navy); font-weight: 600; font-size: 15px; }
.free svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.hero-art { position: relative; }
.frame { aspect-ratio: 4 / 4.6; overflow: hidden; clip-path: inset(0 0 0 0); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.seal { position: absolute; bottom: -34px; inset-inline-start: -34px; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--navy); color: var(--gold-2); box-shadow: 0 0 0 8px var(--ivory); }
.seal b { font: 400 22px var(--display); }
html[lang="ar"] .seal b { font-family: "Libre Caslon Text", serif; }
.seal span { position: absolute; inset: 10px; display: grid; place-items: center; border: 1px dashed rgba(233, 216, 181, .45); border-radius: 50%; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; align-content: start; padding-top: 14px; }
.nums { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.num { padding: 30px 10px 34px; border-inline-end: 1px solid var(--line); }
.num:last-child { border: 0; }
.num b { display: block; font: 400 clamp(44px, 5vw, 70px)/1 var(--display); color: var(--navy); }
.num span { color: var(--mute); font-weight: 500; }

/* practice areas */
.areas { background: var(--navy); color: #fff; }
.areas .kick { color: var(--gold-2); }
.areas .kick::before { background: var(--gold-2); }
.areas h2 em { color: var(--gold-2); }
.areas .chips button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); border-radius: 4px; }
.areas .chips button.on { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.ar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.pa { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 360px; padding: 30px; background: var(--navy); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.pa img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .5s, transform 1s; }
.pa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 36, 69, .55), rgba(20, 36, 69, .92)); opacity: 0; transition: opacity .5s; }
.pa:hover img, .pa:focus-visible img { opacity: 1; transform: none; }
.pa:hover::after, .pa:focus-visible::after { opacity: 1; }
.pa .no { font: 400 15px var(--display); color: var(--gold-2); }
.pa h3 { margin: 0; color: #fff; font-size: 32px; line-height: 1.1; }
html[lang="ar"] .pa h3 { font-size: 24px; }
.pa p { margin: 0; color: rgba(255, 255, 255, .72); }
.pa ul { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pa li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.pa .go { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 600; color: var(--gold-2); }
.pa .go small { color: rgba(255, 255, 255, .6); font-weight: 400; }

/* how we work */
.how-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.how-side h2 { margin: 0 0 30px; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.how-img { aspect-ratio: 4 / 3; overflow: hidden; }
.how-img img { width: 100%; height: 100%; object-fit: cover; }
.tl { position: relative; margin: 0; padding: 0 0 0 50px; list-style: none; counter-reset: t; }
html[dir="rtl"] .tl { padding: 0 50px 0 0; }
.tl::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 15px; width: 1px; background: var(--line); }
.tl-line { position: absolute; top: 10px; inset-inline-start: 15px; width: 1px; height: calc((100% - 20px) * var(--p, 0)); background: var(--gold); }
.tl li { position: relative; padding: 0 0 46px; counter-increment: t; }
.tl li::before { content: counter(t, upper-roman); position: absolute; top: 0; inset-inline-start: -50px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 1px var(--gold); font: 400 13px var(--display); color: var(--gold); }
.tl li.on::before { background: var(--navy); color: var(--gold-2); }
.tl b { display: block; margin-bottom: 6px; font: 400 28px/1.2 var(--display); }
html[lang="ar"] .tl b { font-weight: 700; font-size: 22px; }
.tl span { color: var(--mute); }

/* lawyers */
.lw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lw { display: grid; gap: 4px; }
.lw-img { aspect-ratio: 4 / 4.8; overflow: hidden; background: var(--b-soft); margin-bottom: 14px; }
.lw-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.35); transition: filter .5s, transform .9s; }
.lw:hover .lw-img img { filter: none; transform: scale(1.03); }
.lw b { font: 400 28px var(--display); }
html[lang="ar"] .lw b { font-weight: 700; font-size: 22px; }
.lw span { color: var(--gold); font-weight: 600; font-size: 14px; }
.lw p { margin: 4px 0 10px; color: var(--mute); }
.lw .days { display: flex; gap: 4px; margin-bottom: 14px; }
.lw .days i { flex: 1; padding: 4px 0; border: 1px solid var(--line); font-style: normal; font-size: 11.5px; font-weight: 600; text-align: center; color: #A9A396; }
.lw .days i.on { border-color: var(--navy); color: var(--navy); }
.lw .btn { justify-self: start; }

/* quotes */
.quote-sec { padding: clamp(60px, 7vw, 100px) 0; background: var(--b-soft); }
.qs { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.qq { margin: 0; }
.qq p { margin: 0 0 18px; font: italic 400 clamp(22px, 2.2vw, 30px)/1.45 var(--display); }
html[lang="ar"] .qq p { font-style: normal; font-size: 20px; }
.qq p::before { content: "“"; display: block; height: 40px; font: 400 80px/1 var(--display); color: var(--gold); }
.qq cite { font-style: normal; color: var(--mute); font-weight: 600; }

/* cta / contact */
.cta-in { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; align-items: start; }
.cta-in h2 { margin: 0 0 14px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; }
.cta-info h3 { margin: 0 0 6px; font: 600 14px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .cta-info h3 { letter-spacing: 0; }
.cta-info p { margin: 0 0 24px; }
.cta-in .vmap { min-height: 320px; overflow: hidden; }
.cta-in .vmap iframe { height: 100%; min-height: 320px; border-radius: 0; filter: grayscale(.5); }
.cta-in .btn-line { direction: ltr; }

/* footer */
.foot { padding: 70px 0 0; background: var(--ink); color: #C9CED8; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.foot .logo { color: #fff; }
.foot h3 { margin: 0 0 14px; color: #fff; font: 600 14px var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot-grid a:not(.logo) { display: block; margin-bottom: 8px; text-decoration: none; opacity: .85; }
.foot-grid a:hover { opacity: 1; color: var(--gold-2); }
.foot .links a { display: inline; margin-inline-end: 12px; }
.foot .links.col { flex-direction: column; gap: 6px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; opacity: .7; }
.foot-end p { margin: 0; }

/* other pages */
body:not([data-page="home"]) .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); }
body:not([data-page="home"]) .pa { min-height: 320px; }
.it-main { border-radius: 0; }

@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; padding: 14px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px; font-size: 18px; }
  .menu-btn { display: grid; place-items: center; }
  .tel { display: none; }
  .top-r { margin-inline-start: auto; }
  .ar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-in, .how-in, .qs, .cta-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .seal { width: 110px; height: 110px; bottom: -20px; inset-inline-start: -10px; }
  .lw-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; gap: 10px; }
  .nav { top: 66px; }
  .top-go { display: none; }
  .logo { font-size: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .nums { grid-template-columns: 1fr; margin-top: 60px; }
  .num { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .ar-grid, .lw-grid { grid-template-columns: 1fr; }
  .pa { min-height: 300px; padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
}
