/* ==========================================================================
   Concordia Mentis Law Associates — premium chambers theme
   ========================================================================== */

/* ---------- Fonts (self-hosted Latin subsets, SIL OFL) ---------- */
@font-face { font-family: "Noto Serif Display"; src: url("assets/serif-display.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif Display"; src: url("assets/serif-display-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif Text"; src: url("assets/serif-text.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-1000: #050506;
  --navy-950: #0b0b0d;
  --navy-900: #111114;
  --navy-850: #17171b;
  --navy-800: #1d1d22;
  --navy-700: #2b2b32;
  --ink: #121214;
  --text: #3a3a40;
  --muted: #5f5f67;
  --paper: #ffffff;
  --cream: #f6f4ef;
  --white: #ffffff;
  --line: #e7e1d3;
  --line-soft: #efebe2;
  --gold: #c9a24a;
  --gold-600: #a9822f;
  --gold-soft: #ead08f;
  --gold-tint: #f8f1e0;
  --bronze: #87611d;
  --on-dark: #f4efe6;
  --on-dark-muted: #bdbdc4;
  --line-dark: rgba(234, 208, 143, .18);
  --wa: #1f9d63;

  --serif: "Noto Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --serif-text: "Noto Serif Text", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;

  --fs-body: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  --fs-small: .9375rem;
  --fs-label: .8125rem;
  --fs-lead: clamp(1.125rem, 1.02rem + .4vw, 1.3125rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 3vw, 4rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.3vw, 3.4rem);
  --fs-h3: clamp(1.35rem, 1.2rem + .5vw, 1.6rem);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 2.5rem + 4.5vw, 6.5rem);
  --header-h: 5rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-sm: 0 1px 2px rgba(12, 12, 14, .05), 0 3px 10px rgba(12, 12, 14, .05);
  --shadow: 0 2px 6px rgba(12, 12, 14, .05), 0 14px 34px -10px rgba(12, 12, 14, .16);
  --shadow-lg: 0 4px 10px rgba(12, 12, 14, .06), 0 30px 60px -18px rgba(12, 12, 14, .3);
  --shadow-gold: 0 10px 28px -8px rgba(212, 162, 76, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--fs-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-family: var(--serif-text); letter-spacing: -.01em; }
.panel-body h3 { font-family: var(--serif); letter-spacing: -.015em; }
[dir="ltr"] :is(.brand-name, .float-badge strong, .profile-caption strong) { font-family: var(--serif-text); letter-spacing: -.01em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--gold-soft); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.lang-pending body { visibility: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
/* Page content forms its own layer below the sticky header, so animated hero layers never paint over the menus. */
main { position: relative; z-index: 0; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .75rem 1.1rem; border-radius: var(--r-sm);
  background: var(--navy-900); color: #fff; font-weight: 600; translate: 0 -200%; opacity: 0; transition: translate .2s var(--ease), opacity .2s;
}
.skip-link:focus { translate: 0 0; opacity: 1; }
[dir="rtl"] .skip-link { left: auto; right: .75rem; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-600), var(--gold-soft)); }
[dir="rtl"] .scroll-progress span { transform-origin: right; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, var(--gold), transparent); }
.eyebrow-light { color: var(--gold-soft); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 56rem; }
.section-head.center .eyebrow { justify-content: center; }
.section-intro { margin-top: 1.1rem; font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); }
.section-head.center .section-intro { margin-inline: auto; max-width: 40rem; }
.sub-title { margin: 2.5rem 0 1.25rem; font-size: 1.375rem; }

.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: var(--r-pill); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.pill-dark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(243, 217, 149, .3); color: var(--gold-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pill-avatar { display: none; }
.pill-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 162, 76, .7); animation: dot-pulse 2.4s infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 162, 76, .6); } 70% { box-shadow: 0 0 0 .55rem rgba(212, 162, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 162, 76, 0); } }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--sans); letter-spacing: .005em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  translate: -120% 0; transition: translate .8s var(--ease);
}
.btn:hover::after { translate: 120% 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 3.5rem; padding-inline: 1.85rem; font-size: 1.0625rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-gold { background: linear-gradient(135deg, #f0cf7f, var(--gold) 50%, var(--gold-600)); color: var(--navy-1000); box-shadow: 0 6px 18px -6px rgba(212, 162, 76, .55); }
.btn-gold:hover { box-shadow: var(--shadow-gold); }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px -6px rgba(31, 157, 99, .6); }
.btn-wa:hover { background: #1a8a56; box-shadow: 0 12px 26px -8px rgba(31, 157, 99, .7); }
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { scale: -1 1; }
[dir="rtl"] .btn:hover .btn-arrow { transform: translateX(-4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; padding-block: .5rem;
  font-weight: 700; color: var(--bronze); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .35s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; gap: .8rem; }
[dir="rtl"] .link-arrow { background-position: 100% 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 2.5rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; min-height: 2.5rem; }
.topbar-item .icon { width: 1rem; height: 1rem; color: var(--gold); }
.topbar-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-links { display: flex; gap: 1.5rem; flex: none; }
.topbar-links a { transition: color .2s; }
.topbar-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile drawer. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 249, 245, .84); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); transition: background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 10px 30px -12px rgba(12, 12, 14, .14); }
.site-header.is-scrolled::before { background: rgba(251, 249, 245, .95); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); min-width: 0; }
.brand-badge {
  display: grid; place-items: center; flex: none; width: 3.1rem; height: 3.1rem; border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--gold);
  box-shadow: 0 6px 16px -6px rgba(12, 12, 14, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.brand:hover .brand-badge { transform: rotate(-6deg) scale(1.05); box-shadow: 0 10px 22px -8px rgba(12, 12, 14, .6), 0 0 0 3px rgba(212, 162, 76, .25); }
.brand-mark { width: 2.2rem; height: 2.2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1.375rem/1.05 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-tag { margin-top: .32rem; font: 700 .6875rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); white-space: nowrap; }

.site-nav { margin-inline-start: auto; display: flex; align-items: center; }
.drawer-head, .drawer-actions { display: none; }
.drawer-close { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-inline-start: auto; border-radius: 50%; border: 1px solid var(--line); background: var(--white); transition: border-color .25s, rotate .3s var(--ease); }
.drawer-close:hover { border-color: var(--gold); rotate: 90deg; }
.drawer-close .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; color: var(--ink); }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .5rem .85rem;
  border-radius: var(--r-pill); font: 600 1rem/1.2 var(--sans); color: var(--ink); white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-icon { display: none; }
