/* Javed Chishti, Advocate High Court. v3 (19 Nov 2026): premium and modern.
   Deep ink and warm paper; one emerald for actions; champagne only for small details on dark.
   Noto Serif Display for the name, headings and large figures; Manrope for reading;
   Noto Nastaliq (subset) for Urdu. CSP is style-src 'self': no inline styles in the HTML.
   v2 (chamber nameplate, law-report spines) is kept at assets/v2/site.css, v1 at assets/v1/. */

@font-face { font-family: "Display"; src: url(/fonts/display.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Display"; src: url(/fonts/display-italic.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/sans.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Nastaliq"; src: url(/fonts/nastaliq.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0D1210; --ink-2: #121916; --ink-3: #1A231F; --ink-4: #26312C; --ink-deep: #080B0A;
  --paper: #F7F5F0; --stone: #EEEAE2; --white: #FFFFFF;
  --text: #121614; --muted: #454C48; --line: #D8D1C4; --line-2: #C4BCAD;
  --line-ui: #8A8273;   /* borders of form controls: 3.8:1 on white, 3.5:1 on paper (WCAG 1.4.11) */
  --em: #11654E; --em-dk: #0B4F3D; --em-hi: #86CBAE; --em-tx: #0B523F;
  --gold: #CDB384; --gold-hi: #E3D3AE; --gold-line: rgba(205, 179, 132, .16);
  --on-dark: #F2EFE8; --on-dark-1: #D9DEDA; --on-dark-2: #C9CFCB; --on-dark-3: #A9B1AB;
  --line-dark: rgba(242, 239, 232, .15); --line-dark-2: rgba(242, 239, 232, .26);
  --serif: "Display", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --urdu: "Nastaliq", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --label: 700 .8125rem/1.35 var(--sans); --label-ls: .12em;   /* every uppercase label: 13px, modest tracking */
  --gut: 20px; --max: 1240px; --r: 18px; --r-sm: 12px;
  --head: 68px; --dock: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 600px) { :root { --gut: 32px; } }
@media (min-width: 960px) { :root { --gut: 48px; --head: 84px; } }
@media (max-width: 959.98px) { :root { --dock: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 20px); }
/* a field focused by Tab or by an error message is not left behind the phone dock (--dock is 0 from 960px) */
html { scroll-padding-bottom: calc(var(--dock) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* pages cross-fade; the fixed header is its own layer, so it holds still */
  @view-transition { navigation: auto; }
  .site-head { view-transition-name: site-head; }
}
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; }
.dark :focus-visible, .site-head :focus-visible, .sheet :focus-visible, .dock :focus-visible { outline-color: var(--gold); }
::selection { background: var(--em); color: #fff; }
[lang="ur"] { font-family: var(--urdu); font-weight: 400; letter-spacing: 0; direction: rtl; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--em); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.is-hidden { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: calc(780px + 2 * var(--gut)); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
.dark { background: var(--ink); color: var(--on-dark); }
.alt { background: var(--stone); }

/* ---------------------------------------------------------------- type */
.h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 17ch; }
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.dark .lede { color: var(--on-dark-2); }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 700 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--em); }
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.dark .kicker { color: var(--gold); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lede { margin: 0; }
@media (min-width: 960px) { .sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 64px; } }
.h2 + p, .h2 + .lede, .h2 + .prose, .h2 + .numbered { margin-top: 26px; }
.gloss { margin-inline-start: 12px; font-size: 1.12em; line-height: 1; color: var(--muted); white-space: nowrap; }
.dark .gloss { color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font: 650 .98rem/1 var(--sans); letter-spacing: .005em; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .i-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--wa { background: var(--em); color: #fff; box-shadow: 0 14px 30px -16px rgba(17, 101, 78, .9); }
.btn--wa:hover { background: var(--em-dk); }
.btn--ghost { border-color: var(--line-dark-2); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(242, 239, 232, .06); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: var(--ink-4); }
.btn--line { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn .num { font-weight: 600; opacity: .9; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[hidden], .copy-chip[hidden] { display: none; }   /* their inline-flex would otherwise beat the hidden attribute (copy buttons without JS) */
@media (max-width: 599.98px) { .why-head .btn-row .btn, .lh-row .btn-row .btn, .ov-copy .btn-row .btn, .phero .btn-row .btn { flex: 1 1 auto; } }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--em);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow { color: var(--em-hi); }

/* ---------------------------------------------------------------- header (fixed, clears on the hero, glass once scrolled) */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--on-dark); border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s; }
.scrolled .site-head, .no-js .site-head { background: rgba(13, 18, 16, .84); border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 12px 30px -24px rgba(0, 0, 0, .8); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--head); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); min-width: 0; }
.mark { width: 40px; height: 40px; flex: none; color: var(--on-dark); }
.mark .mark-ring { stroke: var(--gold); }
.brand-txt { display: grid; line-height: 1.1; }
.brand-name { font: 400 1.32rem/1.05 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-role { margin-top: 5px; font: 700 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; }
@media (min-width: 960px) { .mark { width: 44px; height: 44px; } .brand-name { font-size: 1.45rem; } }
.nav { display: none; }
@media (min-width: 960px) {
  /* 18px at 1100, 22px at 1260, 24px at 1366, 26px at 1440, 34px from about 1820: room beside the logo once the phone number shows */
  .nav { display: flex; align-items: center; gap: clamp(14px, calc(2.2vw - 6px), 34px); }
  .nav > a:not(.btn), .nav-item > button { position: relative; padding: 10px 0; background: none; border: 0; cursor: pointer;
    color: var(--on-dark-2); font: 600 .94rem/1 var(--sans); text-decoration: none; transition: color .2s; }
  .nav > a:not(.btn):hover, .nav-item > button:hover, .nav-item:focus-within > button { color: #fff; }
  .nav > a[aria-current="page"], .nav-item.is-current > button { color: #fff; }
  .nav > a:not(.btn)::after, .nav-item > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after, .nav-item.is-current > button::after { transform: scaleX(1); }
  .nav .tel { color: var(--on-dark); font-weight: 600; }
  .nav-item { position: relative; }
  .nav-item > button { display: inline-flex; align-items: center; gap: 6px; }
  .nav-item > button svg { width: 14px; height: 14px; transition: transform .25s; }
  .nav-item:hover > button svg, .nav-item.is-open > button svg { transform: rotate(180deg); }
  .menu { position: absolute; top: calc(100% + 22px); left: 50%; width: 620px; transform: translate(-50%, 8px); display: grid;
    padding: 10px; background: var(--white); color: var(--text); border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .04);
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .menu::before { content: ""; position: absolute; inset: -24px 0 auto; height: 24px; }
  /* keyboard focus opens the menu only without JS; with JS, Enter on the button opens it (site.js) */
  .nav-item:hover .menu, .no-js .nav-item:focus-within .menu, .nav-item.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  /* closed by Escape or a click, even while the mouse is still over it */
  .nav-item.is-shut .menu { opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition-delay: 0s, 0s, .25s; }
  .nav-item.is-shut > button svg { transform: none; }
  .menu a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 2px 14px; padding: 16px 16px 16px 12px; text-decoration: none; border-radius: var(--r-sm); transition: background-color .2s; }
  .menu a:hover, .menu a:focus-visible, .menu a[aria-current] { background: var(--paper); }
  .menu .m-no { grid-row: span 2; align-self: start; padding-top: 4px; font: 400 1.05rem/1 var(--serif); color: var(--em); text-align: center; }
  .menu .m-no svg { width: 20px; height: 20px; margin-inline: auto; }
  .menu .m-name { font: 400 1.3rem/1.15 var(--serif); }
  .menu .m-ur { grid-row: span 2; font-size: 1.35rem; color: var(--muted); }
  .menu .m-sub { font-size: .86rem; line-height: 1.45; color: var(--muted); }
  .menu .m-ov { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }
  .menu .m-ov .m-ur { font-size: 1.05rem; }
}
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-dark-2);
  border-radius: 999px; background: rgba(13, 18, 16, .35); color: var(--on-dark); font: 650 .92rem/1 var(--sans); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 960px) { .menu-btn { display: none; } }
@media (min-width: 960px) and (max-width: 1259.98px) { .nav .tel { display: none; } }