.nav-link:hover, .nav-link.is-active { color: var(--bronze); background: var(--gold-tint); }
.caret { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.has-menu { position: relative; }
.has-menu:hover .caret, .has-menu.is-open .caret, .has-menu:focus-within .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + .75rem); left: 50%; width: 36rem; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; translate: -50% 10px; transition: opacity .25s var(--ease), translate .3s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -.85rem 0 auto; height: .85rem; } /* hover bridge */
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.is-open .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.has-menu.is-dismissed .mega { opacity: 0; visibility: hidden; }
.mega-title { padding: 0 .5rem .75rem; font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.mega-item { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem; border-radius: var(--r); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.mega-item:hover { background: var(--cream); transform: translateY(-2px); }
.mega-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--gold-tint); color: var(--bronze); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.mega-item:hover .mega-icon { background: var(--navy-900); color: var(--gold); transform: rotate(-6deg); }
.mega-text { display: grid; gap: .15rem; }
.mega-text strong { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.mega-text span { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.mega-foot { display: flex; align-items: center; gap: .6rem; margin-top: .85rem; padding: .85rem 1rem; border-radius: var(--r); background: var(--navy-900); color: var(--on-dark); font-weight: 600; font-size: .9375rem; transition: background-color .25s; }
.mega-foot .icon { color: var(--gold); }
.mega-foot:hover { background: var(--navy-700); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle, .menu-toggle {
  display: inline-grid; place-items: center; min-width: 2.85rem; height: 2.85rem; padding-inline: .8rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.lang-toggle:hover, .menu-toggle:hover { border-color: var(--gold); box-shadow: 0 6px 16px -8px rgba(212, 162, 76, .7); transform: translateY(-1px); }
.lang-label { line-height: 1; }
.lang-label:lang(ur) { font-family: var(--urdu); font-size: 1.05rem; padding-bottom: .25rem; }
.lang-label:lang(en) { font: 700 .9375rem/1 var(--sans); }
.header-call { display: none; }
.header-cta { min-height: 2.85rem; padding-inline: 1.2rem; font-size: .9375rem; }
.menu-toggle { display: none; padding: 0; width: 2.85rem; }
.menu-bars { display: grid; gap: 5px; width: 1.15rem; }
.menu-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, width .3s var(--ease); }
.menu-bars span:nth-child(2) { width: 70%; justify-self: end; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(5, 5, 6, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.nav-scrim.is-visible { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 6rem) clamp(8rem, 11vw, 10rem); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: saturate(.85); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .97) 0%, rgba(10, 10, 12, .9) 40%, rgba(10, 10, 12, .62) 68%, rgba(10, 10, 12, .4) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, .85) 0%, rgba(10, 10, 12, 0) 40%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(10, 10, 12, .97) 0%, rgba(10, 10, 12, .9) 40%, rgba(10, 10, 12, .62) 68%, rgba(10, 10, 12, .4) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, .85) 0%, rgba(10, 10, 12, 0) 40%);
}
[dir="rtl"] .hero-media img { scale: -1 1; }
.hero-glow { position: absolute; z-index: -1; width: 46rem; height: 46rem; right: -10rem; top: -14rem; border-radius: 50%; background: radial-gradient(circle, rgba(212, 162, 76, .22), transparent 65%); pointer-events: none; }
[dir="rtl"] .hero-glow { right: auto; left: -10rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { margin-top: 1.5rem; color: #fff; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.025em; }
.hero-line { display: block; }
.hero-accent { color: transparent; background: linear-gradient(100deg, #fbe7b0 0%, #e4b558 40%, #fff1c9 60%, #e4b558 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 7s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: var(--fs-lead); line-height: 1.7; color: #d9dfe8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2.25rem; color: var(--on-dark-muted); font-size: .9375rem; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .icon { width: 1.2rem; height: 1.2rem; padding: .2rem; border-radius: 50%; background: rgba(212, 162, 76, .2); color: var(--gold-soft); stroke-width: 2.4; }

.hero-profile { position: relative; justify-self: center; width: min(100%, 25rem); }
.profile-frame {
  position: relative; border-radius: 28px; overflow: hidden; padding: 6px;
  background: linear-gradient(150deg, rgba(243, 217, 149, .9), rgba(212, 162, 76, .25) 40%, rgba(243, 217, 149, .7));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(243, 217, 149, .2);
}
.profile-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 22px; background: var(--navy-800); }
.profile-caption {
  position: absolute; inset: auto 6px 6px; display: grid; gap: .15rem; padding: 3.5rem 1.4rem 1.25rem; border-radius: 0 0 22px 22px;
  background: linear-gradient(0deg, rgba(10, 10, 12, .95), rgba(10, 10, 12, 0)); color: #fff;
}
.profile-caption strong { font: 500 1.4rem/1.2 var(--serif); }
.profile-caption span { color: var(--gold-soft); font-size: .9375rem; font-weight: 600; }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: .55rem; padding: .45rem .8rem .45rem .45rem;
  border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-badge strong { display: block; font: 600 1.05rem/1 var(--serif); color: var(--ink); }
.float-badge small { display: block; margin-top: .2rem; font-size: .6875rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.float-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--gold); }
.float-badge-a { top: 10%; left: -2rem; }
.float-icon .icon { width: 1rem; height: 1rem; }
.float-badge-b { bottom: 30%; right: -1.75rem; animation-delay: -3s; }
[dir="rtl"] .float-badge-a { left: auto; right: -2.75rem; }
[dir="rtl"] .float-badge-b { right: auto; left: -2.25rem; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }


/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: -3.5rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: start; text-align: center; gap: .35rem; padding: 2rem 1.25rem; }
.stat::after { content: ""; position: absolute; inset: .6rem; z-index: -1; border-radius: var(--r); background: var(--cream); opacity: 0; transition: opacity .3s var(--ease); }
.stat:hover::after { opacity: 1; }
.stat + .stat::before { content: ""; position: absolute; inset: 22% auto 22% 0; width: 1px; background: var(--line); }
[dir="rtl"] .stat + .stat::before { inset: 22% 0 22% auto; }
.stat-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: .35rem; border-radius: 14px; background: var(--gold-tint); color: var(--bronze); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.stat:hover .stat-icon { transform: translateY(-3px) rotate(-6deg); background: var(--navy-900); color: var(--gold); }
.stat-num { font: 600 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-word { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); line-height: 1.2; }
.stat-label { color: var(--muted); font-size: .9375rem; font-weight: 600; line-height: 1.4; text-wrap: balance; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-role { margin-top: .75rem; color: var(--bronze); font-weight: 700; font-size: 1.0625rem; }
.about-lead { margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--ink); line-height: 1.65; }
.about-copy > p:not(.eyebrow):not(.about-role):not(.about-lead) { margin-top: 1rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.principle {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.15rem 1.2rem; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.principle-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--gold-tint); color: var(--bronze); transition: background-color .3s, color .3s; }
.principle:hover .principle-icon { background: var(--navy-900); color: var(--gold); }
.principle strong { display: block; color: var(--ink); font-size: 1.0625rem; line-height: 1.35; }
.principle span span { display: block; margin-top: .2rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

.career {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-lg); color: var(--on-dark);
  background: radial-gradient(120% 80% at 100% 0%, rgba(212, 162, 76, .1), transparent 55%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.career-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.75rem; }
.career-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: rgba(212, 162, 76, .16); color: var(--gold); }
.career h3 { color: #fff; font-size: 1.5rem; }
.timeline { position: relative; display: grid; gap: 1.75rem; margin-bottom: 2rem; padding-inline-start: 1.75rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: .35rem; top: .5rem; bottom: .5rem; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), rgba(212, 162, 76, .15)); }
.timeline li { position: relative; display: grid; gap: .2rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -1.75rem; top: .35rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(212, 162, 76, .15); }
.timeline-year { display: inline-block; justify-self: start; padding: .15rem .6rem; border-radius: var(--r-pill); background: rgba(212, 162, 76, .16); color: var(--gold-soft); font: 700 .8125rem/1.4 var(--sans); letter-spacing: .06em; }
.timeline strong { color: #fff; font-size: 1.0625rem; line-height: 1.4; margin-top: .3rem; }
.timeline span:last-child { color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.55; }

/* ---------- Practice (tabs) ---------- */
.practice { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.tabs { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.tab-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .65rem; }
.tab-list { display: grid; gap: .65rem; }
.tab {
  position: relative; display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem 1.1rem; text-align: start;
  border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background-color .3s;
}
.tab:hover { transform: translateX(4px); border-color: var(--gold-soft); box-shadow: var(--shadow); }
[dir="rtl"] .tab:hover { transform: translateX(-4px); }
.tab[aria-selected="true"] { background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); border-color: transparent; box-shadow: var(--shadow-lg); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline-end: -.5rem; top: 50%; width: 1rem; height: 1rem; background: var(--navy-900); rotate: 45deg; translate: 0 -50%; border-radius: 3px; }
.tab-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--gold-tint); color: var(--bronze); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.tab[aria-selected="true"] .tab-icon { background: rgba(212, 162, 76, .18); color: var(--gold); transform: rotate(-6deg); }
.tab-text { display: grid; gap: .1rem; min-width: 0; }
.tab-text strong { color: var(--ink); font-size: 1.0625rem; line-height: 1.3; }
.tab-text small { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.tab[aria-selected="true"] strong { color: #fff; }
.tab[aria-selected="true"] small { color: var(--on-dark-muted); }

.tab-panels { min-width: 0; display: grid; gap: 1.5rem; }
.tab-help { display: flex; gap: .85rem; align-items: center; margin-top: .35rem; padding: 1rem 1.1rem; border-radius: var(--r); background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--on-dark-muted); font-size: .875rem; line-height: 1.45; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.tab-help:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tab-help strong { display: block; color: #fff; font-size: 1rem; }
.tab-help-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--navy-1000); animation: ring 3.5s ease-in-out infinite; }
.panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.js .panel[hidden] { display: none; }
.panel.is-entering { animation: panel-in .55s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.panel-media { position: relative; border-radius: var(--r); overflow: hidden; align-self: stretch; min-height: 26rem; background: var(--navy-800); }
.panel-media img { position: absolute; inset: 0; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover .panel-media img { transform: scale(1.05); }
.panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 12, .45), transparent 50%); }
.panel-badge { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--bronze); box-shadow: var(--shadow); }
[dir="rtl"] .panel-badge { left: auto; right: 1rem; }
.panel-badge .icon { width: 1.5rem; height: 1.5rem; }
.panel-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.panel-summary { margin-top: .75rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.checks { display: grid; gap: .7rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.checks li { position: relative; padding-inline-start: 2rem; color: var(--text); line-height: 1.55; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%2386612a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.principle span span, .step p, .checks li, .tab-text small { text-wrap: pretty; }
.practice-note, .map-note { text-wrap: balance; }
.practice-note { display: flex; gap: .75rem; align-items: center; justify-content: center; max-width: 48rem; margin: 2.5rem auto 0; padding: 1rem 1.4rem; border-radius: var(--r-pill); background: var(--white); border: 1px dashed var(--line); color: var(--muted); font-size: .9375rem; text-align: center; }

/* ---------- Overseas band ---------- */
.overseas { padding-bottom: var(--section); background: var(--paper); }
.overseas-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.overseas-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.overseas-card:hover .overseas-bg { transform: scale(1.05); }
.overseas-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 10, 12, .96) 0%, rgba(10, 10, 12, .85) 55%, rgba(10, 10, 12, .55) 100%); }
[dir="rtl"] .overseas-card::before { background: linear-gradient(260deg, rgba(10, 10, 12, .96) 0%, rgba(10, 10, 12, .85) 55%, rgba(10, 10, 12, .55) 100%); }
.overseas-content { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.75rem, 4vw, 3.25rem); }
.overseas-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 18px; background: rgba(212, 162, 76, .18); color: var(--gold); }
.overseas-icon { animation: dot-pulse 2.8s infinite; }
.overseas-icon .icon { width: 2rem; height: 2rem; }
.overseas-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-soft), transparent); }
[dir="rtl"] .overseas-card::after { background: linear-gradient(270deg, var(--gold-600), var(--gold-soft), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chips li { display: inline-flex; padding: .35rem .85rem; border-radius: var(--r-pill); border: 1px solid rgba(243, 217, 149, .3); background: rgba(255, 255, 255, .04); color: var(--gold-soft); font-size: .875rem; font-weight: 600; }
.overseas h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.overseas p { margin-top: .6rem; color: var(--on-dark-muted); max-width: 40rem; }

/* ---------- Process ---------- */
.process { background: radial-gradient(70rem 40rem at 50% -10%, rgba(60, 60, 68, .55), transparent 60%), var(--navy-900); color: var(--on-dark); overflow: hidden; }
.process h2 { color: #fff; }
.process .section-intro { color: var(--on-dark-muted); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps::before { content: ""; position: absolute; top: 2.25rem; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); opacity: .45; transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.steps.is-drawn::before, .no-js .steps::before { transform: scaleX(1); }
[dir="rtl"] .steps::before { transform-origin: right; }
.step {
  position: relative; display: grid; justify-items: center; align-content: start; text-align: center; padding: 0 1rem 1.75rem;
  border-radius: var(--r-lg); transition: transform .35s var(--ease);
}
.step:hover { transform: translateY(-4px); }
.step h3 { transition: color .3s; }
.step:hover h3 { color: var(--gold-soft); }
.step-icon {
  position: relative; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.5rem; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950)); color: var(--gold); border: 1px solid rgba(212, 162, 76, .45);
  box-shadow: 0 0 0 8px var(--navy-900), 0 14px 30px -10px rgba(0, 0, 0, .6); transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover .step-icon { transform: scale(1.08); box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 10px rgba(212, 162, 76, .35), 0 18px 36px -10px rgba(0, 0, 0, .7); }
.step-icon .icon { width: 1.75rem; height: 1.75rem; }
.step-num { position: absolute; top: -.25rem; right: -.25rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--gold); color: var(--navy-1000); font: 700 .8125rem/1 var(--sans); }
.step h3 { color: #fff; font-size: 1.35rem; }
.step p { margin-top: .6rem; color: var(--on-dark-muted); font-size: 1rem; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.help-card { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--r); background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: #fff; box-shadow: var(--shadow); }
.help-icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--gold); color: var(--navy-1000); animation: ring 3.5s ease-in-out infinite; }
@keyframes ring { 0%, 86%, 100% { rotate: 0deg; } 88% { rotate: -14deg; } 92% { rotate: 14deg; } 96% { rotate: -8deg; } }
.help-card strong { display: block; font-size: 1rem; }
.help-card a { color: var(--gold-soft); font-weight: 700; font-size: 1.25rem; transition: color .2s; }
.help-card a:hover { color: #fff; }
.faq-list { display: grid; gap: .85rem; }
.faq-item { border-radius: var(--r); background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), border-color .3s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item[open] { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; cursor: pointer; list-style: none; font: 700 1.0625rem/1.45 var(--sans); color: var(--ink); border-radius: var(--r); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bronze); }
.faq-icon { position: relative; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gold-tint); transition: background-color .3s var(--ease), rotate .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: .75rem; height: 2px; border-radius: 2px; background: var(--bronze); translate: -50% -50%; transition: rotate .35s var(--ease), background-color .3s; }
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon { background: var(--navy-900); rotate: 180deg; }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--gold); }
.faq-item[open] .faq-icon::after { rotate: 0deg; }
.faq-answer { padding: 0 1.4rem 1.35rem; color: var(--text); overflow: hidden; }
.faq-answer p { padding-top: 1rem; border-top: 1px solid var(--line-soft); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(60rem 30rem at 0% 0%, rgba(40, 40, 46, .7), transparent 60%), radial-gradient(50rem 30rem at 100% 100%, rgba(60, 60, 68, .35), transparent 60%), var(--navy-950); color: var(--on-dark); }
.contact h2 { color: #fff; }
.contact .section-intro { color: var(--on-dark-muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.35rem 1.4rem; border-radius: var(--r);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s, box-shadow .35s;
}
a.contact-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(243, 217, 149, .45); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.contact-icon { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: linear-gradient(145deg, var(--gold-soft), var(--gold-600)); color: var(--navy-1000); box-shadow: 0 8px 18px -8px rgba(212, 162, 76, .7); transition: transform .4s var(--ease); }
a.contact-card:hover .contact-icon { transform: rotate(-8deg) scale(1.06); }
.contact-card-wa .contact-icon { background: linear-gradient(145deg, #2bb673, #178a55); color: #fff; box-shadow: 0 8px 18px -8px rgba(31, 157, 99, .8); }
.contact-icon .icon { width: 1.4rem; height: 1.4rem; }
.contact-text { display: grid; gap: .2rem; min-width: 0; flex: 1; }
.contact-label { font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-value { color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-phone { font-size: 1.375rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.contact-go { color: var(--gold); opacity: .8; transition: opacity .3s, translate .3s var(--ease); }
a.contact-card:hover .contact-go { opacity: 1; translate: 4px 0; }
[dir="rtl"] a.contact-card:hover .contact-go { translate: -4px 0; }

.map-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-850); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.map-frame { position: relative; display: block; flex: 1; min-height: 20rem; overflow: hidden; background: #e8e4dc; direction: ltr; }
.map-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.map-frame:hover img { transform: scale(1.04); }
.map-pin { position: absolute; left: 49.2%; top: 51.1%; translate: -50% -50%; width: 1.25rem; height: 1.25rem; }
.map-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--gold); box-shadow: 0 3px 10px rgba(5, 5, 6, .5); }
.map-pulse { position: absolute; inset: -1rem; border-radius: 50%; background: rgba(212, 162, 76, .45); animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-tag {
  position: absolute; left: 49.2%; top: 51.1%; translate: -50% calc(-100% - 1.4rem);
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: var(--r-pill);
  background: var(--navy-900); color: #fff; font: 700 .8125rem/1.3 var(--sans); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(5, 5, 6, .6);
}
.map-tag .icon { width: 1rem; height: 1rem; color: var(--gold); }
.map-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--navy-900); rotate: 45deg; translate: -50% 0; border-radius: 2px; }
.map-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.2rem 1.4rem; flex-wrap: wrap; }
.map-note { display: grid; gap: .3rem; flex: 1 1 15rem; font-size: var(--fs-small); color: var(--on-dark-muted); line-height: 1.55; }
.map-credit { justify-self: start; padding-block: .3rem; font-size: .75rem; color: #8a93a3; text-decoration: underline; text-decoration-color: rgba(138, 147, 163, .4); text-underline-offset: .2em; }
.map-credit:hover { color: var(--on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-1000); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: var(--fs-small); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.brand-light { color: #fff; }
.brand-light .brand-tag { color: var(--gold); }
.footer-about { margin-top: 1.25rem; max-width: 24rem; line-height: 1.65; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-soft); transition: background-color .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-1000); transform: translateY(-3px); }
.footer-heading { font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .1rem; }
.footer-col a { position: relative; display: inline-block; padding-block: .4rem; transition: color .25s, translate .25s var(--ease); }
.footer-col a:hover { color: #fff; translate: 4px 0; }
[dir="rtl"] .footer-col a:hover { translate: -4px 0; }
.footer-address { color: var(--on-dark); line-height: 1.6; }
.footer-phone { display: inline-block; margin-top: .6rem; color: var(--gold-soft); font-size: 1.125rem; font-weight: 600; transition: color .2s; }
.footer-phone:hover { color: #fff; }
.footer-note { margin-top: .4rem; font-size: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); font-size: var(--fs-label); color: #8a93a3; }

/* ---------- Floating actions ---------- */
.to-top {
  position: fixed; z-index: 89; right: max(1.25rem, env(safe-area-inset-right)); bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + 4.5rem);
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), opacity .3s, visibility .3s, background-color .25s, color .25s;
}
.to-top:hover { background: var(--navy-900); color: var(--gold); transform: translateY(-3px); }
[dir="rtl"] .to-top { right: auto; left: max(1.25rem, env(safe-area-inset-left)); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
  .hero-media img { animation: kenburns 18s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
  .hero-anim { animation: rise 1s var(--ease-out) both; }
  .hero-copy > .hero-anim:nth-child(2) { animation-delay: .12s; }
  .hero-copy > .hero-anim:nth-child(3) { animation-delay: .24s; }
  .hero-copy > .hero-anim:nth-child(4) { animation-delay: .36s; }
  .hero-copy > .hero-anim:nth-child(5) { animation-delay: .48s; }
  .hero-profile.hero-anim { animation: rise-scale 1.1s .3s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
  @keyframes rise-scale { from { opacity: 0; translate: 0 30px; scale: .95; } to { opacity: 1; translate: 0 0; scale: 1; } }
}

/* ---------- Urdu / RTL ---------- */
[dir="rtl"] body { font-family: var(--urdu); line-height: 2.15; }
[dir="rtl"] :is(h1, h2, h3, .brand-name, .profile-caption strong, .float-badge strong, .stat-word) { font-family: var(--urdu); letter-spacing: 0; font-style: normal; font-weight: 400; word-spacing: .08em; }
[dir="rtl"] :is(h1, h2, h3) { line-height: 1.85; }
[dir="rtl"] .hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.85; }
[dir="rtl"] h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.7rem); }
[dir="rtl"] :is(.eyebrow, .brand-tag, .pill, .contact-label, .footer-heading, .mega-title, .timeline-year) { letter-spacing: 0; text-transform: none; font-family: var(--urdu); font-weight: 400; }
[dir="rtl"] :is(.eyebrow, .pill) { font-size: .9375rem; }
[dir="rtl"] .brand-tag { font-size: .8125rem; margin-top: .1rem; }
[dir="rtl"] .brand-name { font-size: 1.25rem; line-height: 1.7; }
[dir="rtl"] :is(.btn, .nav-link, .link-arrow, .tab-text strong, .faq-item summary, .mega-text strong, .principle strong, .timeline strong, .help-card strong, .stat-label, .about-role, .contact-value, .float-badge small, .profile-caption span, .mega-foot, .map-tag) { font-family: var(--urdu); font-weight: 400; }
[dir="rtl"] :is(.btn, .nav-link) { line-height: 1.9; }
[dir="rtl"] .btn { padding-block: .35rem .65rem; }
[dir="rtl"] :is(.hero-lead, .section-intro, .about-lead, .panel-summary, .map-note, .contact-value, .footer-about, .faq-answer, .checks li, .step p, .principle span span, .timeline span:last-child, .tab-text small, .mega-text span, .stat-label) { line-height: 2.1; }
[dir="rtl"] .faq-item summary { line-height: 2; }
[dir="rtl"] .checks li::before { top: .5em; }
[dir="rtl"] :is(bdi, .map-credit), [dir="rtl"] [lang="en"] { font-family: var(--sans); }
[dir="rtl"] .stat-num { font-family: var(--urdu); font-weight: 400; line-height: 1.5; }
[dir="rtl"] .footer-heading { font-size: 1rem; line-height: 2; }
[dir="rtl"] .float-badge small { line-height: 1.8; }
[dir="rtl"] .nav-link { font-size: 1.125rem; }
[dir="rtl"] :is(.contact-label, .float-badge small, .timeline-year, .footer-bottom, .mega-title, .chips li) { font-size: .9375rem; }
[dir="rtl"] :is(.mega-text span, .tab-text small, .stat-label, .footer-note, .tab-help) { font-size: 1rem; }
[dir="rtl"] :is(.eyebrow, .pill) { font-size: 1.0625rem; }
[dir="rtl"] :is(.help-card strong, .principle strong, .tab-help strong) { font-size: 1.125rem; }
[dir="rtl"] :is(.mega-text strong, .principle strong, .tab-text strong, .timeline strong, .help-card strong, .contact-label, .tab-help strong, .chips li) { line-height: 1.9; }
[dir="rtl"] .mega-text { gap: .1rem; }
[dir="rtl"] .step-num { font-family: var(--urdu); line-height: 1; padding-bottom: .2rem; }
[dir="rtl"] .hero-accent { animation: none; background: none; color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-link { padding-inline: .65rem; font-size: .9375rem; }
  .header-cta span { display: none; }
  .header-cta { width: 2.85rem; padding: 0; }
}

@media (max-width: 1080px) {
  :root { --header-h: 4.5rem; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; z-index: 110; top: 0; bottom: 0; right: 0; width: min(24rem, 88vw); flex-direction: column; align-items: stretch;
    margin: 0; padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); box-shadow: -30px 0 60px -20px rgba(5, 5, 6, .4);
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility .5s;
  }
  [dir="rtl"] .site-nav { right: auto; left: 0; clip-path: inset(0 100% 0 0); box-shadow: 30px 0 60px -20px rgba(5, 5, 6, .4); }
  .site-nav.is-open, [dir="rtl"] .site-nav.is-open { clip-path: inset(0 -60px 0 -60px); visibility: visible; transition: clip-path .5s var(--ease-out), visibility 0s; }
  .site-nav .nav-list > li, .site-nav .drawer-actions { opacity: 0; translate: 24px 0; transition: opacity .4s var(--ease-out), translate .5s var(--ease-out); }
  [dir="rtl"] .site-nav .nav-list > li, [dir="rtl"] .site-nav .drawer-actions { translate: -24px 0; }
  .site-nav.is-open .nav-list > li, .site-nav.is-open .drawer-actions { opacity: 1; translate: 0 0; }
  .site-nav.is-open .nav-list > li:nth-child(2) { transition-delay: .05s; }
  .site-nav.is-open .nav-list > li:nth-child(3) { transition-delay: .1s; }
  .site-nav.is-open .nav-list > li:nth-child(4) { transition-delay: .15s; }
  .site-nav.is-open .nav-list > li:nth-child(5) { transition-delay: .2s; }
  .site-nav.is-open .drawer-actions { transition-delay: .25s; }
  .no-js .site-nav { position: static; clip-path: none; visibility: visible; width: auto; box-shadow: none; background: none; padding: 0; }
  .no-js .site-nav .nav-list > li, .no-js .site-nav .drawer-actions { opacity: 1; translate: none; }
  .drawer-head { display: flex; align-items: center; min-height: 3.5rem; padding: 0 0 .75rem .5rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line-soft); }
  .drawer-title { font: 700 var(--fs-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-link { width: 100%; min-height: 3.25rem; padding: .6rem .75rem; border-radius: var(--r); font-size: 1.0625rem; }
  .nav-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 10px; background: var(--gold-tint); color: var(--bronze); }
  .caret { margin-inline-start: auto; }
  .has-menu:hover .caret, .has-menu:focus-within .caret { transform: none; }
  .has-menu.is-open .caret { transform: rotate(180deg); }
  .mega, .has-menu:hover .mega, .has-menu:focus-within .mega { position: static; width: auto; padding: 0 0 0 .5rem; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; translate: none; display: none; }
  [dir="rtl"] .mega { padding: 0 .5rem 0 0; }
  .has-menu.is-open .mega { display: block; }
  .no-js .mega { display: block; }
  .mega::before, .mega-title { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: .1rem; }
  .mega-item { padding: .6rem .75rem; }
  .mega-icon { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
  .mega-foot { display: none; }
  .drawer-actions { display: grid; gap: .65rem; margin-top: auto; padding-top: 1.5rem; }
  [dir="rtl"] .drawer-title { font-family: var(--urdu); letter-spacing: 0; font-weight: 400; font-size: 1rem; }

  .hero-grid { grid-template-columns: 1fr minmax(0, 20rem); }
  .float-badge-a { left: -1.5rem; }
  .float-badge-b { right: -1rem; }
  [dir="rtl"] .float-badge-a { right: -1.5rem; left: auto; }
  [dir="rtl"] .float-badge-b { left: -1rem; right: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .about-grid { grid-template-columns: 1fr; }
  .career { position: static; }
  .tabs { grid-template-columns: 1fr; }
  .tab-side { position: static; }
  .tab-list { display: flex; gap: .65rem; overflow-x: auto; padding: .25rem .25rem 1rem; margin-inline: -.25rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; width: auto; scroll-snap-align: start; padding: .75rem 1rem; }
  .tab:hover, [dir="rtl"] .tab:hover { transform: translateY(-2px); }
  .tab[aria-selected="true"]::after { display: none; }
  .tab-text small { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1240px) {
  .header-call { display: inline-grid; place-items: center; width: 2.85rem; height: 2.85rem; border-radius: 50%; background: linear-gradient(135deg, #f0cf7f, var(--gold) 50%, var(--gold-600)); color: var(--navy-1000); box-shadow: 0 6px 16px -8px rgba(212, 162, 76, .8); transition: transform .3s var(--ease); }
  .header-call:hover { transform: translateY(-2px) rotate(-8deg); }
  .header-cta { display: none; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .hero h1 { font-size: 3.7vw; }
}
@media (min-width: 1081px) {
  .contact-cards { grid-auto-rows: 1fr; align-content: stretch; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-profile { width: min(100% - 3rem, 19rem); margin-top: .5rem; }
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(180deg, rgba(10, 10, 12, .78) 0%, rgba(10, 10, 12, .9) 55%, rgba(10, 10, 12, .97) 100%); }
}
@media (max-width: 760px) {
  .tab-list { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; scroll-snap-type: none; padding: 0 0 .5rem; margin: 0; }
  .tab { width: 100%; padding: .7rem .75rem; gap: .6rem; }
  .tab-icon { width: 2.25rem; height: 2.25rem; }
  .tab-text strong { font-size: .9375rem; }
  .tab-help { margin-top: 0; }
  .pill-avatar { display: block; width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--gold); }
  .pill-dot { display: none; }
  .pill { padding-inline-start: .3rem; border-radius: 18px; text-wrap: balance; }
  .topbar-inner > p.topbar-item { display: none; }
  .topbar-inner { justify-content: center; }
  .hero { padding-block: 2.5rem 6rem; }
  .hero-media img { object-position: 50% 50%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-badge { padding: .4rem .7rem .4rem .4rem; border-radius: 12px; }
  .float-badge strong { font-size: .95rem; }
  .float-icon { width: 1.8rem; height: 1.8rem; border-radius: 8px; }
  .float-badge-a { left: -1.5rem; top: 8%; }
  .float-badge-b { right: -1.5rem; bottom: 30%; }
  [dir="rtl"] .float-badge-a { right: -1.5rem; left: auto; }
  [dir="rtl"] .float-badge-b { left: -1.5rem; right: auto; }
  .highlights { margin-top: -3rem; }
  .stat { padding: 1.5rem .75rem; }
  .principles { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel-media { aspect-ratio: 16 / 9; min-height: 0; }
  .overseas-content { grid-template-columns: 1fr; text-align: start; }
  .overseas-content .btn { justify-self: stretch; }
  .steps { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .step { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: start; column-gap: 1.25rem; padding: 0; }
  .step-icon { grid-row: span 2; margin: 0; width: 3.75rem; height: 3.75rem; }
  .step p { margin-top: .3rem; }
  .practice-note { border-radius: var(--r); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  :root { --gutter: 1.1rem; }
  .brand { gap: .6rem; }
  .brand-badge { width: 2.6rem; height: 2.6rem; border-radius: 12px; }
  .brand-mark { width: 1.85rem; height: 1.85rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-tag { font-size: .5625rem; letter-spacing: .2em; }
  .header-actions { gap: .4rem; }
  .lang-toggle { padding-inline: .6rem; }
  .hero h1 { font-size: clamp(2.2rem, 1.5rem + 3.6vw, 2.6rem); }
  .hero-trust { gap: .5rem 1rem; font-size: .875rem; }
  .stats { border-radius: var(--r); }
  .stat-num { font-size: 1.9rem; }
  .stat-word { font-size: 1.3rem; }
  .stat-label { font-size: .875rem; }
  .contact-card { padding: 1.1rem; gap: .9rem; }
  .contact-phone { font-size: 1.2rem; }
  .map-footer .btn { width: 100%; }
}

@media (max-width: 420px) {
  .header-call { display: none; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1.05rem; }
  .brand-badge { width: 2.35rem; height: 2.35rem; }
  .float-badge-a, .float-badge-b { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--line-soft); }
  .stat { grid-template-columns: auto 1fr; justify-items: start; text-align: start; column-gap: 1rem; padding: 1rem 1.25rem; }
  .stat-icon { grid-row: span 2; margin: 0; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .btn, .lang-toggle, .menu-toggle, .tab, .faq-item, .contact-card { border: 1px solid ButtonText; }
  .menu-bars span, .faq-icon::before, .faq-icon::after { background: ButtonText; }
}
@media print {
  .topbar, .site-header, .contact-dock, .mobile-bar, .to-top, .hero-media, .hero-actions, .map-card, .scroll-cue, .scroll-progress, .overseas { display: none !important; }
  body, .hero, .process, .contact, .site-footer, .practice, .career { background: #fff !important; color: #000 !important; }
  .hero::before { display: none; }
  :is(.hero, .process, .contact, .site-footer, .career) :is(h1, h2, h3, p, span, a, li, strong) { color: #000 !important; }
  .js .reveal { opacity: 1 !important; translate: none !important; }
  .js .panel[hidden] { display: grid !important; }
}

[dir="rtl"] .contact-phone, [dir="rtl"] .help-card a bdi, [dir="rtl"] .footer-phone bdi { font-family: var(--sans); font-weight: 600; }

/* ---------- No-JS fallback (small screens): plain wrapped nav, no sticky overlay ---------- */
@media (max-width: 1080px) {
  .no-js .site-header { position: relative; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  .no-js .site-nav { order: 3; flex-basis: 100%; }
  .no-js .nav-list { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
  .no-js .nav-link { width: auto; min-height: 2.75rem; padding: .4rem .7rem; font-size: .9375rem; }
  .no-js .nav-icon, .no-js .caret, .no-js .mega, .no-js .drawer-head, .no-js .drawer-actions, .no-js .menu-toggle { display: none !important; }
}


/* ==========================================================================
   Brand system, contact dock, courts, enquiry form
   ========================================================================== */
.brand-logo { width: 3.3rem; height: 3.3rem; flex: none; filter: drop-shadow(0 6px 10px rgba(12, 12, 14, .28)); transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-light .brand-logo { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.wa-logo { width: 1.5rem; height: 1.5rem; flex: none; }

/* Ornament: mark between gold rules */
.ornament { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: .9rem; }
.ornament::before, .ornament::after { content: ""; width: 3.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 2.4rem; height: 2.4rem; filter: drop-shadow(0 4px 8px rgba(12, 12, 14, .25)); }
.section-head.center .ornament + .eyebrow::before { display: none; }

/* Watermark seals */
.hero-seal { position: absolute; z-index: -1; width: min(44rem, 60vw); height: auto; right: -8rem; top: 50%; translate: 0 -50%; opacity: .07; pointer-events: none; animation: seal-spin 120s linear infinite; }
[dir="rtl"] .hero-seal { right: auto; left: -8rem; }
@keyframes seal-spin { to { rotate: 360deg; } }
.career { position: relative; isolation: isolate; }
.career-seal { position: absolute; z-index: -1; width: 15rem; height: 15rem; right: -4rem; top: -4rem; opacity: .08; pointer-events: none; }
[dir="rtl"] .career-seal { right: auto; left: -4rem; }
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.footer-seal { position: absolute; z-index: -1; width: 26rem; height: 26rem; right: -6rem; bottom: -8rem; opacity: .05; pointer-events: none; }
[dir="rtl"] .footer-seal { right: auto; left: -6rem; }

/* Courts & forums */
.courts { background: var(--paper); padding-top: 0; }
.forums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.forum {
  position: relative; overflow: hidden; padding: 2rem 1.5rem 1.75rem; border-radius: var(--r-lg); text-align: center;
  background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.forum::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-soft)); transform: scaleX(0); transition: transform .5s var(--ease); }
.forum:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.forum:hover::before { transform: scaleX(1); }
.forum-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--gold-tint)); color: var(--bronze); box-shadow: inset 0 0 0 1px var(--gold-soft), 0 8px 18px -10px rgba(134, 97, 42, .6); transition: transform .5s var(--ease), background .3s, color .3s; }
.forum-icon .icon { width: 2rem; height: 2rem; }
.forum:hover .forum-icon { transform: rotateY(180deg); background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--gold); }
.forum:hover .forum-icon .icon { transform: rotateY(180deg); }
.forum h3 { font-size: 1.25rem; }
.forum p { margin-top: .5rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }

/* Enquiry form */
.contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-aside .contact-cards { grid-auto-rows: auto; }
.contact-aside .map-frame { min-height: 15rem; flex: none; aspect-ratio: 16 / 9; }
.contact-sub { display: block; margin-top: .1rem; color: var(--on-dark-muted); font-size: .8125rem; }
.enquiry {
  align-self: start; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--white); color: var(--text);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); border-top: 4px solid var(--gold);
}
.enquiry-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-soft); }
.enquiry-logo { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 16px; background: #e9f9f0; }
.enquiry-logo .wa-logo { width: 2.2rem; height: 2.2rem; }
.enquiry h3 { font-size: 1.4rem; }
.enquiry-head p { margin-top: .25rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-weight: 700; font-size: .9375rem; color: var(--ink); }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; top: 50%; inset-inline-start: .9rem; translate: 0 -50%; width: 1.1rem; height: 1.1rem; color: var(--bronze); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  font: 500 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none;
}
.input-wrap input, .input-wrap select { padding-inline-start: 2.6rem; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2386612a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-inline-end: 2.4rem; cursor: pointer; }
[dir="rtl"] .field select { background-position: left .9rem center; }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(212, 162, 76, .2); }
.field [aria-invalid="true"] { border-color: #b4412f; box-shadow: 0 0 0 4px rgba(180, 65, 47, .12); }
.field-error { color: #a33a29; font-weight: 600; font-size: .875rem; }
.field-hint { color: var(--muted); font-size: .8125rem; }
.enquiry .btn-wa { margin-top: .5rem; background: linear-gradient(135deg, #2bd36f, #1a9c5a); }
.enquiry-privacy { display: flex; gap: .5rem; align-items: center; justify-content: center; margin-top: .9rem; color: var(--muted); font-size: .8125rem; text-align: center; }
.enquiry-privacy .icon { width: 1rem; height: 1rem; color: var(--bronze); }

/* Always-visible contact dock (desktop/tablet) */
.contact-dock { position: fixed; z-index: 95; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: grid; gap: .65rem; justify-items: end; }
[dir="rtl"] .contact-dock { right: auto; left: max(1.25rem, env(safe-area-inset-left)); justify-items: start; }
.dock-btn {
  position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem .5rem .5rem; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink); border: 1px solid var(--line-soft); box-shadow: 0 14px 34px -12px rgba(5, 5, 6, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
[dir="rtl"] .dock-btn { padding: .5rem .5rem .5rem 1.1rem; }
.dock-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -14px rgba(5, 5, 6, .55); }
.dock-wa .wa-logo { width: 2.75rem; height: 2.75rem; }
.dock-ring { position: absolute; left: .5rem; top: 50%; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s var(--ease-out) infinite; pointer-events: none; }
[dir="rtl"] .dock-ring { left: auto; right: .5rem; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.dock-call-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: linear-gradient(135deg, #f0cf7f, var(--gold) 50%, var(--gold-600)); color: var(--navy-1000); }
.dock-call-icon .icon { width: 1.3rem; height: 1.3rem; animation: ring 3.5s ease-in-out infinite; }
.dock-text { display: grid; line-height: 1.15; }
.dock-text small { font-size: .75rem; font-weight: 600; color: var(--muted); }
.dock-text strong { font-size: 1rem; font-weight: 700; color: var(--ink); }
.dock-wa .dock-text strong { color: #128c4a; }
.to-top { right: auto; left: max(1.25rem, env(safe-area-inset-left)); bottom: max(1.25rem, env(safe-area-inset-bottom)); }
[dir="rtl"] .to-top { left: auto; right: max(1.25rem, env(safe-area-inset-right)); }

/* Mobile bottom contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .contact-dock { display: none; }
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; z-index: 95; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
    padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom)); gap: .45rem;
    background: rgba(10, 10, 12, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(243, 217, 149, .25); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .5);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.1rem; border-radius: 14px; color: #fff; font-weight: 700; font-size: .9375rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s; }
  .mobile-bar a:active { background: rgba(255, 255, 255, .14); }
  .mobile-bar .icon { width: 1.2rem; height: 1.2rem; color: var(--gold); }
  .mobile-bar .mb-wa { background: linear-gradient(135deg, #25d366, #179c57); border-color: transparent; }
  .mobile-bar .wa-logo { width: 1.5rem; height: 1.5rem; }
  [dir="rtl"] .mobile-bar a { font-family: var(--urdu); font-weight: 400; }
  .to-top { bottom: calc(5.2rem + env(safe-area-inset-bottom)); left: auto; right: 1rem; width: 2.6rem; height: 2.6rem; }
  [dir="rtl"] .to-top { right: auto; left: 1rem; }
  .footer-bottom { padding-bottom: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .forums { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .forum { padding: 1.4rem 1rem; }
  .forum-icon { width: 3.25rem; height: 3.25rem; margin-bottom: .85rem; }
  .forum h3 { font-size: 1.0625rem; }
  .forum p { font-size: .875rem; }
  .hero-seal { width: 26rem; right: -10rem; top: 30%; }
  .brand-logo { width: 2.8rem; height: 2.8rem; }
  .ornament svg { width: 2rem; height: 2rem; }
}
@media (max-width: 1080px) {
  .forums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) and (min-width: 761px) {
  .dock-text { display: none; }
  .dock-btn, [dir="rtl"] .dock-btn { padding: .45rem; }
}
@media (max-width: 360px) {
  .forums { grid-template-columns: 1fr; }
  .brand-logo { width: 2.5rem; height: 2.5rem; }
}
[dir="rtl"] :is(.dock-text small, .dock-text strong, .field label, .enquiry-privacy, .field-hint, .field-error, .forum h3, .enquiry h3) { font-family: var(--urdu); font-weight: 400; }
[dir="rtl"] :is(.dock-text small, .dock-text strong) { line-height: 1.7; }
[dir="rtl"] .field label { font-size: 1.0625rem; }
[dir="rtl"] .forum p, [dir="rtl"] .enquiry-head p { line-height: 2; }
[dir="rtl"] .dock-text strong bdi { font-family: var(--sans); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .hero-seal, .dock-ring { animation: none; } }
@media (min-width: 761px) { .footer-bottom { padding-inline-end: 6rem; } }


/* Metallic gold numbers and warmer sections */
.stat-num { background: linear-gradient(180deg, #e2b35a, #a8742a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-icon, .principle-icon, .forum-icon { color: var(--bronze); }



.eyebrow { color: #9a6a1c; }
.btn-glass .btn-ring { display: grid; place-items: center; width: 2rem; height: 2rem; margin-inline-start: -.6rem; border-radius: 50%; background: linear-gradient(135deg, #f0cf7f, var(--gold) 50%, var(--gold-600)); color: var(--navy-1000); }
.btn-glass .btn-ring .icon { width: 1.05rem; height: 1.05rem; animation: ring 3.5s ease-in-out infinite; }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; }
.footer-phone .icon { width: 1.1rem; height: 1.1rem; }
.help-card a { font-size: 1.0625rem; }

/* ---------- Footer utilities: share, save contact, legal ---------- */
.footer-utility { display: flex; flex-wrap: wrap; gap: .6rem; padding-bottom: 1.75rem; }
.foot-pill {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: var(--on-dark); font: 600 .875rem/1.2 var(--sans);
  transition: background-color .25s, border-color .25s, transform .25s var(--ease), color .25s;
}
.foot-pill .icon { width: 1.05rem; height: 1.05rem; color: var(--gold); }
.foot-pill:hover { background: rgba(243, 217, 149, .12); border-color: rgba(243, 217, 149, .5); transform: translateY(-2px); color: #fff; }
[dir="rtl"] .foot-pill { font-family: var(--urdu); font-weight: 400; line-height: 1.9; }


/* ---------- Legal dialog ---------- */
.legal-dialog { width: min(44rem, calc(100% - 2rem)); max-height: min(85vh, 46rem); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: 0 40px 90px -20px rgba(5, 5, 6, .6); overflow: hidden; }
.legal-dialog::backdrop { background: rgba(5, 5, 6, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.legal-dialog[open] { animation: dialog-in .4s var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; translate: 0 20px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.dialog-inner { display: flex; flex-direction: column; max-height: inherit; }
.dialog-head { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.4rem; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #fff; border-bottom: 3px solid var(--gold); }
.dialog-logo { width: 2.6rem; height: 2.6rem; flex: none; }
.dialog-head h2 { flex: 1; color: #fff; font-size: 1.35rem; font-family: var(--serif-text); }
.dialog-close { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; color: #fff; border: 1px solid rgba(255, 255, 255, .3); transition: background-color .2s, rotate .3s var(--ease); }
.dialog-close:hover { background: rgba(255, 255, 255, .12); rotate: 90deg; }
.dialog-body { overflow-y: auto; padding: 1.5rem 1.6rem 1.75rem; display: grid; gap: 1.5rem; }
.dialog-body h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft); }
.dialog-body p { font-size: .96875rem; line-height: 1.7; }
.dialog-body p + p { margin-top: .6rem; }
.dialog-body .is-focus h3 { color: var(--bronze); }
[dir="rtl"] .dialog-head h2, [dir="rtl"] .dialog-body h3 { font-family: var(--urdu); font-weight: 400; line-height: 1.8; }
[dir="rtl"] .dialog-body p { line-height: 2.1; }

/* Toast */
.toast { position: fixed; z-index: 130; left: 50%; bottom: 6rem; translate: -50% 20px; padding: .7rem 1.2rem; border-radius: var(--r-pill); background: var(--navy-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); }
.toast.is-visible { opacity: 1; translate: -50% 0; }
.footer-col .footer-phone { display: inline-flex; }
@media (min-width: 761px) { .footer-bottom { padding-inline-start: 4.5rem; } }

/* ==========================================================================
   Critique 5 fixes
   ========================================================================== */
.to-top.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.85); }
.to-top { left: auto; right: max(1.25rem, env(safe-area-inset-right)); bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + 7.6rem); }
[dir="rtl"] .to-top { right: auto; left: max(1.25rem, env(safe-area-inset-left)); }
@media (min-width: 761px) { .footer-bottom { padding-inline-start: 0; padding-inline-end: 5rem; } }

/* Dock: compact circles by default; labels on hover or on very wide screens */
@media (min-width: 761px) {
  .dock-text { display: none; }
  .dock-btn, [dir="rtl"] .dock-btn { padding: .45rem; }
  .dock-btn:hover .dock-text, .dock-btn:focus-visible .dock-text { display: grid; }
  .dock-btn:hover, .dock-btn:focus-visible { padding-inline-end: 1.1rem; }
}
@media (min-width: 1680px) {
  .dock-text { display: grid; }
  .dock-btn { padding: .5rem 1.1rem .5rem .5rem; }
  [dir="rtl"] .dock-btn { padding: .5rem .5rem .5rem 1.1rem; }
}
.dock-ring, .dock-call-icon .icon { animation-iteration-count: 4; }
.dock-btn:hover .dock-ring { animation: wa-ring 1.2s var(--ease-out) 1; }

/* Mobile: no cream gap under the footer */
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
}
html { background: var(--navy-1000); }

/* Hero sizing */
@media (min-width: 901px) and (max-width: 1240px) { .hero h1 { font-size: clamp(2.6rem, 1rem + 3.4vw, 3.4rem); } }
@media (max-width: 540px) { html[dir="ltr"] .hero h1 { font-size: clamp(1.75rem, 7.9vw, 2.4rem); } }
.process, .contact { padding-block: clamp(4rem, 3rem + 4vw, 6rem); }

/* Two columns survive on small laptops/tablets */
@media (min-width: 861px) and (max-width: 1080px) {
  .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
  .career { position: sticky; }
  .faq-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; }
  .faq-aside { position: sticky; }
}
.map-note { max-width: none; text-wrap: pretty; }
.principle span span { max-width: none; text-wrap: pretty; }

/* Urdu: FAQ questions and form fields in Nastaliq */
[dir="rtl"] .faq-item summary { font-family: var(--urdu); font-weight: 400; line-height: 2; font-size: 1.0625rem; }
[dir="rtl"] :is(.field input:not([type="date"]), .field select, .field textarea) { font-family: var(--urdu); line-height: 2; }
[dir="rtl"] .field ::placeholder { font-family: var(--urdu); }

/* Help actions (Call + WhatsApp) */
.help-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.help-actions .help-btn { flex: 1 1 6.5rem; min-width: 0; }
.help-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .4rem .8rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 700; font-size: .9375rem; transition: transform .25s var(--ease), background-color .25s; }
.help-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .18); }
.help-btn .icon { width: 1.05rem; height: 1.05rem; color: var(--gold); }
.help-btn .wa-logo { width: 1.3rem; height: 1.3rem; }
.help-wa { background: linear-gradient(135deg, #25d366, #179c57); border-color: transparent; }
.help-wa:hover { background: linear-gradient(135deg, #2be071, #18a85d); }
.tab-help { align-items: flex-start; }
.tab-help > span:last-child { flex: 1; min-width: 0; }
.help-card { align-items: flex-start; }
.help-card > div { flex: 1; min-width: 0; }
[dir="rtl"] .help-btn { font-family: var(--urdu); font-weight: 400; line-height: 1.9; }

/* Overseas actions */
.overseas-actions { display: grid; gap: .6rem; justify-items: stretch; }
.overseas-actions .wa-logo { width: 1.5rem; height: 1.5rem; }

/* Logo usage */
.career-logo { width: 3rem; height: 3rem; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.drawer-brand { display: inline-flex; align-items: center; gap: .6rem; }
.drawer-brand svg { width: 2.1rem; height: 2.1rem; }
.drawer-brand .drawer-title { letter-spacing: .04em; text-transform: none; font: 600 1.05rem/1.2 var(--serif-text); color: var(--ink); }
.drawer-seal { display: none; }
@media (max-width: 1080px) {
  .drawer-seal { display: grid; justify-items: center; gap: .6rem; margin: auto 0 0; padding-top: 1.5rem; text-align: center; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
  .drawer-seal svg { width: 6rem; height: 6rem; opacity: .92; filter: drop-shadow(0 10px 20px rgba(12, 12, 14, .25)); }
  .drawer-actions { margin-top: 1rem; }
  [dir="rtl"] .drawer-seal span { font-family: var(--urdu); line-height: 2; }
}
.brand:hover .brand-logo { filter: drop-shadow(0 6px 14px rgba(212, 162, 76, .5)); }

/* Courts cards: equal rhythm */
.forum { display: flex; flex-direction: column; align-items: center; }

/* Practice note: finished look */
.practice-note { gap: .6rem; border: 1px solid var(--line-soft); background: var(--gold-tint); border-style: solid; }
.practice-note .icon { width: 1.1rem; height: 1.1rem; color: var(--bronze); flex: none; }
.practice-note > span { flex: 0 1 auto; text-align: start; }

/* ==========================================================================
   BLACK & GOLD THEME
   ========================================================================== */
html { background: #050506; }
body { background: #ffffff; }

/* Header & top bar: black glass with gold */
.topbar { background: #050506; border-bottom: 1px solid rgba(234, 208, 143, .12); }
.site-header::before { background: rgba(12, 12, 14, .9); }
.site-header.is-scrolled::before { background: rgba(10, 10, 12, .97); }
.site-header.is-scrolled { border-bottom-color: rgba(234, 208, 143, .22); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.site-header .brand { color: #fff; }
.site-header .brand-name { color: #fff; }
.site-header .brand-tag { color: var(--gold); }
.site-header .nav-link { color: #ecebe8; }
.site-header .nav-link:hover, .site-header .nav-link.is-active { color: var(--gold-soft); background: rgba(234, 208, 143, .1); }
.site-header .lang-toggle, .site-header .menu-toggle { background: transparent; color: #fff; border-color: rgba(234, 208, 143, .35); }
.site-header .lang-toggle:hover, .site-header .menu-toggle:hover { border-color: var(--gold); background: rgba(234, 208, 143, .08); }
@media (max-width: 1080px) {
  .site-nav { background: #0e0e10; color: #fff; }
  .site-header .site-nav .nav-link { color: #f1f0ec; }
  .site-nav .nav-list li + li { border-top-color: rgba(234, 208, 143, .12); }
  .nav-icon { background: rgba(234, 208, 143, .12); color: var(--gold); }
  .drawer-head { border-bottom-color: rgba(234, 208, 143, .15); }
  .drawer-brand .drawer-title { color: #fff; }
  .drawer-close { background: transparent; border-color: rgba(234, 208, 143, .35); }
  .drawer-close .icon { color: #fff; }
  .drawer-seal { color: var(--on-dark-muted); }
  .mega-item:hover { background: rgba(234, 208, 143, .08); }
  .mega-text strong { color: #fff; }
  .mega-text span { color: var(--on-dark-muted); }
}

/* Crest logo sizing */
.brand-logo { width: 4.1rem; height: 3.55rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); }
.ornament svg { width: 3.6rem; height: 3.1rem; filter: none; }
.career-logo { width: 3.6rem; height: 3.1rem; }
.drawer-brand svg { width: 2.9rem; height: 2.5rem; }
.dialog-logo { width: 3.2rem; height: 2.8rem; }
@media (max-width: 760px) { .brand-logo { width: 3.4rem; height: 2.95rem; } .ornament svg { width: 3rem; height: 2.6rem; } }
@media (max-width: 360px) { .brand-logo { width: 2.9rem; height: 2.5rem; } }

/* Gold everywhere icons appear: one consistent accent */
.stat-icon, .principle-icon, .forum-icon, .mega-icon, .tab-icon, .panel-badge, .nav-icon, .float-icon {
  background: linear-gradient(145deg, #1f1f24, #0b0b0d) !important; color: var(--gold) !important;
  box-shadow: inset 0 0 0 1px rgba(234, 208, 143, .35), 0 8px 18px -10px rgba(0, 0, 0, .6) !important;
}
.stat:hover .stat-icon, .principle:hover .principle-icon, .forum:hover .forum-icon, .mega-item:hover .mega-icon {
  background: linear-gradient(145deg, #f0d488, #c9a24a 55%, #a9822f) !important; color: #0b0b0d !important;
}
.stat-num { background: linear-gradient(180deg, #e7c36d, #a9822f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--bronze); }
.eyebrow-light { color: var(--gold-soft); }
.ornament::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* Hero: pure black with gold glow */
.hero { background: #050506; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, .97) 0%, rgba(5, 5, 6, .9) 40%, rgba(5, 5, 6, .6) 68%, rgba(5, 5, 6, .35) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, .9) 0%, rgba(5, 5, 6, 0) 40%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(5, 5, 6, .97) 0%, rgba(5, 5, 6, .9) 40%, rgba(5, 5, 6, .6) 68%, rgba(5, 5, 6, .35) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, .9) 0%, rgba(5, 5, 6, 0) 40%);
}
@media (max-width: 900px) { .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(180deg, rgba(5, 5, 6, .78) 0%, rgba(5, 5, 6, .9) 55%, rgba(5, 5, 6, .97) 100%); } }
.hero-media img { filter: saturate(.7) brightness(.9); }
.hero-glow { background: radial-gradient(circle, rgba(201, 162, 74, .22), transparent 65%); }
.hero-seal { opacity: .09; }
.pill-dark { background: rgba(201, 162, 74, .1); border-color: rgba(234, 208, 143, .35); }
.profile-frame { background: linear-gradient(150deg, #f7e3a3, #b8892f 45%, #f0d488); }
.float-badge { background: #fff; }

/* Section rhythm: black | white | black */
.about { background: #ffffff; }
.practice { background: radial-gradient(70rem 40rem at 50% -10%, rgba(201, 162, 74, .14), transparent 60%), #0b0b0d; color: var(--on-dark); }
.practice h2 { color: #fff; }
.practice .section-intro { color: var(--on-dark-muted); }
.practice .eyebrow { color: var(--gold-soft); }
.courts { background: #ffffff; padding-top: var(--section); }
.overseas { background: #ffffff; }
.process { background: radial-gradient(70rem 40rem at 50% -10%, rgba(201, 162, 74, .12), transparent 60%), #0b0b0d; }
.faq { background: #f7f6f2; }
.contact { background: radial-gradient(60rem 30rem at 0% 0%, rgba(201, 162, 74, .1), transparent 60%), #0b0b0d; }
.site-footer { background: #050506; }

/* Practice tabs on black */
.tab { background: #17171b; border: 1px solid rgba(234, 208, 143, .14); border-inline-start: 3px solid transparent; box-shadow: none; }
.tab-text strong { color: #fff; }
.tab-text small { color: var(--on-dark-muted); }
.tab:hover, [dir="rtl"] .tab:hover { background: #1e1e23; border-color: rgba(234, 208, 143, .35); border-inline-start-color: var(--gold); }
.tab[aria-selected="true"] { background: linear-gradient(135deg, #f0d488, #c9a24a 55%, #a9822f); border-color: transparent; box-shadow: 0 18px 40px -16px rgba(201, 162, 74, .55); }
.tab[aria-selected="true"] strong { color: #0b0b0d; }
.tab[aria-selected="true"] small { color: #2a2414; }
.tab[aria-selected="true"] .tab-icon { background: #0b0b0d !important; color: var(--gold) !important; box-shadow: none !important; }
.tab[aria-selected="true"]::after { background: #c9a24a; }
.tab-help { background: #17171b; border: 1px solid rgba(234, 208, 143, .2); }
.panel { position: relative; overflow: hidden; border-top: 4px solid var(--gold); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.panel::before { content: none; }
.panel-media { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); outline: 1px solid rgba(255, 255, 255, .5); outline-offset: -8px; }
.panel-media::after { background: linear-gradient(0deg, rgba(5, 5, 6, .75) 0%, rgba(5, 5, 6, 0) 45%); opacity: 1; }
.panel-media img { filter: saturate(.9) contrast(1.05); }
.panel-body h3 { color: var(--ink); }
.panel .checks li::before { background: #0b0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23e7c36d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; box-shadow: none; }
.panel .link-arrow { color: var(--bronze); }
.practice-note { background: rgba(201, 162, 74, .08); border-color: rgba(234, 208, 143, .25); color: var(--on-dark-muted); }
.practice-note .icon { color: var(--gold); }

/* Light-section cards */
.principle, .forum, .faq-item { border-color: var(--line-soft); }
.forum::before { background: linear-gradient(90deg, #a9822f, #f0d488, #a9822f); }
.forum:hover, .principle:hover, .faq-item[open] { border-color: rgba(201, 162, 74, .55); }
.faq-icon { background: #0b0b0d; }
.faq-icon::before, .faq-icon::after { background: var(--gold); }
.faq-item[open] .faq-icon { background: var(--gold); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #0b0b0d; }
.career { background: radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 74, .14), transparent 55%), linear-gradient(160deg, #1d1d22, #0b0b0d); }
.overseas-card::before { background: linear-gradient(100deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .86) 55%, rgba(5, 5, 6, .55) 100%); }
[dir="rtl"] .overseas-card::before { background: linear-gradient(260deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .86) 55%, rgba(5, 5, 6, .55) 100%); }
.help-card, .tab-help, .mega-foot { background: linear-gradient(145deg, #1d1d22, #0b0b0d); }
.mega { border-color: rgba(201, 162, 74, .3); }
.mega-item:hover { background: var(--cream); }

/* Buttons */
.btn-gold { background: linear-gradient(135deg, #f0d488, #c9a24a 50%, #a9822f); color: #0b0b0d; box-shadow: 0 8px 22px -8px rgba(201, 162, 74, .6); }
.btn-primary { background: #111114; }
.btn-primary:hover { background: #2b2b32; }

/* Contact on black */
.contact-card { background: #141418; border-color: rgba(234, 208, 143, .16); }
a.contact-card:hover { background: #1b1b20; border-color: rgba(234, 208, 143, .45); }
.contact-icon { background: linear-gradient(145deg, #f0d488, #c9a24a 55%, #a9822f); color: #0b0b0d; }
.contact-card-wa .contact-icon { background: #0b0b0d; box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .5); }
.contact-card-save .contact-icon { background: #0b0b0d; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(234, 208, 143, .4); }
.map-card { background: #141418; }
.enquiry { border-top-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(201, 162, 74, .22); }

/* Dock & mobile bar */
.dock-btn { background: #0e0e10; border-color: rgba(234, 208, 143, .35); }
.dock-text small { color: var(--on-dark-muted); }
.dock-text strong { color: #fff; }
.dock-wa .dock-text strong { color: #4ade80; }
.mobile-bar { background: rgba(8, 8, 10, .97); border-top-color: rgba(234, 208, 143, .3); }
.to-top { background: #0e0e10; color: var(--gold); border-color: rgba(234, 208, 143, .35); }
.to-top:hover { background: var(--gold); color: #0b0b0d; }
.scroll-progress span { background: linear-gradient(90deg, #a9822f, #f0d488); }
.dialog-head { background: linear-gradient(135deg, #1d1d22, #0b0b0d); }
.legal-dialog { background: #fff; }
::selection { background: #ead08f; color: #0b0b0d; }
.brand-logo { width: 4.6rem; height: 4rem; }
.ornament svg { width: 4.6rem; height: 4rem; }
@media (max-width: 760px) { .brand-logo { width: 3.6rem; height: 3.1rem; } .ornament svg { width: 3.8rem; height: 3.3rem; } }
@media (max-width: 360px) { .brand-logo { width: 3rem; height: 2.6rem; } }

/* ---------- QA 5 fixes ---------- */
.hero-seal, .career-seal, .footer-seal, .drawer-seal svg { direction: ltr; }
.hero-seal { top: -4rem; translate: none; }
html { scroll-padding-bottom: 9rem; }
@media (max-width: 760px) { html { scroll-padding-bottom: calc(4.8rem + env(safe-area-inset-bottom)); } }
.to-top { bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + 9.4rem); }
@media (max-width: 760px) {
  .to-top { width: 2.75rem; height: 2.75rem; bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
  .footer-bottom { padding-inline-end: 3.5rem; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .hero { padding-block: 1.5rem 5rem; }
  .hero h1 { margin-top: 1rem; }
  .hero-lead { margin-top: .9rem; font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-trust { margin-top: 1.25rem; }
}
.enquiry-nojs { display: none; margin-bottom: 1rem; }
/* Without JavaScript: show plain links instead of controls that need scripts */
.no-js .enquiry-nojs { display: block; }
.no-js .enquiry > :not(.enquiry-nojs):not(.enquiry-head) { display: none; }
.no-js :is([data-share], [data-dialog-open], .tab-side .tab-list) { display: none !important; }
.no-js .panel[hidden] { display: grid; }

/* ==========================================================================
   Round 13: brand-led desktop, cleaner dock, mobile polish
   ========================================================================== */

/* ---- Dock: clean solid circles ---- */
.dock-btn { padding: .4rem; background: #0e0e10; }
.dock-wa-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .7); }
.dock-wa-icon .icon { width: 1.6rem; height: 1.6rem; }
.dock-call-icon { width: 2.9rem; height: 2.9rem; }
.dock-ring { left: .4rem; width: 2.9rem; height: 2.9rem; margin-top: -1.45rem; }
[dir="rtl"] .dock-ring { right: .4rem; }
.to-top { width: 2.6rem; height: 2.6rem; }

/* ---- Mobile polish ---- */
@media (max-width: 760px) { .to-top { display: none !important; } }
.help-wa, .help-wa span { color: #fff !important; }

/* ---- Desktop hero: arch portrait that blends into black ---- */
@media (min-width: 901px) {
  .hero-media img { opacity: .28; filter: grayscale(.4) brightness(.75); }
  .hero::before {
    background:
      radial-gradient(60rem 40rem at 78% 45%, rgba(201, 162, 74, .16), transparent 60%),
      linear-gradient(90deg, rgba(5, 5, 6, .98) 0%, rgba(5, 5, 6, .9) 45%, rgba(5, 5, 6, .75) 100%),
      linear-gradient(0deg, rgba(5, 5, 6, 1) 0%, rgba(5, 5, 6, 0) 35%);
  }
  [dir="rtl"] .hero::before {
    background:
      radial-gradient(60rem 40rem at 22% 45%, rgba(201, 162, 74, .16), transparent 60%),
      linear-gradient(270deg, rgba(5, 5, 6, .98) 0%, rgba(5, 5, 6, .9) 45%, rgba(5, 5, 6, .75) 100%),
      linear-gradient(0deg, rgba(5, 5, 6, 1) 0%, rgba(5, 5, 6, 0) 35%);
  }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; }
  .hero-copy { padding-bottom: 3rem; }
  .hero { padding-bottom: clamp(6rem, 8vw, 8rem); }
  .hero-profile { width: min(100%, 30rem); justify-self: end; }
  [dir="rtl"] .hero-profile { justify-self: start; }
  .profile-frame { padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .profile-frame::before { /* gold court-arch outline behind the portrait */
    content: ""; position: absolute; inset: -1.1rem -1.1rem 2.5rem; border-radius: 999px 999px 0 0;
    border: 1.5px solid rgba(234, 208, 143, .55); border-bottom: 0; pointer-events: none;
    box-shadow: inset 0 0 90px rgba(201, 162, 74, .14);
  }
  .profile-frame::after {
    content: ""; position: absolute; inset: -2.2rem -2.2rem 4rem; border-radius: 999px 999px 0 0;
    border: 1px solid rgba(234, 208, 143, .18); border-bottom: 0; pointer-events: none;
  }
  .profile-frame img {
    border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5; object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    filter: contrast(1.04) saturate(.95);
  }
  .profile-caption {
    inset: auto 50% 1.25rem auto; translate: 50% 0; width: max-content; padding: .75rem 1.5rem; border-radius: var(--r-pill);
    background: rgba(10, 10, 12, .82); border: 1px solid rgba(234, 208, 143, .45); text-align: center;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  }
  [dir="rtl"] .profile-caption { inset: auto auto 1.25rem 50%; translate: -50% 0; }
  .float-badge-a { top: 18%; left: -3.5rem; }
  .float-badge-b { bottom: 30%; right: -2.5rem; }
  [dir="rtl"] .float-badge-a { left: auto; right: -3.5rem; }
  [dir="rtl"] .float-badge-b { right: auto; left: -2.5rem; }
  .hero h1 { font-size: clamp(3rem, 1.6rem + 3.4vw, 4.6rem); }
}
@media (min-width: 901px) and (max-width: 1240px) { .hero h1 { font-size: clamp(2.6rem, 1rem + 3.2vw, 3.4rem); } }

/* ---- Brand statement panel (replaces the CV-like timeline) ---- */
.statement {
  position: sticky; top: calc(var(--header-h) + 1.5rem); isolation: isolate; overflow: hidden;
  padding: clamp(2rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); color: var(--on-dark); text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, rgba(201, 162, 74, .2), transparent 60%), linear-gradient(170deg, #1d1d22, #0b0b0d);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); border: 1px solid rgba(234, 208, 143, .22);
}
.statement::after { content: ""; position: absolute; inset: .6rem; border-radius: calc(var(--r-lg) - .4rem); border: 1px solid rgba(234, 208, 143, .14); pointer-events: none; z-index: -1; }
.statement-seal { display: block; width: 7.5rem; height: 7.5rem; margin: 0 auto 1.25rem; direction: ltr; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6)); }
.statement-kicker { font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.statement-quote { margin: .6rem auto 1.75rem; max-width: 22ch; font: 500 clamp(1.5rem, 1.2rem + 1vw, 1.95rem)/1.3 var(--serif); color: #fff; text-wrap: balance; }
.cred-list { display: grid; gap: .6rem; margin-bottom: 1.75rem; text-align: start; }
.cred-list li { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(234, 208, 143, .14); transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.cred-list li:hover { border-color: rgba(234, 208, 143, .45); background: rgba(255, 255, 255, .07); transform: translateX(3px); }
[dir="rtl"] .cred-list li:hover { transform: translateX(-3px); }
.cred-list .icon { width: 1.25rem; height: 1.25rem; color: var(--gold); flex: none; }
.cred-list strong { display: block; color: #fff; font-size: 1rem; line-height: 1.3; }
.cred-list small { display: block; color: var(--on-dark-muted); font-size: .8125rem; }
[dir="rtl"] :is(.statement-kicker, .cred-list strong, .cred-list small) { font-family: var(--urdu); font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.9; }
[dir="rtl"] .statement-quote { font-family: var(--urdu); font-weight: 400; line-height: 1.9; }
@media (max-width: 1080px) and (min-width: 861px) { .statement { position: sticky; } }
@media (max-width: 860px) { .statement { position: static; } }

/* ---- Split section heading (practice) ---- */
.split-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; text-align: start; }
.split-head .eyebrow { grid-column: 1 / -1; }
.split-head .section-intro { margin-top: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } .split-head .section-intro { margin-top: 1rem; } }

/* ---- Practice panel: landscape photo at natural shape, checklist in columns ---- */
@media (min-width: 761px) {
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); grid-template-areas: "title media" "summary media" "checks checks" "link link"; column-gap: 2.25rem; row-gap: 0; align-items: start; }
  .panel-body { display: contents; }
  .panel-body h3 { grid-area: title; }
  .panel-summary { grid-area: summary; }
  .panel .checks { grid-area: checks; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .panel .link-arrow { grid-area: link; justify-self: start; }
  .panel-media { grid-area: media; align-self: start; aspect-ratio: 3 / 2; min-height: 0; }
  .panel-media img { position: absolute; inset: 0; }
}
@media (min-width: 761px) and (max-width: 1080px) { .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); } }
.panel-media::after { background: linear-gradient(0deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, 0) 50%); }

/* ---- Premium texture on black sections ---- */
.practice, .process, .contact { position: relative; isolation: isolate; }
.practice::after, .process::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(234, 208, 143, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 208, 143, .035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

@media (min-width: 901px) {
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
  .hero h1 { font-size: clamp(2.8rem, 1.2rem + 3vw, 4rem); }
}
@media (min-width: 901px) and (max-width: 1240px) { .hero h1 { font-size: clamp(2.4rem, .6rem + 3.2vw, 3.2rem); } }
@media (min-width: 761px) { .panel { grid-template-rows: auto 1fr auto auto; } .panel-summary { align-self: start; } }

@media (min-width: 761px) {
  .panel .checks { display: block; columns: 2; column-gap: 2.25rem; }
  .panel .checks li { break-inside: avoid; margin-bottom: .75rem; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .float-badge-b { right: -.75rem; }
  [dir="rtl"] .float-badge-b { left: -.75rem; right: auto; }
  .float-badge-a { left: -1.5rem; }
  [dir="rtl"] .float-badge-a { right: -1.5rem; left: auto; }
}

/* ==========================================================================
   Round 17: clean hero, no background photo, better help buttons
   ========================================================================== */
.hero, .hero::before { background: none; }
.hero {
  background:
    radial-gradient(55rem 38rem at 82% 18%, rgba(201, 162, 74, .2), transparent 62%),
    radial-gradient(40rem 30rem at -5% 105%, rgba(201, 162, 74, .1), transparent 60%),
    linear-gradient(180deg, #0b0b0d 0%, #050506 100%) !important;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(234, 208, 143, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 208, 143, .04) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
[dir="rtl"] .hero::before { -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); }
.hero-seal { opacity: .06; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(234, 208, 143, .45), transparent); }

/* Clean eyebrow instead of the bordered pill */
.hero-eyebrow { display: flex; align-items: center; gap: .85rem; font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.hero-eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); flex: none; }
[dir="rtl"] .hero-eyebrow::before { background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .hero-eyebrow { font-family: var(--urdu); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 1.0625rem; line-height: 2; }
@media (max-width: 480px) { .hero-eyebrow { font-size: .6875rem; letter-spacing: .14em; gap: .6rem; } .hero-eyebrow::before { width: 1.5rem; } }

/* Help buttons: comfortable spacing, white text, never touching the edge */
.help-actions { gap: .6rem; }
.help-btn { min-height: 3rem; padding: .55rem 1.1rem; gap: .55rem; font-size: 1rem; white-space: nowrap; color: #fff; }
.help-btn span { color: #fff; }
.help-btn .wa-logo { width: 1.25rem; height: 1.25rem; }
.help-wa { background: #1fa855; border: 1px solid rgba(255, 255, 255, .12); }
.help-wa:hover { background: #22b85d; }
.help-wa .wa-logo path[fill="#25D366"] { fill: transparent; }
@media (max-width: 480px) {
  .help-card, .tab-help { flex-direction: column; align-items: stretch; text-align: start; }
  .help-card .help-icon, .tab-help .tab-help-icon { align-self: flex-start; }
  .help-actions { flex-direction: column; }
  .help-actions .help-btn { flex: none; width: 100%; }
}

/* Mobile/tablet portrait: same court-arch treatment as desktop */
@media (max-width: 900px) {
  .hero-profile { width: min(100% - 4rem, 20rem); margin-top: 1.5rem; }
  .profile-frame { padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .profile-frame::before { content: ""; position: absolute; inset: -.8rem -.8rem 2rem; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(234, 208, 143, .55); border-bottom: 0; pointer-events: none; box-shadow: inset 0 0 60px rgba(201, 162, 74, .14); }
  .profile-frame img { border-radius: 999px 999px 0 0; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .profile-caption { inset: auto 50% .75rem auto; translate: 50% 0; width: max-content; max-width: 100%; padding: .55rem 1.1rem; border-radius: var(--r-pill); background: rgba(10, 10, 12, .85); border: 1px solid rgba(234, 208, 143, .45); text-align: center; }
  [dir="rtl"] .profile-caption { inset: auto auto .75rem 50%; translate: -50% 0; }
  .profile-caption strong { font-size: 1.1rem; }
  .profile-caption span { font-size: .8125rem; }
}

/* ==========================================================================
   Round 19: darker hero, roomy help buttons, consistent icon colours
   ========================================================================== */
/* Darker, calmer hero so the text stands out */
.hero {
  background:
    radial-gradient(45rem 32rem at 82% 18%, rgba(201, 162, 74, .1), transparent 62%),
    linear-gradient(180deg, #08080a 0%, #030304 100%) !important;
}
.hero::before { opacity: .5; }
.hero-seal { opacity: .028; }
.hero-glow { opacity: .45; }

/* Help cards: buttons always full-width and stacked, generous padding */
.help-actions { display: grid; grid-template-columns: 1fr; gap: .55rem; margin-top: .9rem; }
.help-actions .help-btn { width: 100%; flex: none; min-height: 3rem; padding: .6rem 1.25rem; justify-content: center; }
.help-btn .icon { width: 1.15rem; height: 1.15rem; }
.help-wa .icon { color: #fff; }

/* Contact cards: one consistent icon style (gold tile, dark glyph) */
.contact-icon, .contact-card-wa .contact-icon {
  background: linear-gradient(145deg, #f0d488, #c9a24a 55%, #a9822f) !important;
  color: #0b0b0d !important; box-shadow: 0 8px 18px -8px rgba(201, 162, 74, .6) !important;
}
.contact-icon .icon { width: 1.4rem; height: 1.4rem; }
.help-icon, .tab-help-icon { background: linear-gradient(145deg, #f0d488, #c9a24a 55%, #a9822f); color: #0b0b0d; }

@media (max-width: 400px) { .hero-eyebrow { font-size: .625rem; letter-spacing: .1em; gap: .5rem; } .hero-eyebrow::before { width: 1.1rem; } }

/* ==========================================================================
   Round 20
   ========================================================================== */
/* ---- Hero: darker, with a visible slowly turning gold seal ---- */
.hero {
  background:
    radial-gradient(40rem 30rem at 80% 30%, rgba(201, 162, 74, .08), transparent 65%),
    linear-gradient(180deg, #060607 0%, #020203 100%) !important;
}
.hero::before { opacity: .35; }
.hero-glow { opacity: .3; }
.hero-seal {
  opacity: .13; width: min(46rem, 62vw); top: 50%; translate: 0 -50%; right: -9rem;
  animation: seal-spin 60s linear infinite;
  filter: drop-shadow(0 0 30px rgba(201, 162, 74, .15));
}
[dir="rtl"] .hero-seal { right: auto; left: -9rem; }
@media (max-width: 900px) { .hero-seal { opacity: .08; width: 30rem; right: -12rem; top: 35%; } }

/* ---- Hero portrait: framed gold arch, name plate below ---- */
.hero-profile { width: min(100%, 26rem); }
.profile-frame {
  position: relative; padding: 7px !important; overflow: visible !important;
  border-radius: 999px 999px 28px 28px !important;
  background: linear-gradient(160deg, #f7e3a3, #b8892f 40%, #6e5220 60%, #f0d488) !important;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(234, 208, 143, .25), 0 0 80px -20px rgba(201, 162, 74, .35) !important;
}
.profile-frame::before { content: "" !important; position: absolute; inset: -14px !important; border-radius: 999px 999px 40px 40px !important; border: 1px solid rgba(234, 208, 143, .3) !important; box-shadow: none !important; pointer-events: none; }
.profile-frame::after { content: none !important; }
.profile-frame img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border-radius: 999px 999px 22px 22px !important; -webkit-mask-image: none !important; mask-image: none !important;
  background: #111;
}
.profile-caption {
  position: absolute !important; inset: auto 50% -2.4rem auto !important; translate: 50% 0 !important;
  width: max-content; max-width: calc(100% + 2rem); display: grid; gap: .15rem; text-align: center;
  padding: .9rem 1.6rem !important; border-radius: 16px !important;
  background: linear-gradient(180deg, #17171b, #0b0b0d) !important; border: 1px solid rgba(234, 208, 143, .5) !important;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9) !important;
}
[dir="rtl"] .profile-caption { inset: auto auto -2.4rem 50% !important; translate: -50% 0 !important; }
.profile-caption strong { color: #fff; font-size: 1.3rem; }
.profile-caption span { color: var(--gold); font-weight: 700; font-size: .875rem; }
.profile-caption em { font-style: normal; color: var(--on-dark-muted); font-size: .75rem; letter-spacing: .02em; }
.hero-profile { margin-bottom: 2.4rem; }
@media (max-width: 900px) {
  .hero-profile { width: min(100% - 3rem, 18rem); margin-top: 1.5rem; }
  .profile-caption strong { font-size: 1.05rem; }
  .profile-caption { padding: .7rem 1.1rem !important; }
}
[dir="rtl"] .profile-caption em { font-family: var(--urdu); line-height: 1.9; font-size: .8125rem; }

/* ---- Stats: solid readable colours on white ---- */
.stat-num { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: #8a6420 !important; }
.stat-word { color: var(--ink) !important; }

/* ---- About: photo beside the name ---- */
.about-id { display: flex; align-items: center; gap: 1.4rem; }
.about-photo { flex: none; width: 7.5rem; height: 7.5rem; padding: 4px; border-radius: 50%; background: linear-gradient(160deg, #f7e3a3, #b8892f 45%, #f0d488); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45); }
.about-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 3px solid #fff; }
.about-id h2 { margin: 0; }
.about-id .about-role { margin-top: .4rem; }
@media (max-width: 480px) { .about-photo { width: 5.5rem; height: 5.5rem; } .about-id { gap: 1rem; } .about-id h2 { font-size: 1.9rem; } }

/* ---- Section labels: larger, elegant ---- */
.eyebrow {
  gap: .75rem; margin-bottom: .9rem; font: italic 500 1.1875rem/1.3 var(--serif-text) !important;
  letter-spacing: .01em !important; text-transform: none !important; color: #8a6420;
}
.eyebrow::before { width: 2.25rem; height: 1px; }
.eyebrow-light, .practice .eyebrow { color: var(--gold-soft); }
.section-head.center .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: linear-gradient(270deg, var(--gold), transparent); }
.section-head.center .ornament + .eyebrow::before { display: block; }
[dir="rtl"] .eyebrow { font: 400 1.1875rem/1.9 var(--urdu) !important; }

/* ---- Help buttons inside the narrow "Not sure" card: full card width ---- */
.tab-help { display: grid !important; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: start; }
.tab-help > span:last-child { display: contents; }
.tab-help > span:last-child > strong, .tab-help > span:last-child > span:not(.help-actions) { grid-column: 2; }
.tab-help .help-actions { grid-column: 1 / -1; }
.help-actions .help-btn { padding-inline: 1.5rem; }

/* Not-sure card: header row + full-width actions */
.tab-help { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: .85rem; }
.tab-help > span:not(.help-actions):not(.tab-help-icon) { display: block !important; flex: 1; min-width: 0; }
.tab-help > span > strong, .tab-help > span > span { grid-column: auto !important; }
.tab-help > .help-actions { flex: 0 0 100%; margin-top: .25rem; }

/* Hero label and panel kicker in the same elegant style as section labels */
.hero-eyebrow { font: italic 500 1.1875rem/1.3 var(--serif-text) !important; letter-spacing: .01em !important; text-transform: none !important; color: var(--gold-soft); }
.statement-kicker { font: italic 500 1.125rem/1.3 var(--serif-text) !important; letter-spacing: .01em !important; text-transform: none !important; }
@media (max-width: 400px) { .hero-eyebrow { font-size: 1rem !important; } }
[dir="rtl"] .hero-eyebrow, [dir="rtl"] .statement-kicker { font: 400 1.1rem/1.9 var(--urdu) !important; }

/* About name: one line beside the photo on desktop */
.about-id h2 { font-size: clamp(2rem, 1.4rem + 1.9vw, 2.9rem); }

/* ==========================================================================
   SEO round: keyword line in hero h1, tagline, brand line, service pages
   ========================================================================== */
.hero h1 { margin-top: 0; }
.hero h1 .hero-eyebrow { margin-bottom: 1.25rem; }
.hero-tagline { margin-top: 1.1rem; font: italic 500 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.5 var(--serif-text); color: var(--gold-soft); max-width: 38rem; }
.hero-tagline + .hero-lead { margin-top: 1rem; }
[dir="rtl"] .hero-tagline { font: 400 1.2rem/2 var(--urdu); }
.about-brand { margin-top: 1.25rem !important; padding: 1rem 1.25rem; border-inline-start: 3px solid var(--gold); background: #faf7ef; border-radius: 0 var(--r) var(--r) 0; font: italic 500 1.05rem/1.65 var(--serif-text); color: #3a3320; }
[dir="rtl"] .about-brand { border-radius: var(--r) 0 0 var(--r); font: 400 1.05rem/2.1 var(--urdu); }
.link-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; margin-inline-start: 1.5rem; padding-block: .5rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gold); transition: color .2s, gap .3s var(--ease); }
.link-more:hover { color: var(--bronze); gap: .75rem; }
@media (max-width: 760px) { .link-more { margin-inline-start: 0; display: flex; width: max-content; } }
@media (min-width: 761px) { .panel .link-more { grid-area: link; justify-self: end; align-self: center; margin: 1.75rem 0 0; } .panel .link-arrow { align-self: center; } }
[dir="rtl"] .link-more { font-family: var(--urdu); font-weight: 400; line-height: 1.9; }
.mega-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .tab-list .tab:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Service pages */
.svc-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 2rem clamp(3.5rem, 6vw, 5rem); color: var(--on-dark);
  background: radial-gradient(40rem 30rem at 85% 20%, rgba(201, 162, 74, .1), transparent 65%), linear-gradient(180deg, #08080a, #030304); }
.svc-hero .hero-seal { opacity: .07; width: min(40rem, 55vw); right: -10rem; top: 50%; translate: 0 -50%; animation: seal-spin 60s linear infinite; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--gold-soft); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc-hero h1 { margin-top: .9rem; color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1.08; }
.svc-lead { margin-top: 1.25rem; max-width: 38rem; color: #d6d6dc; font-size: var(--fs-lead); line-height: 1.7; }
.svc-hero .hero-actions { margin-top: 2rem; }
.svc-figure { position: relative; border-radius: var(--r-lg); padding: 6px; background: linear-gradient(160deg, #f7e3a3, #b8892f 45%, #f0d488); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.svc-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--r-lg) - 5px); }
.svc-figure .panel-badge { left: 1.25rem; bottom: 1.25rem; }
.svc-body { background: #fff; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-checks { margin-top: 1.75rem; padding-top: 0; border: 0; gap: .9rem; }
.svc-checks li { font-size: 1.0625rem; }
.svc-checks li::before { background: #0b0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23e7c36d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.svc-note { margin-top: 1.75rem; color: var(--muted); font-style: italic; }
.svc-body .statement-quote { font-size: 1.45rem; max-width: 18ch; }
.svc-related { background: #0b0b0d; color: var(--on-dark); }
.svc-related h2 { color: #fff; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.related-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.35rem; border-radius: var(--r); background: #141418; border: 1px solid rgba(234, 208, 143, .16); transition: transform .35s var(--ease), border-color .3s, background-color .3s; }
.related-card:hover { transform: translateY(-4px); border-color: rgba(234, 208, 143, .5); background: #1b1b20; }
.related-icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 12px; background: linear-gradient(145deg, #f0d488, #c9a24a 55%, #a9822f); color: #0b0b0d; }
.related-text { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.related-text strong { color: #fff; font-size: 1.0625rem; }
.related-text small { color: var(--on-dark-muted); font-size: .875rem; }
.related-go { color: var(--gold); }
[dir="rtl"] :is(.breadcrumb, .related-text strong, .related-text small, .svc-note) { font-family: var(--urdu); font-weight: 400; line-height: 2; }
[dir="rtl"] .svc-hero h1 { font-family: var(--urdu); font-weight: 400; line-height: 1.8; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
[dir="rtl"] .svc-lead { line-height: 2.1; }
[dir="rtl"] .svc-hero .hero-seal { right: auto; left: -10rem; }
@media (max-width: 900px) { .svc-hero-grid, .svc-grid { grid-template-columns: 1fr; } .svc-hero .hero-seal { display: none; } }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } .svc-hero .hero-actions .btn { flex: 1 1 100%; } }

/* ==========================================================================
   Round 23: panel fit, clear "Full details" button, help boxes, footer links
   ========================================================================== */
/* Panel never grows wider than its column */
.panel { grid-template-columns: minmax(0, 1fr); }
.panel > *, .panel-body > * { min-width: 0; }
.panel .checks li { overflow-wrap: anywhere; }
.link-more {
  display: inline-flex !important; width: auto !important; max-width: 100%; white-space: normal;
  align-items: center; gap: .55rem; margin: 1rem 0 0 !important; padding: .7rem 1.2rem; border: 1.5px solid var(--gold);
  border-bottom-width: 1.5px; border-radius: var(--r-pill); background: rgba(201, 162, 74, .08); color: var(--ink); font-weight: 700;
  transition: background-color .25s, color .25s, gap .3s var(--ease), transform .25s var(--ease);
}
.link-more:hover { background: var(--gold); color: #0b0b0d; transform: translateY(-2px); }
.link-more .icon { flex: none; }
@media (min-width: 761px) {
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); grid-template-areas: "title media" "summary media" "checks checks" "links links"; }
  .panel .link-arrow, .panel .link-more { grid-area: auto; }
  .panel .panel-links { grid-area: links; }
}
@media (min-width: 761px) and (max-width: 1080px) { .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); } }
.panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; margin-top: 1.5rem; }
.panel-links .link-arrow { margin-top: 0; }
.panel-links .link-more { margin: 0 !important; }

/* Mobile order: service buttons -> details -> help box */
@media (max-width: 1080px) {
  .tabs { display: flex; flex-direction: column; gap: 1.25rem; }
  .tab-side { display: contents; }
  .tab-list { order: 1; }
  .tab-panels { order: 2; }
  .tab-help { order: 3; }
}

/* Help boxes: question icon, buttons across the full box width */
.help-card { display: grid !important; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; row-gap: 1rem; }
.help-card > div { min-width: 0; }
.help-card > .help-actions { grid-column: 1 / -1; margin-top: 0; }
.help-card strong { font-size: 1.125rem; }
.help-icon, .tab-help-icon { width: 3rem; height: 3rem; animation: none; }
.help-icon .icon, .tab-help-icon .icon { width: 1.5rem; height: 1.5rem; }
.tab-help { align-items: center; }
.tab-help > .help-actions { margin-top: .35rem; }

/* Footer utilities as clean text links */
.footer-utility { gap: .25rem 0; padding-bottom: 1.25rem; }
.foot-pill { min-height: 2.5rem; padding: .35rem 1.1rem; border: 0; border-radius: 0; background: none; color: var(--on-dark-muted); font-weight: 500; }
.foot-pill:first-child { padding-inline-start: 0; }
.foot-pill + .foot-pill { border-inline-start: 1px solid rgba(234, 208, 143, .25); }
.foot-pill .icon { display: none; }
.foot-pill:hover { background: none; color: var(--gold-soft); transform: none; text-decoration: underline; text-underline-offset: .3em; }

@media (min-width: 761px) and (max-width: 1080px) {
  .tab-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); overflow: visible; padding: 0; margin: 0; min-width: 0; }
  .tab { width: 100%; }
  .tab-text small { display: block; }
}
.tabs, .tab-list, .tab-panels { min-width: 0; }

/* Panel links: two compact buttons side by side */
.panel-links { display: grid !important; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; align-items: stretch; }
.panel-links .link-arrow, .panel-links .link-more {
  display: flex !important; align-items: center; justify-content: center; gap: .45rem; width: 100% !important; min-height: 2.9rem;
  margin: 0 !important; padding: .55rem .9rem; border-radius: var(--r-pill); font-size: .875rem; font-weight: 700; line-height: 1.3;
  text-align: center; white-space: normal; background-image: none;
}
.panel-links .link-arrow { background: linear-gradient(135deg, #f0d488, #c9a24a 55%, #a9822f); color: #0b0b0d; border: 1.5px solid transparent; }
.panel-links .link-arrow:hover { gap: .45rem; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(201, 162, 74, .8); }
.panel-links .link-more { border: 1.5px solid var(--gold); background: rgba(201, 162, 74, .08); color: var(--ink); }
.panel-links .icon { width: 1rem; height: 1rem; flex: none; }
@media (min-width: 761px) { .panel-links { max-width: 34rem; } }
@media (max-width: 340px) { .panel-links { grid-template-columns: 1fr; } }
[dir="rtl"] .panel-links :is(.link-arrow, .link-more) { font-size: .9375rem; }

.panel-links :is(.link-arrow, .link-more) { white-space: normal; }
@media (max-width: 360px) { .panel-links :is(.link-arrow, .link-more) { font-size: .8125rem; padding-inline: .6rem; } }
@media (max-width: 420px) { .panel-links :is(.link-arrow, .link-more) { font-size: .8125rem; padding-inline: .6rem; gap: .35rem; } }
[dir="rtl"] .panel-links :is(.link-arrow, .link-more) { font-size: .875rem; line-height: 1.8; padding-block: .3rem .5rem; }
@media (max-width: 420px) { .panel-links .icon { display: none; } .panel-links :is(.link-arrow, .link-more) { padding-inline: .5rem; } }

/* ==========================================================================
   Round 29: mobile matches the PC design
   ========================================================================== */
/* Solid black header everywhere (no grey tint, no white line) */
.site-header::before, .site-header.is-scrolled::before { background: #0b0b0d !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header, .site-header.is-scrolled { border-bottom: 1px solid rgba(234, 208, 143, .22) !important; }
.topbar { border-bottom: 0; }
.about-role span { display: block; }

@media (max-width: 760px) {
  /* Hero: portrait first, then compact text — same story as on PC */
  .hero { padding-block: 1.75rem 4.5rem; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-profile { order: -1; width: min(100% - 4rem, 15.5rem); margin: .75rem auto 4rem; }
  .hero-copy { text-align: center; }
  .hero h1 .hero-eyebrow { justify-content: center; font-size: .9375rem !important; line-height: 1.4 !important; margin-bottom: .9rem; }
  .hero h1 .hero-eyebrow::before { display: none; }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.4rem) !important; line-height: 1.12; }
  .hero-tagline { margin: .9rem auto 0; font-size: 1rem; line-height: 1.55; max-width: 22rem; }
  .hero-tagline + .hero-lead, .hero-lead { margin: .9rem auto 0; font-size: 1rem; line-height: 1.65; max-width: 30rem; color: #c9c9cf; }
  .hero-actions { margin-top: 1.5rem; gap: .65rem; }
  .hero-actions .btn { min-height: 3.25rem; font-size: 1rem; }
  .hero-trust { justify-content: center; margin-top: 1.25rem; font-size: .8125rem; gap: .4rem .9rem; }
  .profile-caption strong { font-size: 1rem; }
  .profile-caption span { font-size: .75rem; }
  .profile-caption em { font-size: .6875rem; }
  .profile-caption { padding: .6rem 1rem !important; bottom: -2.6rem !important; }

  /* Stats: compact 2 x 2 card */
  .stats { grid-template-columns: 1fr 1fr !important; }
  .stat, .stat + .stat { display: grid; grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: .25rem; padding: 1.1rem .5rem !important; border-top: 0 !important; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft) !important; }
  .stat:nth-child(even)::before { display: block !important; content: ""; position: absolute; inset: 20% auto 20% 0; width: 1px; background: var(--line); }
  .stat:nth-child(odd)::before { display: none !important; }
  .stat-icon { grid-row: auto !important; width: 2.3rem; height: 2.3rem; margin: 0 0 .2rem !important; }
  .stat-num { font-size: 1.75rem !important; }
  .stat-word { font-size: 1.05rem !important; line-height: 1.25; }
  .stat-label { font-size: .8125rem; }

  /* Calmer type scale */
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.1rem); }
  .section-intro { font-size: 1rem; }
  .eyebrow { font-size: 1.0625rem !important; }
  .about-id h2 { font-size: 1.75rem; }
  .about-photo { width: 5.25rem; height: 5.25rem; }
  .about-role { font-size: .9375rem; }
  .about-lead { font-size: 1.0625rem; }
  .about-brand { font-size: .9375rem; line-height: 1.6; padding: .85rem 1rem; }
  .statement { padding: 1.5rem 1.25rem; }
  .statement-seal { width: 6rem; height: 6rem; }
  .statement-quote { font-size: 1.4rem; }
  .cred-list li { padding: .7rem .85rem; }
  .cred-list strong { font-size: .9375rem; }
  .panel-body h3 { font-size: 1.5rem; }
  .panel-summary { font-size: .9375rem; }
  .panel .checks li, .checks li { font-size: .9375rem; line-height: 1.5; }
  .panel .checks { gap: .55rem; }
  .principle { padding: 1rem; }
  .faq-item summary { font-size: 1rem; padding: 1rem 1.1rem; }
  .faq-answer { padding: 0 1.1rem 1.1rem; font-size: .9375rem; }
  .step h3 { font-size: 1.15rem; }
  .step p { font-size: .9375rem; }
  .contact-card { padding: 1rem; }
  .contact-value { font-size: 1rem; }
  .svc-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .svc-lead { font-size: 1rem; }
}
[dir="rtl"] .hero h1 .hero-eyebrow { font-size: 1rem !important; }

.site-header { background: #0b0b0d; border-bottom-color: #2b2618 !important; }
body { background: #0b0b0d; }
main > section:not(.hero):not(.practice):not(.process):not(.contact):not(.svc-hero):not(.svc-related) { background-color: #fff; }
.faq { background-color: #f7f6f2 !important; }

/* ==========================================================================
   Legal guides: homepage section, guide cards, article pages
   ========================================================================== */
.guides { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card {
  position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.guide-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #a9822f, #f0d488, #a9822f); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 74, .5); }
.guide-card:hover::before { transform: scaleX(1); }
.guide-tag { align-self: flex-start; padding: .25rem .7rem; border-radius: var(--r-pill); background: #0b0b0d; color: var(--gold-soft); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.guide-card strong { font: 500 1.3rem/1.3 var(--serif-text); color: var(--ink); }
.guide-excerpt { color: var(--muted); font-size: .9375rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--bronze); font-weight: 700; font-size: .9375rem; }
.guide-card:hover .guide-more { gap: .7rem; }
.guides-all { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; padding: .7rem 1.3rem; border: 1.5px solid var(--gold); border-radius: var(--r-pill); font-weight: 700; color: var(--ink); transition: background-color .25s, color .25s; }
.guides-all:hover { background: var(--gold); color: #0b0b0d; }
[dir="rtl"] :is(.guide-card strong, .guide-tag, .guide-excerpt, .guide-more, .guides-all) { font-family: var(--urdu); font-weight: 400; line-height: 1.9; letter-spacing: 0; }
@media (max-width: 1080px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } .guide-card { padding: 1.3rem 1.2rem; } .guide-card strong { font-size: 1.15rem; } }

/* Service page -> guide link */
.svc-guide { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 1rem 1.2rem; border-radius: var(--r); background: #faf7ef; border: 1px solid rgba(201, 162, 74, .35); transition: transform .3s var(--ease), border-color .3s; }
.svc-guide:hover { transform: translateY(-3px); border-color: var(--gold); }
.svc-guide-icon { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: #0b0b0d; color: var(--gold); }
.svc-guide small { display: block; color: var(--bronze); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.svc-guide strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.svc-guide > .icon { margin-inline-start: auto; color: var(--bronze); flex: none; }
.svc-guide > span:nth-child(2) { min-width: 0; }
[dir="rtl"] .svc-guide small { font-family: var(--urdu); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .875rem; }

/* Article pages */
.guide-hero h1 { max-width: 22ch; }
.guide-meta { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: .875rem; }
.article-section { background: #fff; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-body { max-width: 46rem; min-width: 0; color: var(--text); font-size: 1.0625rem; line-height: 1.8; }
.article-body h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.article-body p + p { margin-top: 1rem; }
.article-body .article-list { margin: 1rem 0; padding: 0; border: 0; gap: .65rem; }
.article-body .article-list li::before { background: #0b0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23e7c36d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.article-note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: #faf7ef; border-inline-start: 3px solid var(--gold); font-size: .9375rem; line-height: 1.6; color: #4a4232; }
.article-note .icon { flex: none; color: var(--bronze); margin-top: .15rem; }
.toc { margin-top: 1.75rem; padding: 1.25rem 1.4rem; border-radius: var(--r); border: 1px solid var(--line-soft); background: #fcfbf8; }
.toc-title { font: 700 .8125rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: .6rem; }
.toc ol { display: grid; gap: .35rem; padding-inline-start: 1.25rem; list-style: decimal; }
.toc a { color: var(--ink); font-size: .9375rem; text-decoration: underline; text-decoration-color: rgba(201, 162, 74, .5); text-underline-offset: .25em; }
.toc a:hover { color: var(--bronze); }
.article-body .faq-list { margin-top: 1rem; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.article-aside .statement-quote { font-size: 1.3rem; }
.aside-service { margin-top: 1rem !important; width: 100% !important; justify-content: center; color: #fff !important; border-color: rgba(234, 208, 143, .45) !important; background: transparent !important; font-size: .875rem; }
.aside-service:hover { background: var(--gold) !important; color: #0b0b0d !important; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }
@media (max-width: 760px) { .article-body { font-size: 1rem; } .guide-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); } }

/* Mobile/tablet portrait: name card sits below the photo, never over the face */
@media (max-width: 900px) {
  .hero-profile { margin-bottom: 1.5rem !important; }
  .profile-caption, [dir="rtl"] .profile-caption {
    position: relative !important; inset: auto !important; translate: none !important;
    width: auto; max-width: none; margin: .9rem auto 0;
  }
  .profile-frame img { object-position: 50% 15%; }
}
.profile-caption em { text-wrap: balance; }
@media (max-width: 400px) { .profile-caption em { font-size: .625rem; letter-spacing: 0; } }

/* Email */
.contact-email { font-size: .98rem; word-break: break-all; }
.footer-email { font-size: .9375rem !important; margin-top: .35rem !important; word-break: break-all; }
.drawer-email { color: var(--ink) !important; border-color: var(--line) !important; background: #fff !important; }
@media (max-width: 1080px) { .drawer-email { color: #fff !important; background: transparent !important; border-color: rgba(234, 208, 143, .35) !important; } }
@media (max-width: 1240px) { .topbar-email { display: none; } }

.guide-featured { grid-column: 1 / -1; background: linear-gradient(135deg, #17171b, #0b0b0d); border-color: rgba(234, 208, 143, .3); }
.guide-featured strong { color: #fff; font-size: 1.5rem; }
.guide-featured .guide-excerpt { color: var(--on-dark-muted); -webkit-line-clamp: 2; }
.guide-featured .guide-tag { background: var(--gold); color: #0b0b0d; }
.guide-featured .guide-more { color: var(--gold-soft); }

/* ===== Round 40 — Hours & appointments panel (contact) ===== */
.hours-card {
  position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #18181d, #0f0f12 70%); border: 1px solid rgba(234, 208, 143, .26);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .75); overflow: hidden;
}
.hours-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent);
}
.hours-title {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font: 600 1.25rem/1.3 var(--serif); color: #fff; letter-spacing: .01em;
}
.hours-title .icon { width: 1.35rem; height: 1.35rem; color: var(--gold); flex: none; }
.hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.hours-row { display: flex; align-items: flex-start; gap: .9rem; padding: .85rem 0; border-top: 1px solid rgba(234, 208, 143, .12); }
.hours-row:first-child { border-top: 0; padding-top: .2rem; }
.hours-icon {
  display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px;
  background: #0b0b0d; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(234, 208, 143, .4);
}
.hours-icon .icon { width: 1.1rem; height: 1.1rem; }
.hours-text { display: grid; gap: .25rem; min-width: 0; color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.6; text-wrap: pretty; }
.hours-text strong { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.hours-time .hours-text strong { color: var(--gold-soft); font: 700 var(--fs-label)/1.4 var(--sans, inherit); letter-spacing: .12em; text-transform: uppercase; }
.hours-time .hours-value { color: #fff; font: 600 1.25rem/1.35 var(--serif); }
[dir="rtl"] .hours-time .hours-text strong { letter-spacing: 0; font-size: .95rem; }
[dir="rtl"] .hours-time .hours-value { font-family: inherit; font-size: 1.1rem; }
[dir="rtl"] .hours-text { line-height: 2; }
@media (max-width: 560px) {
  .hours-card { padding: 1.2rem 1.1rem 1.25rem; }
  .hours-time .hours-value { font-size: 1.125rem; }
}
[dir="rtl"] .hours-text strong, [dir="rtl"] .hours-time .hours-value { line-height: 2; }
[dir="rtl"] .hours-title { line-height: 1.9; }