/* mobile menu (a <dialog>) */
.sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain; }
html:has(.sheet[open]) { overflow: hidden; }   /* the page behind the open menu does not scroll */
.sheet::backdrop { background: rgba(0, 0, 0, .6); }
.sheet[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) { .sheet[open] { animation: sheet-in .35s var(--ease); } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-12px); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: var(--head); padding-inline: var(--gut); border-bottom: 1px solid var(--line-dark); flex: none; }
.sheet-body { flex: 1; padding: 16px var(--gut) 24px; }
.sheet-nav > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font: 400 2rem/1.1 var(--serif); letter-spacing: -.015em; text-decoration: none; }
.sheet-nav > a[aria-current="page"] { color: var(--gold); }
.sheet-nav .sub { padding: 6px 0 10px; border-bottom: 1px solid var(--line-dark); }
.sheet-nav .sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0 9px 2px; font: 600 1.02rem/1.3 var(--sans); color: var(--on-dark-2); text-decoration: none; }
.sheet-nav .sub a[aria-current] { color: var(--gold); }
.sheet-nav .sub [lang="ur"] { font-size: 1.1rem; line-height: 1.5; color: var(--gold); }
.sheet-foot { display: grid; gap: 10px; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); }
.sheet-foot .btn { width: 100%; }
.sheet-foot p { margin: 6px 0 0; font-size: .875rem; color: var(--on-dark-2); text-align: center; }

/* phone dock: hidden while the page's own call-to-action is on screen and while a form field is being typed in.
   visibility (switched after the slide) keeps the hidden links out of the tab order and the accessibility tree. */
.dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(13, 18, 16, .9); border-top: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); transition: transform .35s var(--ease); }
.js .dock { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.js.dock-on .dock { transform: none; visibility: visible; transition-delay: 0s; }
.js.dock-on.typing .dock { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; color: var(--on-dark);
  text-decoration: none; font: 650 .92rem/1 var(--sans); border: 1px solid var(--line-dark-2); }
.dock a svg { width: 19px; height: 19px; }
.dock a.wa { background: var(--em); border-color: var(--em); color: #fff; }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------------------------------------------------------------- hero (home), v3.1 "studio portrait"
   The portrait is a background-free cutout with the studio light baked in (tools/hero_cut.py, tools/bake.mjs),
   standing on the ink ground in an emerald light pool. The photo crops his crown, so the figure's top always
   meets the header rule (stage top = --head). Z order: grain 0, stage 1, scrims 2, copy and facts 4, header 50. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--head);
  background: radial-gradient(70% 60% at 0% 100%, rgba(17, 101, 78, .10), transparent 70%), linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 34%, #0B100E 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(/img/grain.png) 0 0 / 160px 160px repeat; opacity: .8; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 10, .42) 0, rgba(8, 11, 10, .42) var(--head), rgba(8, 11, 10, 0) calc(var(--head) + 56px)),
    radial-gradient(130% 100% at 62% 42%, transparent 52%, rgba(4, 6, 5, .6) 100%); }
.hero-stage { position: relative; z-index: 1; }
.hero-stage::before { content: ""; position: absolute; inset: -20% -40% -10% -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(22% 30% at 50% 50%, rgba(36, 128, 98, .50) 0%, rgba(22, 92, 71, .26) 50%, transparent 100%),
    radial-gradient(40% 46% at 50% 56%, rgba(17, 101, 78, .22) 0%, transparent 100%),
    radial-gradient(16% 22% at 72% 38%, rgba(214, 186, 136, .09) 0%, transparent 100%); }
.hero-fig { position: absolute; inset: 0;
  -webkit-mask-image: var(--mv), var(--me); -webkit-mask-composite: source-in; mask-image: var(--mv), var(--me); mask-composite: intersect; }
.hero-fig img { width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 4; }
.hero-copy { display: grid; justify-items: start; }
.hero-over { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; font: 700 .8125rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.hero-over i { font-style: normal; padding-inline: .45em; color: rgba(205, 179, 132, .55); }
.hero-h1 { display: grid; gap: clamp(14px, 2.4vh, 28px); margin: 0; }
.hero-name { font: 450 clamp(2.75rem, 13.2vw, 4.5rem)/.98 var(--serif); letter-spacing: -.02em; color: var(--on-dark); }
.hero-name > span { display: block; white-space: nowrap; }
.hero-role { display: flex; align-items: center; gap: 14px; font: italic 500 1.5rem/1.2 var(--serif); letter-spacing: 0; color: var(--gold-hi); }
.hero-role::before { content: ""; width: 32px; height: 1px; background: rgba(205, 179, 132, .7); flex: none; }
.hero-ur { width: fit-content; margin: 2px 0 0; font-size: 1.4375rem; line-height: 1.95; color: var(--gold); text-align: left; }
.hero-tag { margin: 8px 0 0; max-width: 25em; font: 500 1.125rem/1.55 var(--sans); color: var(--on-dark-1); text-wrap: balance; }
.hero .btn-row { width: 100%; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero .btn { width: 100%; min-height: 58px; }
.hero .btn .num { font-weight: 500; font-variant-numeric: lining-nums proportional-nums; }
.hero-time { display: none; }
.hero-band { position: relative; z-index: 4; border-top: 1px solid rgba(205, 179, 132, .20); background: rgba(9, 13, 11, .6); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 0; }
.hero-facts > div { padding: 20px 14px 22px 0; }
.hero-facts > div:nth-child(even) { padding: 20px 0 22px 16px; border-left: 1px solid var(--line-dark); }
.hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
.hero-facts dt { margin: 0 0 8px; font: 700 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.hero-facts dd { margin: 0; display: grid; gap: 8px; font: 500 1rem/1.5 var(--sans); color: var(--on-dark-2); }
.hero-facts dd b { font: 450 1.375rem/1.1 var(--serif); letter-spacing: -.01em; color: var(--on-dark); text-wrap: balance; }
.hero-facts dd b.num { font-size: 2.25rem; line-height: 1; }
.hero-facts a { display: grid; gap: 8px; text-decoration: none; }
.hero-facts a svg { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-left: 4px; color: var(--em-hi); transition: transform .3s var(--ease); }
.hero-facts a:hover b { color: #fff; }
.hero-facts a:hover svg { transform: translateX(3px); }

/* phones and tablets: the stage joins the flow under the header, the shoulders bleed off both edges */
@media (max-width: 1023.98px) {
  .hero { --mh: clamp(330px, 104vw, 480px); display: flex; flex-direction: column; }
  .hero-stage { width: 100%; height: calc(var(--mh) * .8); }
  .hero-fig { left: 50%; right: auto; width: var(--mh); height: var(--mh); margin-left: calc(var(--mh) * -.555);
    --mv: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, .35) 66%, transparent 80%);
    --me: radial-gradient(80% 72% at 55% 44%, #000 70%, transparent 100%); }
  .hero-in { margin-top: calc(var(--mh) * -.1); padding-bottom: 28px; }
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  .hero { --mh: clamp(480px, 62vw, 600px); }
  .hero-copy { max-width: 40rem; }
  .hero .btn-row { flex-direction: row; width: auto; }
  .hero .btn { width: auto; }
}
@media (max-width: 379.98px) { .hero-over { letter-spacing: .06em; } .hero-over i { padding-inline: .3em; } }
@media (max-width: 339.98px) { .hero-over { gap: 2px 12px; } .hero-over i { display: none; } }

/* desktop: full screen, the figure placed so his head sits at about three quarters of the container */
@media (min-width: 1024px) {
  .hero { --hh: clamp(720px, 100svh, 1120px); --fh: clamp(560px, calc(var(--hh) * .8), 860px);
    --cl: max(var(--gut), (100% - var(--max)) / 2); --cw: min(100% - 2 * var(--gut), var(--max)); --hx: .755;
    min-height: var(--hh); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .hero-stage { position: absolute; top: var(--head); width: var(--fh); height: var(--fh);
    left: calc(var(--cl) + var(--cw) * var(--hx) + max(0px, (100% - 1440px) * .12) - var(--fh) * .555); }
  .hero-fig { --mv: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%); --me: radial-gradient(62% 64% at 55% 46%, #000 72%, transparent 100%); }
  .hero::after { background: linear-gradient(180deg, rgba(8, 11, 10, .42) 0, rgba(8, 11, 10, .42) var(--head), rgba(8, 11, 10, 0) calc(var(--head) + 56px)),
      linear-gradient(90deg, rgba(13, 18, 16, .78) 0%, rgba(13, 18, 16, .5) calc(var(--cl) + var(--cw) * .40), rgba(13, 18, 16, 0) calc(var(--cl) + var(--cw) * .56)),
      radial-gradient(130% 100% at 62% 42%, transparent 52%, rgba(4, 6, 5, .6) 100%); }
  .hero-in { display: flex; align-items: center; padding-block: clamp(24px, 4vh, 56px); }
  .hero-copy { max-width: min(58%, 720px); }
  .hero-over { gap: 0; margin-bottom: clamp(18px, 2.8vh, 34px); font-size: .875rem; letter-spacing: .14em; }
  .hero-over i { padding-inline: .75em; }
  .hero-name { font-size: clamp(3.75rem, min(7.4vw, 11.6vh), 7.25rem); }
  .hero-role { gap: 16px; font-size: clamp(1.5rem, min(2.1vw, 3.6vh), 1.9375rem); }
  .hero-role::before { width: 44px; }
  .hero-ur { margin-top: clamp(4px, 1.1vh, 14px); font-size: clamp(1.5rem, min(1.9vw, 3.3vh), 1.8125rem); }
  .hero-tag { margin-top: clamp(10px, 1.6vh, 18px); font-size: clamp(1.125rem, 1.45vw, 1.3125rem); }
  .hero .btn-row { flex-direction: row; flex-wrap: nowrap; width: auto; gap: 14px; margin-top: clamp(22px, 3.8vh, 44px); }
  .hero .btn { width: auto; min-height: 60px; padding: 0 30px; font-size: 1.0625rem; }
  .hero-time { position: absolute; right: var(--gut); bottom: 28px; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 16px 9px 13px;
    border-radius: 999px; border: 1px solid rgba(242, 239, 232, .16); background: rgba(10, 14, 12, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font: 600 .875rem/1 var(--sans); color: var(--on-dark-2); }
  .hero-time svg { width: 16px; height: 16px; color: var(--gold); }
  .hero-time b { color: var(--on-dark); font-weight: 700; }
  .hero-band { background: linear-gradient(180deg, rgba(9, 13, 11, .42), rgba(9, 13, 11, .82)); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-facts > div, .hero-facts > div:nth-child(n) { padding: clamp(18px, 2.7vh, 30px) 28px clamp(20px, 3.1vh, 34px); border-top: 0; border-left: 1px solid var(--line-dark); }
  .hero-facts > div:first-child { padding-left: 0; border-left: 0; }
  .hero-facts > div:last-child { padding-right: 0; }
  .hero-facts dt { margin-bottom: 12px; }
  .hero-facts dd { font-size: 1.0625rem; }
  .hero-facts dd b { font-size: clamp(1.75rem, 2.3vw, 2.25rem); }
  .hero-facts dd b.num { font-size: clamp(2.25rem, 3vw, 2.75rem); }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .hero { --hx: .80; }
  .hero-name { font-size: clamp(3.5rem, 6.6vw, 5.25rem); }
  .hero-role { font-size: 1.5rem; }
  .hero-copy { max-width: 56%; }
  .hero .btn { padding: 0 22px; }
  .hero-facts > div, .hero-facts > div:nth-child(n) { padding-inline: 20px; }
  .hero-facts > div:first-child { padding-left: 0; }
  .hero-facts > div:last-child { padding-right: 0; }
  .hero-facts dd b { font-size: 1.45rem; white-space: nowrap; }
  .hero-facts dd b.num { font-size: 2.25rem; }
}
@media (min-width: 1024px) and (max-width: 1439.98px) { .hero-facts dd { font-size: 1rem; } }
@media (min-width: 1024px) and (max-height: 840px) {
  .hero-name { font-size: clamp(3.5rem, min(7vw, 10.4vh), 6.5rem); }
  .hero-over { margin-bottom: 16px; }
  .hero-h1 { gap: 18px; }
  .hero-ur { margin-top: 2px; line-height: 2; }
  .hero-tag { margin-top: 8px; font-size: 1.125rem; }
  .hero .btn-row { margin-top: 26px; }
  .hero-facts > div, .hero-facts > div:nth-child(n) { padding-block: 14px 18px; }
  .hero-facts dt { margin-bottom: 6px; }
  .hero-facts dd { gap: 4px; }
  .hero-facts dd b.num { font-size: 2.1rem; }
}

/* ---------------------------------------------------------------- practice index */
.areas { border-top: 1px solid var(--line-2); counter-reset: a; }
.area { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: baseline; gap: 6px 14px; padding: 28px 0 30px;
  border-bottom: 1px solid var(--line-2); text-decoration: none; isolation: isolate; }
.area::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gut)); background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease); }
.area-no { font: 400 1rem/1 var(--serif); color: var(--em); transition: color .4s; }
.area-name { font: 400 clamp(1.9rem, 6vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.025em; transition: color .4s; }
.area-ur { font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.4; color: var(--muted); transition: color .4s; }
.area-lead { grid-column: 2 / -1; max-width: 44ch; color: var(--muted); font-size: 1rem; line-height: 1.55; transition: color .4s; }
.area-meta { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 600 .8rem/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); transition: color .4s; }
.area-meta b { font-weight: 800; color: var(--text); transition: color .4s; }
.area-meta i { font-style: normal; opacity: .5; }
.area-go { display: none; }
/* a focused row inverts like a hovered one, every text turned light; hover only where a mouse can hover,
   so a tapped row does not stay inverted after Back on a phone */
.area:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.area:focus-visible .area-name, .area:focus-visible .area-meta b { color: #fff; }
.area:focus-visible .area-ur, .area:focus-visible .area-no { color: var(--gold); }
.area:focus-visible .area-lead, .area:focus-visible .area-meta { color: var(--on-dark-2); }
.area:focus-visible { outline-color: var(--gold); outline-offset: -4px; }
@media (hover: hover) {
  .area:hover::before { transform: scaleY(1); transform-origin: top; }
  .area:hover .area-name, .area:hover .area-meta b { color: #fff; }
  .area:hover .area-ur, .area:hover .area-no { color: var(--gold); }
  .area:hover .area-lead, .area:hover .area-meta { color: var(--on-dark-2); }
}
@media (min-width: 900px) {
  .area { grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1fr) 64px; grid-template-rows: auto auto; align-items: center; gap: 8px 32px; padding: 40px 0 42px; }
  .area-no { grid-row: 1 / 3; align-self: start; padding-top: 14px; font-size: 1.1rem; }
  .area-name { grid-column: 2; grid-row: 1; font-size: clamp(2.6rem, 4.4vw, 3.9rem); }
  .area-ur { grid-column: 2; grid-row: 2; justify-self: start; font-size: 1.7rem; line-height: 1.6; }
  .area-lead { grid-column: 3; grid-row: 1; align-self: end; font-size: 1.04rem; }
  .area-meta { grid-column: 3; grid-row: 2; align-self: start; }
  .area-go { grid-column: 4; grid-row: 1 / 3; justify-self: end; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid var(--line-2); transition: background-color .4s var(--ease), border-color .4s, color .4s, transform .5s var(--ease); }
  .area-go svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
  .area:focus-visible .area-go { background: var(--em); border-color: var(--em); color: #fff; }
  .area:focus-visible .area-go svg { transform: rotate(-45deg); }
}
@media (min-width: 900px) and (hover: hover) {
  .area:hover .area-go { background: var(--em); border-color: var(--em); color: #fff; }
  .area:hover .area-go svg { transform: rotate(-45deg); }
}
@media (min-width: 900px) and (hover: hover) { .area::before { inset: 0 -28px; border-radius: 6px; } }

/* ---------------------------------------------------------------- split media/text */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.split--text { align-items: start; }
@media (min-width: 960px) { .split--text { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.portrait { position: relative; margin: 0; max-width: 520px; }
.portrait picture { overflow: hidden; border-radius: 4px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; filter: saturate(.85) contrast(1.03); }
.portrait figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
  font: 400 1.1rem/1.3 var(--serif); }
.portrait figcaption span { font: 700 .7rem/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.portrait--hero { justify-self: center; width: 100%; max-width: 420px; }
.portrait--hero img { aspect-ratio: 4 / 4.6; }
.prose p { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose .h2 { margin-bottom: 0; }
.numbered { counter-reset: para; }
.numbered p { position: relative; counter-increment: para; padding-left: 52px; }
.numbered p::before { content: counter(para, decimal-leading-zero); position: absolute; left: 0; top: .1em; font: 400 1.05rem/1.6 var(--serif); color: var(--em); }
.numbered p::after { content: ""; position: absolute; left: 30px; top: .95em; width: 12px; height: 1px; background: var(--line-2); }
.quals { display: grid; margin: 0; border-top: 1px solid var(--line-2); }
.quals > div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.quals dt { font: 700 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quals dd { margin: 0; font: 400 1.35rem/1.3 var(--serif); letter-spacing: -.01em; }
@media (min-width: 900px) { .quals { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; } .quals > div { padding: 26px 0 28px; } }
.quals--mini { margin: 32px 0; }
.quals--mini dd { font-size: 1.15rem; }
@media (min-width: 900px) { .quals--mini { grid-template-columns: 1fr; } .quals--mini > div { grid-template-columns: 190px 1fr; align-items: baseline; padding: 16px 0; } }

/* ---------------------------------------------------------------- Pothohar band + overseas */
.land { position: relative; margin: 0; background: var(--ink); overflow: hidden; }
.land img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; }
@media (min-width: 720px) { .land img { aspect-ratio: 21 / 8; } }
.land::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 18, 16, .15), rgba(13, 18, 16, .55)); pointer-events: none; }
.land figcaption, .ov-photo figcaption { position: absolute; z-index: 2; right: 10px; top: 10px; padding: 3px 8px; border-radius: 999px; font-size: .72rem; color: rgba(255, 255, 255, .86); background: rgba(0, 0, 0, .38); }
.land figcaption a, .ov-photo figcaption a { color: inherit; }
.land-cap { position: absolute; z-index: 2; left: var(--gut); bottom: 16px; margin: 0; font-size: clamp(1.5rem, 4.4vw, 2.6rem); line-height: 1.9; color: #fff; text-align: left; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }

.ov-band { position: relative; overflow: hidden; isolation: isolate; }
.ov-photo { position: relative; margin: 0; }
.ov-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; }
.ov-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 18, 16, .1) 40%, var(--ink)); pointer-events: none; }
.ov-photo .land-cap { left: auto; right: var(--gut); bottom: 10px; }
.ov-in { position: relative; padding-block: 8px clamp(40px, 6vw, 64px); }
@media (min-width: 900px) {
  .ov-band { min-height: 680px; display: flex; align-items: flex-end; }
  .ov-photo { position: absolute; inset: 0; z-index: -1; }
  .ov-photo picture { position: absolute; inset: 0; }
  .ov-photo img { height: 100%; aspect-ratio: auto; }
  .ov-photo::after { background: linear-gradient(90deg, rgba(13, 18, 16, .92) 0%, rgba(13, 18, 16, .7) 38%, rgba(13, 18, 16, .05) 72%), linear-gradient(180deg, rgba(13, 18, 16, 0) 60%, var(--ink)); }
  .ov-photo .land-cap { bottom: 64px; }
  .ov-in { padding-block: 120px 96px; }
  .ov-copy { max-width: 620px; }
}
.ov-copy .lede { margin-bottom: 30px; }
.ov-body { padding-top: 0; }
.ov-grid { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.ov-grid li { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border: 1px solid var(--line-dark); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(242, 239, 232, .035), rgba(242, 239, 232, 0)); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.ov-grid li:hover { border-color: var(--line-dark-2); transform: translateY(-2px); }
.ov-no { font: 400 1rem/1 var(--serif); color: var(--gold); }
.ov-grid h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
.ov-grid h3 a { text-decoration: none; }
.ov-grid h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ov-grid p { margin: 0; font-size: .98rem; color: var(--on-dark-2); }
.ov-grid--light li { border-color: var(--line); background: var(--white); box-shadow: 0 20px 40px -34px rgba(13, 18, 16, .5); }
.ov-grid--light li:hover { border-color: var(--line-2); }
.ov-grid--light .ov-no { color: var(--em); }
.ov-grid--light p { color: var(--muted); }

/* clocks: a panel (overseas page hero) or a strip (home) */
.clocks { border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(242, 239, 232, .03); overflow: hidden; }
.clocks-h { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 20px; font: 700 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); border-bottom: 1px solid var(--line-dark); }
.clocks-h svg { width: 16px; height: 16px; color: var(--gold); }
.clocks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clocks li { display: grid; gap: 4px; padding: 18px 20px; border-bottom: 1px solid var(--line-dark); }
.clocks li:nth-child(even) { border-right: 1px solid var(--line-dark); }
.clocks li.home { grid-column: 1 / -1; border-right: 0; background: rgba(17, 101, 78, .2); }
.clocks small { font: 600 .8rem/1.3 var(--sans); color: var(--on-dark-2); }
.clocks b { font: 300 clamp(1.9rem, 6vw, 2.4rem)/1.05 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; color: var(--on-dark); }
.clocks li.home b { font-size: clamp(2.6rem, 9vw, 3.4rem); }
.clocks li.home small { color: var(--gold); }
.clocks span { font-size: .84rem; color: var(--on-dark-3); }
.clocks-note { margin: 0; padding: 14px 20px; font-size: .84rem; color: var(--on-dark-3); }
@media (min-width: 900px) {
  .clocks--strip ul { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
  .clocks--strip li, .clocks--strip li:nth-child(even) { border-bottom: 0; border-right: 1px solid var(--line-dark); padding: 22px 24px 24px; }
  .clocks--strip li.home { grid-column: auto; }
  .clocks--strip li:last-child, .clocks--strip li:nth-last-child(2):has(+ .is-hidden) { border-right: 0; }
  .clocks--strip ul:has(> li[data-local]:not(.is-hidden)) { grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); }
  .clocks--strip .clocks-note { border-top: 1px solid var(--line-dark); }
}

.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .docs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.docs li { display: grid; gap: 2px; align-content: start; padding: 16px 16px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.docs b { font: 600 .95rem/1.35 var(--sans); }
.docs [lang="ur"] { font-size: 1.2rem; line-height: 1.9; color: var(--em); text-align: left; }
.docs-h { margin: clamp(48px, 6vw, 72px) 0 18px; }

/* ---------------------------------------------------------------- why choose */
.why-wrap { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 1000px) {
  .why-wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 96px; align-items: start; }
  .why-head { position: sticky; top: calc(var(--head) + 48px); }
}
.why-head .h2 { margin-bottom: 32px; }
.why { border-top: 1px solid var(--line-2); }
.why li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line-2);
  font: 400 clamp(1.25rem, 2.4vw, 1.6rem)/1.32 var(--serif); letter-spacing: -.01em; }
.why-no { font: 600 .8rem/1 var(--sans); letter-spacing: .08em; color: var(--em); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- philosophy */
.phil-sec { position: relative; overflow: hidden; isolation: isolate; }
.phil-sec::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 1100px; height: 700px; transform: translate(-50%, -45%);
  background: radial-gradient(closest-side, rgba(205, 179, 132, .12), rgba(205, 179, 132, 0)); pointer-events: none; }
.phil { display: grid; justify-items: center; text-align: center; max-width: calc(980px + 2 * var(--gut)); }
.phil .kicker::after { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.phil .h2 { max-width: none; font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--sans); font-weight: 600; letter-spacing: .01em; color: var(--on-dark-2); }
.phil-first { margin: 28px 0 0; font: italic 300 clamp(1.85rem, 4.6vw, 3.4rem)/1.18 var(--serif); letter-spacing: -.02em; color: #fff; max-width: 24ch; text-wrap: balance; }
.phil-cols { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-dark); text-align: left; }
.phil-cols p { margin: 0; color: var(--on-dark-2); }
@media (min-width: 800px) { .phil-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; gap: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 0; padding: 26px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.st-no { grid-row: span 2; font: 300 2rem/1 var(--serif); color: var(--em); letter-spacing: -.02em; }
.steps h3 { font-size: 1.45rem; margin: 2px 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 48ch; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li, .steps li:last-child { grid-template-columns: 1fr; padding: 30px 0 0; border-bottom: 0; }
  .steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--em); }
  .st-no { grid-row: auto; margin-bottom: 26px; font-size: 3.4rem; }
}
.dark .steps li { border-color: var(--line-dark); }
.dark .steps p { color: var(--on-dark-2); }

/* ---------------------------------------------------------------- inner page hero */
.phero { position: relative; overflow: hidden; isolation: isolate; padding-top: var(--head); }
.phero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(17, 101, 78, .26), rgba(17, 101, 78, 0)); pointer-events: none; }
.phero--shajra::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url(/img/shajra.svg) center/cover no-repeat; opacity: .13; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); mask-image: linear-gradient(90deg, transparent 10%, #000 70%); }
.phero-in { position: relative; display: grid; gap: 40px; padding-block: clamp(36px, 7vw, 88px) clamp(56px, 8vw, 104px); }
@media (min-width: 960px) {
  .phero-in--side { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 80px; }
  .phero-in--photo { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 80px; }
}
.phero--short .phero-in { padding-bottom: clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 30px; font: 600 .8rem/1.4 var(--sans); letter-spacing: .02em; color: var(--on-dark-3); }
.crumbs a { text-decoration: none; color: var(--on-dark-2); } .crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin-inline-end: 10px; vertical-align: middle; background: var(--on-dark-3); }
.crumbs [aria-current] { color: var(--gold); }
.phero h1 { display: grid; gap: 18px; margin-bottom: 24px; }
.phero .display { font: 300 clamp(2.6rem, 8.6vw, 5.6rem)/1 var(--serif); letter-spacing: -.035em; color: #fff; max-width: 14ch; }
.phero .seo { display: flex; align-items: center; gap: 14px; font: 700 .76rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.phero .seo::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.phero .intro { font: italic 300 clamp(1.3rem, 2.6vw, 1.7rem)/1.35 var(--serif); color: var(--on-dark); max-width: 36ch; margin: 0 0 16px; }
.phero .lede { margin-bottom: 32px; }
.phero .clocks { background: rgba(242, 239, 232, .04); }
.area-card { display: grid; gap: 0; padding: 26px 26px 22px; border: 1px solid var(--line-dark); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(242, 239, 232, .07), rgba(242, 239, 232, .015)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ac-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.ac-no { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--on-dark-3); padding-top: 12px; }
.ac-ur { font-size: clamp(2.8rem, 8vw, 3.8rem); line-height: 1.5; color: var(--gold); }
.ac-h { margin: 18px 0 8px; font: 700 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); }
.ac-laws li { padding: 9px 0; border-bottom: 1px solid var(--line-dark); font: 400 1.12rem/1.35 var(--serif); color: var(--on-dark); }
.ac-meta { margin: 16px 0 0; font-size: .9rem; color: var(--on-dark-2); }
.ac-meta b { font-weight: 800; color: var(--on-dark); }

/* ---------------------------------------------------------------- practice body */
.pbody { display: grid; gap: clamp(48px, 6vw, 72px); }
@media (min-width: 1040px) { .pbody { grid-template-columns: minmax(0, 1fr) 340px; gap: 88px; align-items: start; } }
.matters { margin-top: 28px; border-top: 1px solid var(--line-2); counter-reset: m; }
.matters li { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.m-n { font: 600 .8rem/1 var(--sans); letter-spacing: .06em; color: var(--em); font-variant-numeric: tabular-nums; }
.matters p { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.matters .gloss { float: right; margin: 0 0 0 16px; font-size: 1.2rem; line-height: 1.3; color: var(--em); }
@media (min-width: 720px) { .matters li { padding: 20px 0; } .matters p { font-size: 1.14rem; } }
.ladder-wrap { margin-top: clamp(48px, 6vw, 72px); }
.ladder-h { margin: 0 0 22px; font: 700 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ladder { position: relative; display: grid; gap: 0; counter-reset: l; }
.ladder li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.ladder li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--em); background: var(--paper); z-index: 1; }
.ladder li:last-child::before { background: var(--em); }
.ladder::before { content: ""; position: absolute; left: 8px; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); }
.ladder b { font: 400 1.2rem/1.3 var(--serif); font-weight: 400; }
.ladder [lang="ur"] { font-size: 1.15rem; line-height: 1.6; color: var(--em); }
@media (min-width: 760px) {
  .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .ladder::before { left: 4px; right: 4px; top: 4px; bottom: auto; width: auto; height: 1px; }
  .ladder li { display: grid; align-content: start; gap: 4px; padding: 26px 0 0; border: 0; }
  .ladder li::before { left: 0; top: 0; }
  .ladder [lang="ur"] { justify-self: start; }
}
.approach { margin-top: clamp(48px, 6vw, 72px); padding: 6px 0 6px 28px; border-left: 2px solid var(--em); }
.approach h2 { font: 700 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--em); margin-bottom: 14px; }
.approach p { margin: 0; font: italic 300 clamp(1.4rem, 2.8vw, 1.85rem)/1.38 var(--serif); letter-spacing: -.01em; }
.aside { display: grid; gap: 18px; }
@media (min-width: 1040px) { .aside { position: sticky; top: calc(var(--head) + 28px); } }
.card { padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(13, 18, 16, .55); }
.card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--muted); }
.card .btn { width: 100%; margin-top: 10px; }
.person { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.person b { display: block; font: 400 1.2rem/1.2 var(--serif); }
.person span { font: 700 .66rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.side-nav { display: grid; padding: 8px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.side-nav p { margin: 12px 0 4px; font: 700 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.side-nav a { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); text-decoration: none; font: 400 1.12rem/1.2 var(--serif); }
.side-nav a [lang="ur"] { font-size: 1.05rem; line-height: 1.4; color: var(--muted); }
.side-nav a svg { width: 16px; height: 16px; color: var(--em); transition: transform .3s var(--ease); }
.side-nav a:hover svg { transform: translateX(3px); }
.side-nav a:hover > span:first-child { color: var(--em); }

/* ---------------------------------------------------------------- contact */
.contact-sec { position: relative; overflow: hidden; isolation: isolate; }
.contact-sec::before { content: ""; position: absolute; z-index: -1; left: -15%; bottom: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(17, 101, 78, .22), rgba(17, 101, 78, 0)); pointer-events: none; }
.contact { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1040px) { .contact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } }
.letterhead { display: grid; margin-top: 34px; border-top: 1px solid var(--line-dark-2); }
.lh-row { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.lh-row small { font: 700 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); }
.lh-num { font: 300 clamp(2.1rem, 7.4vw, 3.1rem)/1.05 var(--serif); letter-spacing: -.02em; text-decoration: none; color: #fff; }
.lh-num:hover { color: var(--em-hi); }
.lh-mail { font: 400 clamp(1.15rem, 4vw, 1.5rem)/1.3 var(--serif); text-decoration: none; overflow-wrap: anywhere; color: var(--on-dark); }
.lh-mail:hover { color: var(--em-hi); }
.lh-row .btn-row { margin-top: 8px; }
/* copy buttons sit beside the number and the email they copy, so the action rows keep two buttons and never wrap */
.lh-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.copy-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-dark-2); border-radius: 999px; background: none; color: var(--on-dark-1); font: 600 .875rem/1 var(--sans); cursor: pointer; transition: color .2s, border-color .2s; }
.copy-chip svg { width: 16px; height: 16px; flex: none; }
.copy-chip:hover { color: #fff; border-color: rgba(242, 239, 232, .5); }
.copy-chip.is-done { color: var(--em-hi); border-color: var(--em-hi); }
.lh-place { margin: 0; font: 400 1.2rem/1.35 var(--serif); }
.lh-place [lang="ur"] { display: block; font-size: 1.2rem; line-height: 2; color: var(--gold); text-align: left; }
.topics { margin-top: 30px; }
.topics h3 { font: 700 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 14px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--line-dark-2);
  border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--on-dark); transition: border-color .25s, background-color .25s; }
.topic-list a svg { width: 16px; height: 16px; color: var(--em-hi); }
.topic-list a:hover { border-color: var(--em-hi); background: rgba(134, 203, 174, .08); }
.qr { display: none; }
@media (min-width: 1040px) and (hover: hover) {
  .qr { display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: center; margin-top: 30px; padding: 14px 20px 14px 14px;
    border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(242, 239, 232, .03); }
  .qr svg { width: 104px; height: 104px; border-radius: 8px; }
  .qr p { margin: 0; font-size: .92rem; color: var(--on-dark-2); }
  .qr b { display: block; margin-bottom: 2px; color: var(--on-dark); font: 400 1.2rem/1.3 var(--serif); }
}
.contact-form { min-width: 0; }
.form-wrap { border-radius: var(--r); background: var(--white); color: var(--text); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-wrap > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px; list-style: none; cursor: pointer; }
.form-wrap > summary > span { display: grid; gap: 2px; font: 600 .8rem/1.3 var(--sans); color: var(--muted); }
.form-wrap > summary b { font: 400 1.5rem/1.2 var(--serif); color: var(--text); }
.form-wrap > summary::-webkit-details-marker { display: none; }
.form-wrap > summary svg { width: 22px; height: 22px; flex: none; padding: 0; transition: transform .3s var(--ease); }
.form-wrap[open] > summary { border-bottom: 1px solid var(--line); }
.form-wrap[open] > summary svg { transform: rotate(180deg); }
.form-wrap .form { border-radius: 0; box-shadow: none; }
.form { padding: clamp(22px, 4vw, 40px); border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form > h2, .form > h3 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.form > p { color: var(--muted); font-size: .96rem; }
.fgrid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .f-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field > .lbl { font: 700 .88rem/1.3 var(--sans); }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 10px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--line-ui); border-radius: var(--r-sm); background: var(--paper); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 144px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--em); box-shadow: 0 0 0 4px rgba(17, 101, 78, .16); }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: #A3281C; box-shadow: 0 0 0 4px rgba(163, 40, 28, .12); }
.field ::placeholder { color: #8A918C; }
.hint { font-size: .84rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-ui); border-radius: 999px;
  background: var(--white); font-size: .92rem; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid var(--em-hi); border-bottom: 2px solid var(--em-hi); transform: rotate(-45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--em); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--em); }
.form .btn { width: 100%; margin-top: 8px; min-height: 58px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); font-size: .96rem; line-height: 1.5; }
.alert.show { display: block; }
.alert--bad { background: #FBEAE6; color: #7A1D13; border: 1px solid #EDBFB6; }
/* a field's own error, under it (site.js): 7.3:1 on white. The .form prefix beats ".dark p" (forms sit in dark sections) */
.form .f-err { margin: 0; font: 600 .9375rem/1.45 var(--sans); color: #A3281C; }
/* consent: starts under the label text (22px box column + 12px gap); -12px pulls it toward the box against the 20px grid gap */
.form .f-err--check { margin-top: -12px; padding-left: 34px; }   /* .form scope: beats .form .f-err { margin: 0 } */
.check input[aria-invalid=true] { outline: 2px solid #A3281C; outline-offset: 2px; }
.fine { margin: 16px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-foot { position: relative; background: #080C0A; color: var(--on-dark-2); font-size: .96rem; border-top: 1px solid var(--line-dark);
  padding-block: clamp(56px, 8vw, 104px) calc(30px + var(--dock) + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-bottom: clamp(32px, 5vw, 56px); margin-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line-dark); }
.foot-mark { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); color: var(--on-dark); text-decoration: none; }
.foot-mark .mark { width: clamp(52px, 8vw, 96px); height: auto; }
.foot-mark span { font: 300 clamp(2.6rem, 9vw, 6.6rem)/.95 var(--serif); letter-spacing: -.04em; }
.foot-ur { margin: 0; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 2; color: var(--gold); text-align: left; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .foot-about { grid-column: auto; } }
.foot-tag { max-width: 30ch; margin-bottom: 20px; font: italic 300 1.3rem/1.4 var(--serif); color: var(--on-dark); }
.site-foot h2 { font: 700 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 18px; }
.site-foot li { margin-bottom: 10px; }
.site-foot a:not(.btn):not(.foot-mark) { text-decoration: none; transition: color .2s; }
.site-foot a:not(.btn):not(.foot-mark):hover { color: #fff; }
.foot-mail { overflow-wrap: anywhere; }
.foot-ur2 { margin: 2px 0 0; font-size: 1.15rem; line-height: 2; color: var(--gold); text-align: left; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--on-dark-3); }
.foot-base nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.disclaimer { max-width: 76ch; margin-top: 44px; font-size: .84rem; line-height: 1.6; color: var(--on-dark-3); }

/* ---------------------------------------------------------------- misc pages */
.fn-sec .h2 { max-width: none; }
.doc h2 { font-size: 1.8rem; margin: 44px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.credits li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.credits small { display: block; color: var(--muted); }
.nf-cta { margin: 0 0 32px; }
/* 404 on phones: WhatsApp and Call share one row (about 280px of room at 320px) */
@media (max-width: 599.98px) { .nf-cta .btn { flex: 1 1 auto; padding-inline: 20px; } }
.thanks-ref { display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--stone); color: var(--em); font: 700 1.05rem/1 var(--sans); letter-spacing: .1em; }
.others-plain { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.others-plain a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font: 400 1.5rem/1.2 var(--serif); }
.others-plain a:hover { color: var(--em); }
.others-plain svg { width: 20px; height: 20px; color: var(--em); }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .areas .rv:nth-child(2), .js .why .rv:nth-child(2), .js .steps .rv:nth-child(2), .js .ov-grid .rv:nth-child(2) { transition-delay: .07s; }
  .js .areas .rv:nth-child(3), .js .why .rv:nth-child(3), .js .steps .rv:nth-child(3), .js .ov-grid .rv:nth-child(3) { transition-delay: .14s; }
  .js .areas .rv:nth-child(4), .js .why .rv:nth-child(4), .js .steps .rv:nth-child(4), .js .ov-grid .rv:nth-child(4) { transition-delay: .21s; }
  .hero-fig { animation: hero-img 1.8s var(--ease) both; transform-origin: 55% 0; }
  .hero-copy > *, .phero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2), .phero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3), .phero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4), .phero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5), .phero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-band { animation: rise 1s .45s var(--ease) both; }
  .phero-in > :nth-child(2) { animation: rise 1.1s .2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-img { from { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .dock, .area::before, .js .dock, .js.dock-on .dock, .js.dock-on.typing .dock { transition: none; } }
/* print: see the end of this file */
/* two dark sections in a row get a hairline between them (the overseas band and its clocks are one block) */
.dark + .dark:not(.ov-body), .phero + .contact-sec { border-top: 1px solid var(--line-dark); }

/* ================================================================ v3.1 readability (19 Nov 2026)
   The owner had to squint. Measured causes: Noto Serif Display (hairline 0.01em) used under 28px and at weight 300,
   10-12px tracked labels, grey Manrope 400 on dark. Rules below were measured with audit scripts before merging. */
/* Readability pass (proposal). Appended after site.css for testing; in the real file each rule replaces the one named. */
body { font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
.dark, .site-head, .sheet, .dock, .site-foot, .hero, .phero { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* labels: 10.2-12.2px tracked caps -> 13px, .12em */
.kicker, .quals dt, .portrait figcaption span, .clocks-h, .ac-h, .ladder-h, .approach h2, .side-nav p,
.lh-row small, .topics h3, .site-foot h2, .phero .seo { font: var(--label); letter-spacing: var(--label-ls); }
.brand-role { font-size: .7rem; letter-spacing: .14em; }
.person span { font-size: .75rem; letter-spacing: .12em; }
.kicker, .approach h2 { color: var(--em-tx); }
.lh-row small, .topics h3, .site-foot h2 { color: var(--on-dark-2); }
.ac-h, .ac-no { color: var(--on-dark-2); }
.ac-no { font-size: .875rem; letter-spacing: .1em; }

/* small numbers: Display at 16-17.6px -> Manrope bold, same look as .why-no */
.area-no, .ov-no, .menu .m-no, .numbered p::before { font: 700 .9375rem/1 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.numbered p::before { line-height: 1.9; }
.why-no, .m-n { font-size: .9375rem; }
.area-no, .why-no, .m-n, .numbered p::before, .ov-grid--light .ov-no, .menu .m-no { color: var(--em-tx); }
.area-meta { font-size: .875rem; letter-spacing: .02em; }

/* Display below 28px -> Manrope (Noto Serif Display hairline is 0.01em = 0.2px at 20px) */
.portrait figcaption { font: 600 1.0625rem/1.35 var(--sans); }
.side-nav a { font: 600 1.0625rem/1.3 var(--sans); }
.ac-laws li { font: 500 1.0625rem/1.45 var(--sans); }
.quals dd { font: 600 1.125rem/1.4 var(--sans); letter-spacing: 0; }
.quals--mini dd { font-size: 1.0625rem; }
.lh-mail { font: 600 clamp(1.125rem, 3.6vw, 1.375rem)/1.35 var(--sans); }
.lh-place { font: 500 1.125rem/1.5 var(--sans); }
.person b { font: 700 1.125rem/1.3 var(--sans); }
.ladder b { font: 700 1.0625rem/1.3 var(--sans); }
.qr b { font: 700 1.0625rem/1.3 var(--sans); }
.menu .m-name { font: 700 1.0625rem/1.3 var(--sans); }
.why li { font: 500 clamp(1.1875rem, 1rem + .7vw, 1.4375rem)/1.45 var(--sans); letter-spacing: -.005em; }
.foot-tag { font: 500 1.125rem/1.5 var(--sans); color: var(--on-dark); }
.phero .intro { font: 500 clamp(1.1875rem, 1.6vw, 1.375rem)/1.5 var(--sans); color: var(--on-dark); max-width: 40ch; }
.approach p { font: 500 clamp(1.1875rem, 1.6vw, 1.375rem)/1.6 var(--sans); letter-spacing: 0; }

/* Display headings 22-24px -> 28px+, weight 500 at that size */
.h3 { font-size: clamp(1.75rem, 2.6vw, 2.1rem); }
.steps h3, .card h3, .form-wrap > summary b { font-size: 1.75rem; font-weight: 500; }
.ov-grid h3 { font-size: clamp(1.75rem, 2.4vw, 2rem); font-weight: 500; }
.others-plain a { font-size: 1.75rem; }
.brand-name { font-weight: 500; }

/* weight-300 Display under 64px -> 400; 300 only where it is 64px+ */
.phero .display, .lh-num, .foot-mark span, .clocks b, .st-no { font-weight: 400; }
@media (min-width: 960px) { .phero .display, .foot-mark span { font-weight: 350; } }
.phil-first { font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.st-no { color: var(--em-tx); }

/* secondary text: 13.4-15.7px -> 15-17px */
.lede { font-size: clamp(1.125rem, 1.6vw, 1.25rem); }
.area-lead { font-size: 1.0625rem; }
@media (min-width: 900px) { .area-lead { font-size: 1.0625rem; } }
.ov-grid p, .steps p { font-size: 1.0625rem; }
.card p, .form > p, .check, .ac-meta, .qr p, .topic-list a, .chip span, .dock a, .menu-btn, .site-foot { font-size: 1rem; }
.hint, .fine, .clocks small, .clocks span, .clocks-note, .foot-base, .disclaimer, .sheet-foot p, .menu .m-sub, .form-wrap > summary > span, .field > label, .field > .lbl { font-size: .9375rem; }
.crumbs { font-size: .875rem; }
.btn--sm { font-size: .96rem; }
.btn .num { opacity: 1; }
.matters .gloss, .ladder [lang="ur"], .docs [lang="ur"] { color: var(--em-tx); }

/* photo credits: 3.4:1 -> ~8.7:1 */
.land figcaption, .ov-photo figcaption { font-size: .8125rem; color: #fff; background: rgba(0, 0, 0, .62); padding: 4px 10px; }

/* line length: 80-84 chars -> about 70 */
.prose p { max-width: 52ch; }
.disclaimer { max-width: 56ch; }
/* second pass after re-measuring */
.link-arrow { color: var(--em-tx); }
.clocks span, .clocks-note { color: var(--on-dark-2); }

/* ================================================================ v3.1 layout polish (measured at 375-1920px) */
/* Layout-polish fixes for static/css/site.css (append at the end, or merge into the named rules).
   Verified by injecting this file into the built site and re-running audit.mjs at 375-1920px. */

/* 1. Grid items stretched to the row height spread the spare height across their own rows,
      which pushes headings and text down in the shorter items. Start them at the top, and
      share rows across siblings so titles and paragraphs line up. */
.steps li { align-content: start; }
.quals > div { align-content: start; }
@media (min-width: 960px) {
  .steps { grid-template-rows: auto auto auto; }
  .steps li { grid-row: span 3; grid-template-rows: subgrid; row-gap: 4px; }
}
@media (min-width: 760px) {
  .ov-grid li { grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
  .ladder { grid-template-rows: auto auto; }
  .ladder li { grid-row: span 2; grid-template-rows: subgrid; }
}
.docs li { grid-row: span 2; grid-template-rows: subgrid; row-gap: 2px; }

/* 2. Clocks strip: shared rows, times on one baseline, weekdays on one line */
@media (min-width: 900px) {
  .clocks--strip ul { grid-template-rows: auto auto auto; }
  .clocks--strip li, .clocks--strip li:nth-child(even) { grid-row: span 3; grid-template-rows: subgrid; row-gap: 4px; }
  .clocks--strip b { align-self: last baseline; }
}


/* 4. Label + value pairs */
.portrait figcaption { align-items: baseline; }
@media (min-width: 900px) {
  .quals--mini { grid-template-columns: max-content 1fr; }
  .quals--mini > div { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 28px; }
}

/* 5. Single-word last lines */
p, li, dd, .area-lead, .hint { text-wrap: pretty; }
.why li > span:last-child, .foot-tag, .ac-laws li, .lh-place, .kicker, .clocks-note, .area-lead { text-wrap: balance; }

/* 6. Page-hero titles where the side card squeezes the column (960-1199px) */
@media (min-width: 960px) and (max-width: 1199.98px) { .phero .display { font-size: clamp(2.6rem, 6vw, 4.4rem); } }


/* 8. Focus rings: gold where the surface is dark, emerald on the white cards inside dark sections */
.site-foot :focus-visible, .land :focus-visible { outline-color: var(--gold); }
.form :focus-visible, .form-wrap > summary:focus-visible, .menu :focus-visible { outline-color: var(--em); }

/* 9. Tap targets on phones and tablets, without moving the layout */
.crumbs a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.foot-base { align-items: center; }
@media (max-width: 959.98px) {
  .site-foot li { margin-bottom: 0; }
  .site-foot li a, .foot-base nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-foot h2 { margin-bottom: 6px; }
}

/* 10. Hover for the folded enquiry form */
.form-wrap > summary { transition: background-color .2s; }
.form-wrap > summary:hover { background: var(--paper); }

/* ---------------------------------------------------------------- v3.1: header (sturdier brand and nav) */
.brand-name { font: 450 1.6rem/1 var(--serif); }
.brand-role { margin-top: 6px; font: 700 .8125rem/1 var(--sans); letter-spacing: .12em; color: var(--gold); }
@media (min-width: 960px) {
  .brand-name { font-size: 1.6875rem; }
  .nav > a:not(.btn), .nav-item > button { font: 600 1rem/1 var(--sans); color: var(--on-dark-1); }
  .nav .tel { font-variant-numeric: lining-nums proportional-nums; }
}
@media (max-width: 379.98px) {
  .brand-role { font-size: .75rem; letter-spacing: .1em; }
  .brand-name { font-size: 1.4rem; }
  .menu-btn { padding: 0 12px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.site-head--rule { border-bottom-color: var(--gold-line); }

/* ---------------------------------------------------------------- v3.1: fixes from the visual audit */
.matters p { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.matters .gloss { float: none; margin: 0; flex: none; }
.land-cap { left: max(var(--gut), calc((100% - var(--max)) / 2)); }
.ov-photo .land-cap { left: auto; right: max(var(--gut), calc((100% - var(--max)) / 2)); }
@media (min-width: 900px) {
  .ov-photo::after { background: linear-gradient(90deg, rgba(13, 18, 16, .94) 0%, rgba(13, 18, 16, .86) 50%, rgba(13, 18, 16, .2) 78%), linear-gradient(180deg, rgba(13, 18, 16, 0) 60%, var(--ink)); }
}
.ov-copy .lede { color: var(--on-dark-1); max-width: 46ch; }
@media (max-width: 599.98px) {
  .topic-list { display: grid; grid-template-columns: 1fr 1fr; }
  .topic-list a { justify-content: flex-start; }
}
.form .btn { margin-top: 20px; }
.field ::placeholder { color: #6A716C; }
.ladder li::before { width: 11px; height: 11px; border-width: 1.5px; }
@media (max-width: 759.98px) { .ladder li::before { top: calc(14px + .5em); left: 3px; } .ladder::before { left: 8px; } }
@media (min-width: 760px) { .ladder::before { top: 5px; } }
.dark p, .dark .lede, .ov-grid p, .phil-cols p { font-weight: 450; }
.ov-grid--light p { font-weight: 400; }
/* small laptops: seven nav items plus the WhatsApp button; tighter spacing keeps clear air next to the logo */
@media (min-width: 960px) and (max-width: 1099.98px) {
  .nav { gap: 14px; }
  .nav > a:not(.btn), .nav-item > button { font-size: .9375rem; }
  .nav .btn--sm { padding: 0 16px; }
}
/* at 960-1023px the overseas link lives in the Practice areas menu only (it is listed there too) */
@media (min-width: 960px) and (max-width: 1023.98px) { .nav .nav-ov { display: none; } }
/* an Urdu article sets <html lang="ur"> for search engines and screen readers; only the article itself runs right to left */
html[lang="ur"] { direction: ltr; unicode-bidi: normal; font-family: var(--sans); }

/* ---------------------------------------------------------------- topic cluster: notes under each matter, guide cards */
.matters li { row-gap: 6px; }
.matters .m-note { grid-column: 2; display: block; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.m-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 700; color: var(--em-tx); text-decoration: none; white-space: nowrap; }
.m-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.m-link:hover svg { transform: translateX(3px); }
.guide-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide-grid a { position: relative; display: grid; align-content: start; gap: 10px; height: 100%; padding: 26px 26px 24px; border-radius: var(--r); background: var(--white);
  border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.guide-grid a:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 30px 60px -46px rgba(13, 18, 16, .6); }
.gc-ur { justify-self: end; font-size: 1.6rem; line-height: 1.6; color: var(--em-tx); }
.guide-grid b { font: 450 1.75rem/1.15 var(--serif); letter-spacing: -.01em; color: var(--text); }
.gc-dek { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.gc-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; font-size: .9375rem; color: var(--em-tx); }
.gc-meta svg { width: 16px; height: 16px; }
.guide-card .guide-toc { display: grid; gap: 0; margin: 4px 0 0; counter-reset: g; }
.guide-toc li { counter-increment: g; border-bottom: 1px solid var(--line-dark); }
.guide-toc a { display: grid; grid-template-columns: 30px 1fr; padding: 11px 0; font: 600 1rem/1.4 var(--sans); color: var(--on-dark-1); text-decoration: none; }
.guide-toc a::before { content: counter(g, decimal-leading-zero); font-weight: 700; font-size: .875rem; color: var(--gold); padding-top: 2px; }
.guide-toc a:hover { color: #fff; }
/* guide text column: about 74 characters a line (blog.css's 72ch .post-body loads later, hence the .guide-sec prefix) */
.guide-sec .guide-body { max-width: 56ch; }
/* steps: the .post-body prefix beats blog.css's ".post-body ol" / ".post-body ol > li", which load later */
.post-body .guide-steps { list-style: none; display: grid; gap: 0; margin: 1.4em 0 2em; padding: 0; counter-reset: gs; border-top: 1px solid var(--line-2); }
.post-body .guide-steps > li { counter-increment: gs; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: first baseline; gap: 2px 0;
  margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.post-body .guide-steps > li::before { content: counter(gs, decimal-leading-zero); grid-row: span 2; font: 400 1.75rem/1 var(--serif); color: var(--em-tx); }
.guide-steps b { font-weight: 700; }
.guide-steps span { color: var(--muted); }
.guide-updated { margin-top: 2.4em !important; padding: 14px 16px; border-radius: var(--r-sm); background: var(--stone); font-size: .9375rem; color: var(--muted); }
.guide-sources { margin-top: 2em; }
.post-body .guide-sources ol { margin: 12px 0 0; padding-inline-start: 1.4em; display: grid; gap: 0; font-size: .9375rem; }
.post-body .guide-sources li { margin-bottom: 0; }
.guide-sources a { color: var(--em-tx); overflow-wrap: anywhere; }
.guide-sources li a { display: block; padding-block: 10px; }   /* 44px rows; block keeps the number on a wrapped URL's first line */
.key-box :focus-visible { outline-color: var(--gold); }
.fee-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-dark-2); color: var(--on-dark-1); font-size: 1rem; }
.fee-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }
.fee-note a { color: var(--em-hi); font-weight: 700; }

/* Cloudflare Turnstile: shows only when a visitor has to tick the box (appearance: interaction-only) */
.form .ts { grid-column: 1 / -1; margin-top: 16px; }
.form .ts:empty { margin: 0; }
/* long button labels in side cards may wrap on small phones; the page grid never grows past the screen */
.card .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.pbody { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1040px) { .pbody { grid-template-columns: minmax(0, 1fr) 340px; } }

/* ================================================================ v3.2 polish (19 Nov 2026) */
/* enquiry form: the country field shows only for visitors abroad, with or without JS
   (browsers without :has() show it; it is optional and the server ignores it for Pakistan) */
.fgrid:has(input[name=based][value=Pakistan]:checked) > [data-country] { display: none; }
/* the clocks' "--:--" placeholders never fill without JS */
.no-js [data-clocks], .no-js .hero-time { display: none; }
/* WhatsApp topics on phones sit in two columns: an odd last pill spans both */
@media (max-width: 599.98px) { .topic-list a:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* overseas matter cards are links as a whole (h3 a::after): the focus ring goes round the whole card */
@supports selector(li:has(a)) {
  .ov-grid h3 a:focus-visible { outline: none; }
  .ov-grid li:has(h3 a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
  .ov-grid--light li:has(h3 a:focus-visible) { outline-color: var(--em); }
}

/* side cards: the page you are on, in emerald and without its arrow (the arrow keeps its space, so rows stay level) */
.side-nav a[aria-current] > span:first-child { color: var(--em-tx); }
.side-nav a[aria-current] svg { visibility: hidden; }

/* guide hero: review date and reading time; long guide titles get a wider measure (the size is unchanged) */
.phero .guide-when { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: -12px 0 28px; font: 600 .9375rem/1.4 var(--sans); color: var(--on-dark-2); }
.phero--guide .display { max-width: 20ch; }
/* the hero card's Urdu term moves to its own right-aligned line when it does not fit beside the area name */
.guide-card .ac-top { flex-wrap: wrap; row-gap: 2px; }
.guide-card .ac-ur { margin-left: auto; text-wrap: balance; }   /* physical margin: the span itself runs right to left */

/* guides on phones and tablets: "On this page" folds (site.js closes it below 960px); open, without a chevron, from 960px */
.toc-fold > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 10px 0 0; cursor: pointer; list-style: none; }
.toc-fold > summary::-webkit-details-marker { display: none; }
.toc-fold > summary svg { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.toc-fold[open] > summary svg { transform: rotate(180deg); }
@media (min-width: 960px) { .toc-fold > summary { cursor: default; } .toc-fold > summary svg { display: none; } }

/* guides on laptops: the card and the guide list scroll away, the "On this page" list (.guide-stoc) stays beside the text.
   blog.css hides .post-toc below 1100px. */
@media (min-width: 1040px) {
  .guide-sec .aside { position: static; align-self: stretch; grid-template-rows: auto auto 1fr; }
  .guide-stoc { position: sticky; top: calc(var(--head) + 28px); align-self: start; }
}
/* short windows: the practice and About side cards (about 660-780px tall) scroll with the page instead of being cut off */
@media (min-width: 1040px) and (max-height: 799.98px) { .aside { position: static; } }

/* end of a guide: share row (blog.css styles .post-share) and previous / next guide.
   The .guide-body / .post-body prefixes beat blog.css's ".post-body a" and ".post-body p", which load later. */
.guide-share { margin-top: 2.4em; }
.guide-body .post-share p { margin: 0 0 4px; }
.guide-body .post-share a { color: var(--text); text-decoration: none; }
.guide-pn { display: grid; gap: 12px; margin-top: 2.4em; }
@media (min-width: 600px) { .guide-pn { grid-template-columns: 1fr 1fr; } .guide-pn a[rel="next"] { grid-column: 2; text-align: right; } }
.post-body .guide-pn a { display: grid; align-content: start; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--white); color: var(--text); text-decoration: none; transition: border-color .2s; }
.post-body .guide-pn a:hover { border-color: var(--em); }
.guide-pn small { font: var(--label); letter-spacing: var(--label-ls); text-transform: uppercase; color: var(--em-tx); }
.guide-pn span { font: 700 1.0625rem/1.35 var(--sans); }

/* practice pages, guide cards: Urdu term, title, summary and "min read" line up across each row (as .ov-grid li) */
@media (min-width: 760px) {
  @supports (grid-template-rows: subgrid) {
    .guide-grid li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; }
    .guide-grid a { grid-row: 1 / -1; grid-template-rows: subgrid; height: auto; }
    .gc-meta { align-self: end; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-grid li:hover, .guide-grid a:hover { transform: none; }
  .toc-fold > summary svg { transition: none; }
}

/* ---------------------------------------------------------------- print: guides and practice pages are printed to take along.
   Black text, every block visible (reveal off), no buttons or side cards; FAQ answers are opened by site.js.
   The .guide-sec prefixes beat blog.css, which loads after this file on guides. Client documents (.doc-cover) keep their cover. */
@media print {
  .site-head, .dock, .sheet, .form-wrap, .form { display: none !important; }
  .hero, .phero { padding-top: 0; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .dark:not(.doc-cover), .site-foot, .key-box, .area-card, .fee-card--intl { background: none !important; color: #000 !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .dark:not(.doc-cover) *, .site-foot *, .key-box *, .area-card *, .fee-card--intl * { color: #000 !important; }
  .key-box, .area-card { border: 1px solid #999; }
  .post-body .key-box li::before { background: #000 !important; }   /* blog.css sets gold with !important at (0,1,2) */
  .hero::before, .hero::after, .hero-stage::before, .phero::after, .phero--shajra::before, .contact-sec::before, .phil-sec::before, .faq-item summary::after { display: none !important; }
  .btn-row, .copy-chip, .topics, .qr, .post-share, .guide-pn, .aside, .skip, .foot-top, .foot-base nav, .site-foot .foot-grid > :not(:nth-child(3)), .contact-sec:not(.phero + .contact-sec) { display: none !important; }
  .phero-in { padding-block: 0 12pt; }
  .phero .display { font-size: 26pt; max-width: none; }
  .pbody { display: block; }
  .guide-sec { padding-block: 0; }
  .guide-sec .guide-body { max-width: none; font-size: 12pt; line-height: 1.55; }
  .guide-sec .post-body h2 { font-size: 21pt; break-after: avoid; }
  .guide-sec .post-body h3 { break-after: avoid; }
  .law-box, .key-box, .note-box, .guide-steps li, .faq-item, .matters li { break-inside: avoid; }
  .site-foot { padding: 12pt 0 0; border-top: 1px solid #999; }
}
.guide-sources .src-host { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
