/* =====================================================================
   RITS & Associates — site stylesheet
   One file for every page. No framework. Sections:
   1 Fonts & tokens   2 Base   3 Utilities & buttons   4 Header & menu
   5 Search palette   6 Footer & mobile bar   7 Home   8 Inner-page hero
   9 Article layout & prose   10 Pillar, hub & firm pages   11 Motion
   ===================================================================== */

/* ---------- 1. Fonts (self-hosted, SIL OFL) & tokens ---------- */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #0b1a2e;
  --text: #334155;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --line-2: #edf1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef4fc;
  --navy-950: #06142a;
  --navy-900: #0b2545;
  --navy-800: #13335e;
  --brand: #0b5cad;
  --brand-600: #094c90;
  --brand-500: #1a6fd1;
  --brand-100: #d7e7fa;
  --brand-50: #eef5fd;
  --accent: #e39a2d;
  --accent-600: #b8741a;
  --accent-50: #fdf4e6;
  --green: #0f7a5c;
  --green-50: #e8f6f1;
  --red: #b4400f;
  --red-50: #fdf0ea;

  --font: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow: 0 8px 24px -8px rgba(11, 37, 69, .14), 0 2px 6px -2px rgba(11, 37, 69, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .30), 0 8px 20px -8px rgba(11, 37, 69, .12);
  --ring: 0 0 0 3px rgba(26, 111, 209, .28);

  --container: 1400px;
  --container-wide: 1400px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.3rem); }
h3 { font-size: 1.14rem; letter-spacing: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }

/* ---------- 3. Utilities & buttons ---------- */
.btn {
  --b-bg: var(--brand); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-weight: 650; font-size: .95rem; letter-spacing: -.005em;
  text-decoration: none; line-height: 1.2; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { --b-bg: linear-gradient(135deg, #1a6fd1 0%, #0b5cad 55%, #0a4d92 100%); box-shadow: 0 8px 20px -8px rgba(11, 92, 173, .55); }
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(11, 92, 173, .7); }
.btn-accent { --b-bg: var(--accent); --b-fg: #1c1204; box-shadow: 0 8px 20px -10px rgba(227, 154, 45, .8); }
.btn-accent:hover { --b-bg: #eca83f; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn-ghost:hover { --b-bg: var(--bg-soft); --b-bd: #cfd8e3; }
.btn-light { --b-bg: #fff; --b-fg: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-outline-light { --b-bg: rgba(255, 255, 255, .06); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { --b-bg: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.06rem; color: var(--muted); margin: 0; }
.section-head h2 { margin-bottom: .35em; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row .section-head { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--brand-50); color: var(--brand-600); text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
a.chip:hover { background: var(--brand-100); color: var(--brand-600); }
.chip .ic { width: 15px; height: 15px; }
.chip-outline { background: #fff; border-color: var(--line); color: var(--ink); }
a.chip-outline:hover { border-color: var(--brand-100); background: var(--brand-50); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); white-space: nowrap; letter-spacing: .01em; }
.badge-soon { background: var(--accent-50); color: #8a520c; }
.badge-today { background: var(--red-50); color: var(--red); }
.badge-ext { background: var(--green-50); color: var(--green); }
.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: .75rem; font-weight: 600; color: var(--muted); box-shadow: 0 1px 0 var(--line); font-family: var(--font); }

/* ---------- 4. Header, mega menu, drawer ---------- */
.topbar { background: var(--navy-950); color: #b9c6d8; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #dfe7f2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .ic { width: 15px; height: 15px; color: var(--accent); }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .16); }

.site-header { position: sticky; top: 0; z-index: 60; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-2); transition: box-shadow .25s; }
.site-header.scrolled::before { box-shadow: 0 10px 30px -18px rgba(11, 37, 69, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo { height: 46px; width: auto; display: block; }
.brand .logo-sm { height: 36px; }
.logo-plate { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 16px; margin-bottom: 18px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.logo-plate .logo { height: 44px; width: auto; display: block; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  background: radial-gradient(120% 120% at 0% 0%, #2c86ea 0%, #0b5cad 45%, #0b2545 100%); box-shadow: 0 6px 16px -6px rgba(11, 92, 173, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { font-size: .73rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }

.primary-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-item { margin: 0; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 3px; background: none; border: 0; padding: 8px 9px; border-radius: 10px;
  font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; transition: background .15s, color .15s;
}
.nav-trigger .ic { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.nav-trigger:hover, .nav-item.open > .nav-trigger { background: var(--brand-50); color: var(--brand-600); }
.nav-item.open > .nav-trigger .ic { transform: rotate(180deg); color: var(--brand); }
.nav-item.current > .nav-trigger { color: var(--brand); }
.nav-item.current > .nav-trigger::after { content: ""; }
.drawer-head, .drawer-foot { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--muted); font-size: .88rem; font-weight: 500; transition: border-color .15s, background .15s;
}
.search-btn:hover { border-color: #cbd5e1; background: #fff; color: var(--ink); }
.search-btn .ic { width: 17px; height: 17px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); }
.nav-toggle { display: none; }

/* Mega panel (desktop) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; pointer-events: none;
}
.nav-item.open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
.mega-inner {
  max-width: calc(var(--container-wide) - 2 * var(--gutter)); margin: 10px auto 0; display: grid; grid-template-columns: 300px 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mega-intro { padding: 28px; background: linear-gradient(160deg, var(--brand-50), #f8fbff 70%); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.mega-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.mega-title { font-family: var(--font-head); font-weight: 750; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.mega-title:hover { color: var(--brand); }
.mega-desc { font-size: .9rem; color: var(--muted); margin: 0; }
.mega-note { font-size: .8rem; color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; margin: 0; }
.mega-all { margin-top: auto; font-size: .9rem; }
.mega-groups { padding: 26px 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; align-content: start; }
.mega-group h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-family: var(--font); font-weight: 700; margin: 4px 0 8px; padding: 0 10px; }
.mega-group h3 a { color: inherit; text-decoration: none; }
.mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-group li { margin: 0; }
.mega-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 550; }
.mega-link .ic { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: all .18s var(--ease); color: var(--brand); }
.mega-link:hover { background: var(--bg-soft); color: var(--brand-600); }
.mega-link:hover .ic { opacity: 1; transform: none; }

/* Popular strip */
.popular-bar { background: #fff; border-bottom: 1px solid var(--line-2); }
.popular-bar .container { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.popular-label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); flex: none; }
.popular-label .ic { width: 15px; height: 15px; color: var(--accent-600); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; min-width: 0; flex: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip { background: var(--bg-soft); color: var(--ink); font-weight: 550; border-color: var(--line-2); }
.chip-row .chip:hover { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(6, 20, 42, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; z-index: 1; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }

.header-actions .search-btn { display: none; }
.bar-search { flex: none; width: 250px; height: 36px; }
.bar-search .search-label { flex: 1; text-align: left; }
@media (max-width: 1439px) {
  .nav-trigger { padding: 8px 5px; font-size: .87rem; }
  .brand .logo { height: 40px; }
}
@media (max-width: 1023px) {
  .bar-search { display: none; }
  .header-actions .search-btn { display: inline-flex; width: 42px; padding: 0; justify-content: center; }
  .header-actions .search-btn .search-label, .header-actions .search-btn .kbd { display: none; }
}
@media (max-width: 1279px) {
  .nav-toggle { display: inline-grid; }
  .header-contact { display: none; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column;
    transform: translateX(104%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); visibility: hidden;
  }
  body.nav-open .primary-nav { transform: none; visibility: visible; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
  .drawer-foot { display: grid; gap: 10px; padding: 16px 18px 22px; border-top: 1px solid var(--line-2); background: var(--bg-soft); }
  .drawer-foot .btn { width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; flex: 1; padding: 8px 10px; overscroll-behavior: contain; }
  .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; border-radius: 12px; }
  .nav-item + .nav-item { border-top: 1px solid var(--line-2); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; display: none; pointer-events: auto; transition: none; }
  .nav-item.open > .mega { display: block; }
  .mega-inner { display: block; margin: 0 0 10px; border: 0; box-shadow: none; border-radius: 14px; background: var(--bg-soft); }
  .mega-intro { padding: 14px 14px 4px; background: none; border: 0; gap: 6px; }
  .mega-icon, .mega-desc, .mega-note, .mega-title { display: none; }
  .mega-all { margin: 0; }
  .mega-groups { grid-template-columns: 1fr; padding: 6px 6px 12px; gap: 4px; }
  .mega-link { padding: 10px 10px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .topbar-hide-sm { display: none !important; }
  .topbar .container { justify-content: center; }
  .brand .logo { height: 34px; }
  .brand-mark { width: 38px; height: 38px; font-size: .98rem; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: .68rem; }
  .popular-bar .container { min-height: 46px; }
  .popular-label span { display: none; }
}

/* ---------- 5. Search palette & dropdown results ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; background: rgba(6, 20, 42, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-panel { width: min(680px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.search-field .ic { color: var(--brand); width: 22px; height: 22px; }
.search-field input { flex: 1; border: 0; outline: 0; font-size: 1.08rem; min-width: 0; background: transparent; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-hint { padding: 10px 18px 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: min(56vh, 460px); overflow-y: auto; }
.search-results li { margin: 0; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.search-results a .r-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.search-results a .r-icon .ic { width: 18px; height: 18px; }
.search-results a .r-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search-results a .r-name { font-weight: 600; }
.search-results a .r-name mark { background: none; color: var(--brand); }
.search-results a .r-area { font-size: .8rem; color: var(--muted); }
.search-results a .r-go { color: var(--muted); opacity: 0; }
.search-results a[aria-selected="true"], .search-results a:hover { background: var(--bg-soft); }
.search-results a[aria-selected="true"] .r-go { opacity: 1; color: var(--brand); }
.search-empty { padding: 22px 20px; color: var(--muted); font-size: .95rem; }
.search-foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--muted); background: var(--bg-soft); }
.search-foot span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- 6. CTA band, footer, mobile bar ---------- */
.cta-band { padding: 0 0 clamp(56px, 7vw, 88px); }
.cta-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #d4dff0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(227, 154, 45, .22), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(26, 111, 209, .45), transparent 60%), var(--navy-900);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.cta-card h2 { color: #fff; margin-bottom: .3em; }
.cta-card p { margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

.site-footer { background: var(--navy-950); color: #a9b7cb; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 209, .25), transparent 65%); pointer-events: none; }
.site-footer a { color: #d5deeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding: 64px 0 44px; position: relative; }
.foot-brand .brand { color: #fff; margin-bottom: 16px; }
.foot-brand .brand-sub { color: #8fa0b8; }
.foot-brand p { margin: 0 0 14px; }
.foot-contact { display: grid; gap: 8px; margin: 16px 0 18px; }
.foot-contact div { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: .82rem; }
.social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.site-footer nav h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font); font-weight: 700; margin: 6px 0 14px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav li { margin-bottom: 9px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; gap: 12px 32px; justify-content: space-between; flex-wrap: wrap; font-size: .82rem; color: #8596ad; position: relative; }
.foot-bottom p { margin: 0; max-width: 820px; }
@media (max-width: 1080px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { padding-top: 48px; } }

.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 68px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; background: rgba(11, 26, 46, .94); border-radius: 18px; padding: 6px; box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; color: #e6edf7; background: none; border: 0; text-decoration: none; font-size: .74rem; font-weight: 600; border-radius: 12px; }
  .mobile-bar .ic { width: 20px; height: 20px; }
  .mobile-bar .primary { background: var(--brand); color: #fff; }
  .mobile-bar .wa .ic { color: #4ade80; }
}
.to-top { position: fixed; right: 24px; bottom: 88px; z-index: 50; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) { .to-top { bottom: 88px; right: 14px; width: 42px; height: 42px; } }

/* ---------- 7. Home ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #c6d3e6; padding: clamp(56px, 7vw, 96px) 0 clamp(120px, 12vw, 150px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.glow-1 { width: 720px; height: 720px; left: -220px; top: -320px; background: radial-gradient(circle, rgba(26, 111, 209, .55), transparent 62%); }
.glow-2 { width: 620px; height: 620px; right: -200px; top: 60px; background: radial-gradient(circle, rgba(227, 154, 45, .26), transparent 62%); }
.glow-3 { width: 520px; height: 520px; left: 35%; bottom: -380px; background: radial-gradient(circle, rgba(40, 140, 255, .35), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .upcoming { max-width: 640px; } }
@media (max-width: 560px) {
  .hero-points { display: grid; gap: 8px; } .hero-search-box .btn { display: none; } .hero-search-box { padding: 6px 6px 6px 16px; } .hero-search-box input { padding: 12px 0; }
  .upcoming { padding: 16px; } .due-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px 8px 8px; }
  .due-date { height: 44px; } .due-date b { font-size: 1.1rem; } .due-what { font-size: .84rem; } .due-item > .badge { font-size: .68rem; padding: 3px 7px; }
  .due-list > li:nth-child(n+5) { display: none; }
}
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe5f3; font-size: .85rem; font-weight: 550; margin-bottom: 22px; }
.hero-badge b { background: var(--accent); color: #1c1204; font-size: .72rem; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); line-height: 1.06; margin-bottom: 22px; }
.grad { background: linear-gradient(92deg, #7cc0ff 0%, #b9dcff 40%, #f5c77e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 620px; color: #b8c7db; margin-bottom: 30px; }
.hero-search { position: relative; max-width: 640px; }
.hero-search-box { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .06); }
.hero-search-box .ic { color: var(--brand); width: 22px; height: 22px; }
.hero-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.04rem; padding: 10px 0; background: transparent; color: var(--ink); }
.hero-search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hero-search .search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 20; max-height: 360px; }
.hero-try { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: .88rem; color: #8ea1bb; }
.hero-try a { color: #dce6f3; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 550; }
.hero-try a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #b8c7db; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-points .ic { width: 18px; height: 18px; color: #6fd3a8; }

.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.upcoming { padding: 22px; color: #dbe5f3; }
.upcoming-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.upcoming-head h2 { color: #fff; font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.upcoming-head h2 .ic { color: var(--accent); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: #9fb3cc; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.due-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.due-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); margin: 0; }
.due-date { display: grid; place-items: center; line-height: 1; height: 54px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--navy-900); }
.due-date b { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.due-date span { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-top: -8px; }
.due-what { font-size: .88rem; line-height: 1.4; color: #e6edf7; }
.due-what a { color: inherit; text-decoration: none; }
.due-what a:hover { text-decoration: underline; }
.due-item .badge { background: rgba(255, 255, 255, .1); color: #cfdcee; }
.due-item .badge-soon { background: rgba(227, 154, 45, .22); color: #ffd79c; }
.due-item .badge-today { background: rgba(248, 113, 113, .22); color: #ffc2c2; }
.due-item .badge-ext { background: rgba(74, 222, 128, .16); color: #a7f3c9; }
.upcoming-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: .78rem; color: #8ea1bb; flex-wrap: wrap; }
.upcoming-foot a { color: #fff; font-weight: 600; font-size: .86rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

.stats { position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 7vw, 84px)); }
.stats-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { padding: 26px 24px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; font-size: .88rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 1080px) { .stats-card { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat:nth-child(4)::before { display: none; } .stat:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 620px) { .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { padding: 20px 18px; } .stat::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat:nth-child(even) { border-left: 1px solid var(--line); } .stat:last-child { grid-column: 1 / -1; border-left: 0; } }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.svc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .25s, color .25s; }
.svc-card:hover .svc-icon { background: var(--brand); color: #fff; }
.svc-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.svc-card h3 { margin: 0; font-size: 1.12rem; }
.svc-card p { margin: 0; font-size: .92rem; line-height: 1.55; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .9rem; color: var(--brand); margin-top: 6px; }
.svc-more .ic { transition: transform .2s var(--ease); }
.svc-card:hover .svc-more .ic { transform: translateX(4px); }
@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Journeys */
.journeys { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line-2); margin-bottom: 26px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg [role="tab"] { border: 0; background: none; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .93rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: all .2s var(--ease); }
.seg [role="tab"] .ic { width: 17px; height: 17px; }
.seg [role="tab"]:hover { color: var(--ink); }
.seg [role="tab"][aria-selected="true"] { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.tabpanel { outline: none; }
.js .tabpanel[data-hidden] { display: none; }
.panel-intro { font-size: 1.04rem; color: var(--muted); max-width: 820px; margin-bottom: 22px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: j; }
.journey-steps li { counter-increment: j; position: relative; padding: 20px 20px 18px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line-2); margin: 0; }
.journey-steps li::before { content: counter(j, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--brand); background: #fff; border: 1px solid var(--brand-100); border-radius: 10px; padding: 3px 8px; display: inline-block; margin-bottom: 10px; }
.journey-steps strong { display: block; font-family: var(--font-head); font-size: 1.04rem; margin-bottom: 4px; }
.journey-steps p { margin: 0; font-size: .92rem; }
@media (max-width: 960px) { .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .journey-steps { grid-template-columns: minmax(0, 1fr); } }

/* Practice areas bento */
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area.wide { grid-column: span 2; }
.area.wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) { .area.wide { grid-column: auto; } .area.wide ul { grid-template-columns: minmax(0, 1fr); } }
.area { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease); overflow: hidden; }
.area::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand-500), var(--accent)); opacity: 0; transition: opacity .25s; }
.area:hover { box-shadow: var(--shadow); border-color: var(--brand-100); transform: translateY(-3px); }
.area:hover::after { opacity: 1; }
.area-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.area-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2b86ea, #0b5cad 60%, #0b2545); box-shadow: 0 10px 20px -10px rgba(11, 92, 173, .7); flex: none; }
.area h3 { margin: 0; font-size: 1.14rem; }
.area h3 a { color: var(--ink); text-decoration: none; }
.area h3 a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.area-count { font-size: .8rem; color: var(--muted); font-weight: 600; }
.area > p { font-size: .93rem; margin-bottom: 14px; }
.area ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; position: relative; z-index: 1; }
.area li { margin: 0; }
.area li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 550; }
.area li a .ic { width: 15px; height: 15px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.area li a:hover { background: var(--bg-soft); color: var(--brand-600); }
.area li a:hover .ic { transform: translateX(3px); color: var(--brand); }
.area-all { margin-top: auto; position: relative; z-index: 1; font-size: .9rem; }
.area.feature { background: radial-gradient(90% 90% at 100% 0%, rgba(227, 154, 45, .18), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); border-color: transparent; color: #bccadd; }
.area.feature h3 a, .area.feature li a { color: #fff; }
.area.feature li a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.area.feature .area-count, .area.feature li a .ic { color: #8ea1bb; }
.area.feature .area-icon { background: #fff; color: var(--brand); }
.area.feature .area-all { color: #ffd79c; }
@media (max-width: 1080px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .area-grid { grid-template-columns: minmax(0, 1fr); } }

/* Due dates board */
.dates-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.dates-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--green-50); border: 1px solid #c9eadf; color: #0b5a44; font-size: .92rem; margin: 0 0 22px; }
.dates-note .ic { color: var(--green); margin-top: 2px; }
.dates-note p { margin: 0; }
.date-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.date-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); margin: 0; }
.date-when { font-family: var(--font-head); font-weight: 750; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.date-what { font-size: .93rem; margin: 0 0 6px; }
.date-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; }
.date-meta a { font-weight: 600; text-decoration: none; }
.dates-foot { font-size: .86rem; color: var(--muted); margin: 20px 0 0; }
@media (max-width: 900px) { .date-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .date-card { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: p; }
.process li { position: relative; margin: 0; padding: 0 6px 0 0; counter-increment: p; }
.process-num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--brand-100); color: var(--brand); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm); position: relative; z-index: 1; margin-bottom: 18px; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 64px; right: 4px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 8px, transparent 8px 14px); }
.process h3 { margin-bottom: 6px; }
.process p { font-size: .94rem; margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } .process li::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist .tick { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex: none; margin-top: 1px; }
.checklist .tick .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.facts-panel { border-radius: 28px; padding: clamp(24px, 4vw, 36px); background: radial-gradient(80% 80% at 100% 0%, rgba(227, 154, 45, .2), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #bccadd; box-shadow: var(--shadow-lg); }
.facts-panel h3 { color: #fff; font-size: 1.2rem; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 20px; }
.fact { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fact strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1; }
.fact span { font-size: .85rem; }
.facts-panel .verify { font-size: .85rem; margin: 0; }
.facts-panel .verify a { color: #ffd79c; }

/* People */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin: 0; }
.avatar { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--a1, #2b86ea), var(--a2, #0b2545)); }
.person h3 { font-size: 1rem; margin: 0 0 2px; }
.person p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.person .role { color: var(--brand-600); font-weight: 600; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.office { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); margin: 0; transition: box-shadow .25s, border-color .25s; }
.office:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.office-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.office-tag.ho { background: var(--accent-50); color: #8a520c; }
.office h3 { font-size: 1.04rem; margin: 2px 0 0; }
.office h3 a { color: var(--ink); text-decoration: none; }
.office h3 a:hover { color: var(--brand); }
.office address { font-style: normal; font-size: .88rem; line-height: 1.5; flex: 1; }
.office .incharge { font-size: .82rem; color: var(--muted); margin: 0; }
.office-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.office.alt { background: linear-gradient(160deg, var(--brand-50), #fff); border-style: dashed; border-color: #b9d3f2; }
@media (max-width: 1180px) { .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .office-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--font); font-weight: 650; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; color: inherit; margin: 0; letter-spacing: -.005em; }
.faq-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); flex: none; position: relative; transition: background .2s, transform .25s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon { background: var(--brand); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 20px 18px; font-size: .96rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-split .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .faq-split { grid-template-columns: minmax(0, 1fr); } .faq-split .section-head { position: static; } }

/* Enquiry */
.enquiry-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.enquiry-info { padding: clamp(26px, 4vw, 44px); color: #bccadd; background: radial-gradient(80% 60% at 0% 100%, rgba(26, 111, 209, .45), transparent 60%), radial-gradient(60% 50% at 100% 0%, rgba(227, 154, 45, .2), transparent 60%), var(--navy-900); }
.enquiry-info h2 { color: #fff; }
.enquiry-info .eyebrow { color: #ffd79c; }
.info-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; margin: 0; }
.info-list .ii { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; flex: none; }
.info-list small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #8ea1bb; font-weight: 700; }
.info-list a { color: #fff; text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
.enquiry-form { padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 650; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d5dde8; border-radius: 12px; padding: 12px 14px; background: #fff; transition: border-color .15s, box-shadow .15s; font-size: .98rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: .82rem; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-50); color: #7a4a0c; font-size: .9rem; }
@media (max-width: 900px) { .enquiry-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .enquiry-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 8. Inner-page hero & breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-tint) 0%, #f7faff 60%, #fff 100%); border-bottom: 1px solid var(--line-2); padding: 26px 0 clamp(36px, 5vw, 60px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 209, .16), transparent 65%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(11, 92, 173, .12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 90%); mask-image: linear-gradient(90deg, transparent 40%, #000 90%); opacity: .6; }
.crumbs { font-size: .84rem; margin-bottom: 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #9aa9bc; border-top: 1.5px solid #9aa9bc; transform: rotate(45deg); margin: 0 8px 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.page-hero-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.pillar-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 650; color: var(--ink); text-decoration: none; margin-bottom: 16px; box-shadow: var(--shadow-xs); }
.pillar-chip span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.pillar-chip span .ic { width: 16px; height: 16px; }
a.pillar-chip:hover { border-color: var(--brand-100); color: var(--brand-600); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 16px; }
.lead { font-size: clamp(1.04rem, 1rem + .25vw, 1.16rem); color: #44546a; }
.lead p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .84rem; color: var(--muted); }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line .ic { width: 16px; height: 16px; color: var(--brand); }

.facts-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.facts-card h2 { font-size: .92rem; line-height: 1.35; color: var(--ink); font-family: var(--font); font-weight: 700; letter-spacing: -.005em; margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; background: var(--bg-soft); }
.facts-card h2 .ic { width: 18px; height: 18px; color: var(--brand); align-self: flex-start; margin-top: 1px; }
.facts-card dl { margin: 0; }
.facts-card .kf { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line-2); font-size: .9rem; }
.facts-card .kf:first-child { border-top: 0; }
.facts-card dt { color: var(--muted); font-weight: 600; }
.facts-card dd { margin: 0; color: var(--ink); font-weight: 550; }
@media (max-width: 980px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .facts-card .kf { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- 9. Article layout & prose ---------- */
.reading-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-500), var(--accent)); pointer-events: none; }
.page-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; gap: clamp(28px, 3.5vw, 52px); padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.page-layout.no-aside { grid-template-columns: 230px minmax(0, 1fr); }
.page-layout.no-toc { grid-template-columns: minmax(0, 1fr) 300px; }
.page-layout.plain { grid-template-columns: minmax(0, 860px); justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.toc-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin: 0 0 12px; font-family: var(--font); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.4; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--brand-600); border-left-color: var(--brand); font-weight: 650; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; }
.side-card h2 { font-size: 1.02rem; margin-bottom: 8px; }
.side-card p { font-size: .9rem; margin-bottom: 14px; }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 8px; }
.side-card.dark { background: radial-gradient(80% 80% at 100% 0%, rgba(227, 154, 45, .22), transparent 60%), var(--navy-900); border-color: transparent; color: #bccadd; }
.side-card.dark h2 { color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { margin: 0; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .89rem; font-weight: 550; }
.side-links li:first-child a { border-top: 0; }
.side-links a:hover { color: var(--brand); }
.side-links .ic { width: 15px; height: 15px; color: var(--muted); }
.toc-chips { display: none; }
@media (max-width: 1240px) {
  .page-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .page-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
  .page-layout > .side { grid-column: 2; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-layout.no-toc > .side { grid-column: 1; }
}
@media (max-width: 1000px) {
  .page-layout, .page-layout.no-aside { grid-template-columns: minmax(0, 1fr); }
  .page-layout > .toc { display: none; }
  .page-layout > .side { grid-column: 1; }
  .toc-chips { display: block; position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
  .toc-chips .chip-row { padding: 10px 0; }
  .toc-chips .chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
}
@media (max-width: 640px) { .page-layout > .side { grid-template-columns: minmax(0, 1fr); } }

.prose { min-width: 0; font-size: 1.02rem; }
.prose > h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin: 2.4em 0 .6em; padding-top: .2em; scroll-margin-top: calc(var(--header-h) + 70px); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--header-h) + 70px); }
.prose p, .prose li { color: #3a4a5f; }
.prose a { font-weight: 550; }
.prose ul:not([class]) li::marker { color: var(--brand); }
.prose ol:not([class]) li::marker { color: var(--brand); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: 16px; background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 560px; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.table-wrap thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; border-bottom-color: var(--line); white-space: nowrap; }
.table-wrap tbody th { color: var(--ink); font-weight: 650; background: #fbfcfe; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.table-wrap tbody tr:hover > * { background: #f9fbfe; }
.table-wrap caption { caption-side: top; text-align: left; padding: 12px 16px; font-size: .9rem; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line); background: #fff; }

.docs { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); margin: 0; font-size: .95rem; }
.docs li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 700px) { .docs { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; margin: 1.4em 0 1.8em; counter-reset: s; position: relative; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 22px 62px; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--brand); border: 1px solid var(--brand-100); font-family: var(--font-head); font-weight: 800; box-shadow: var(--shadow-xs); z-index: 1; }
.steps > li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px; background: linear-gradient(var(--brand-100), transparent); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps > li > h3, .steps > li > strong:first-child { display: block; margin: 8px 0 6px; font-size: 1.06rem; font-family: var(--font-head); }
.steps > li > p:last-child { margin-bottom: 0; }

.practical { list-style: none; padding: 0; margin: 1.2em 0 1.8em; display: grid; gap: 12px; }
.practical li { position: relative; padding: 16px 18px 16px 54px; border-radius: 16px; background: linear-gradient(160deg, var(--accent-50), #fffaf2); border: 1px solid #f4e2c4; margin: 0; }
.practical li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8741a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.4 1 1.1 1 1.9V16h5v-.2c0-.8.4-1.5 1-1.9A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: var(--shadow-xs); }

.flag, .callout { display: block; position: relative; padding: 16px 18px 16px 52px; border-radius: 16px; margin: 1.4em 0; font-size: .95rem; background: var(--brand-50); border: 1px solid var(--brand-100); color: #1d3b63; }
.flag::before, .callout::before { content: ""; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5cad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / 22px no-repeat; }
.flag { background: var(--red-50); border-color: #f6d3c3; color: #6b2a0c; }
.flag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4400f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20L12 3z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E"); }
.callout.update { background: var(--green-50); border-color: #c9eadf; color: #0b4f3c; }
.callout.update::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.flag > div > :last-child, .callout > div > :last-child, .flag p:last-child, .callout p:last-child { margin-bottom: 0; }
.flag strong, .callout strong { color: inherit; }

.how-card { margin: 2.4em 0 0; padding: clamp(22px, 3vw, 30px); border-radius: 22px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.how-card > h2 { margin-top: 0 !important; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1em 0 0; padding: 0; list-style: none; }
.related-grid li { margin: 0; }
.related-grid a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.related-grid a:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.related-grid .r-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.related-grid .r-icon .ic { width: 18px; height: 18px; }
.related-grid .r-text { flex: 1; min-width: 0; }
.related-grid small::first-letter { text-transform: uppercase; }
.related-grid small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
@media (max-width: 640px) { .related-grid { grid-template-columns: minmax(0, 1fr); } }

.review-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 2.6em; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.review-card .avatar { width: 46px; height: 46px; border-radius: 14px; font-size: .95rem; }
.review-card .avatar.neutral { background: var(--bg-soft); color: var(--brand); }
.review-card .avatar.team { background: #fff; border: 1px solid var(--line); padding: 4px; }
.review-card .avatar.team img { width: 100%; height: 100%; object-fit: contain; }
.review-card .rv-note { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.review-card p { margin: 0 0 4px; }
.review-card .rv-title { color: var(--ink); font-weight: 650; }
.review-card .rv-meta { color: var(--muted); }

/* ---------- 10. Pillar, hub & firm pages ---------- */
.svc-groups { display: grid; gap: 40px; }
.svc-group h2 { font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.svc-group h2 .count { font-size: .8rem; font-family: var(--font); font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 3px 10px; border-radius: 999px; }
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.svc-list li { margin: 0; }
.svc-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.svc-list a:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-list h3 { margin: 0; font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-list h3 .ic { width: 17px; height: 17px; color: var(--brand); transition: transform .2s var(--ease); }
.svc-list a:hover h3 .ic { transform: translateX(3px); }
.svc-list p { margin: 0; font-size: .9rem; line-height: 1.55; }
@media (max-width: 1080px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

.hub-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hub-search { flex: 1 1 320px; min-width: min(100%, 300px); display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); min-height: 46px; }
.hub-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 1rem; }
.hub-search .ic { color: var(--brand); }
.hub-filters { display: flex; gap: 6px; flex-wrap: wrap; flex: 0 1 auto; }
.hub-filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.hub-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hub-empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }
.hub-area { scroll-margin-top: calc(var(--header-h) + 90px); }
.hub-area-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hub-area-head .area-icon { width: 44px; height: 44px; border-radius: 13px; }
.hub-area-head h2 { margin: 0; font-size: 1.35rem; }
.hub-area-head h2 a { color: var(--ink); text-decoration: none; }
.hub-area-head h2 a:hover { color: var(--brand); }
.hub-area-head p { margin: 0; font-size: .9rem; color: var(--muted); }

.timeline { list-style: none; margin: 1.4em 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 32px; margin: 0 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 64px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline .yr { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.timeline h3 { margin: 0 0 4px; font-size: 1.02rem; }
.timeline p { margin: 0; font-size: .94rem; }

.office-hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.office-hero-card address { font-style: normal; color: var(--ink); font-weight: 550; }
.office-hero-card .row { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.office-hero-card .row .ic { color: var(--brand); margin-top: 3px; }
.notice-404 { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.notice-404 .big { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, var(--brand-500), var(--navy-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 11. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .05s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .1s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .15s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .2s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .25s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: .3s; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: .35s; }
.js .reveal-stagger.in > *:nth-child(n+9) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .popular-bar, .mobile-bar, .to-top, .toc, .toc-chips, .side, .cta-band, .enquiry, .site-footer nav, .reading-progress { display: none !important; }
  body { font-size: 11pt; padding: 0; }
  .page-hero { background: none; padding: 0; }
  .page-layout { display: block; padding: 0; }
  a { color: inherit; }
}

/* ---------- 12. Mobile density: swipe rows and compact cards ---------- */
.swipe-hint { display: none; }
@media (max-width: 620px) {
  .seg [role="tab"] { padding: 9px 12px; font-size: .88rem; }
  .seg [role="tab"] .ic { display: none; }
  .section { padding: 56px 0; }
  .swipe { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { scroll-snap-align: start; }
  .swipe-hint { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; margin: -6px 0 10px; }
  .journey-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 14px 16px; }
  .journey-steps li::before { grid-row: span 2; margin: 0; align-self: start; }
  .journey-steps strong { margin-top: 2px; }
  .process li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .process-num { grid-row: span 2; margin: 0; width: 44px; height: 44px; font-size: 1rem; }
  .process h3 { margin-top: 10px; }
  .area { padding: 20px; }
  .svc-card { padding: 20px; }
  .journeys { padding: 14px; border-radius: 22px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- 13. NRI & international band (home) ---------- */
.intl-band { background: radial-gradient(60% 80% at 100% 0%, rgba(227, 154, 45, .18), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(26, 111, 209, .35), transparent 60%), var(--navy-950); color: #bccadd; }
.intl-band h2 { color: #fff; }
.intl-band .section-head p { color: #b8c7db; }
.intl-band .eyebrow { color: #ffd79c; }
.intl-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.intl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.intl-col { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.intl-col h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.intl-col ul { list-style: none; margin: 0; padding: 0; }
.intl-col li { margin: 0; }
.intl-col a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; color: #e6edf7; text-decoration: none; font-size: .92rem; font-weight: 550; border-top: 1px solid rgba(255, 255, 255, .08); }
.intl-col li:first-child a { border-top: 0; }
.intl-col a .ic { width: 15px; height: 15px; color: #8ea1bb; transition: transform .2s var(--ease); }
.intl-col a:hover { color: #fff; }
.intl-col a:hover .ic { transform: translateX(3px); color: #ffd79c; }
@media (max-width: 1080px) { .intl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .intl-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 14. Maps, notice bar ---------- */
.map-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 16 / 9; margin: 1.2em 0; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-notice { position: fixed; left: 16px; bottom: 16px; z-index: 58; max-width: 460px; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .84rem; color: var(--text); }
.site-notice p { margin: 0; }
.site-notice .btn { flex: none; }
@media (max-width: 767px) { .site-notice { left: 10px; right: 10px; bottom: 84px; max-width: none; } }

/* ---------- 13. WhatsApp and enquiry pop-up ---------- */
.btn-wa { --b-bg: #0f7d41; --b-fg: #fff; box-shadow: 0 8px 20px -10px rgba(15, 125, 65, .7); }
.btn-wa:hover { --b-bg: #0b6835; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 56; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #0f7d41; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(15, 100, 50, .7); transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { color: #fff; background: #0b6835; transform: translateY(-2px); }
.wa-float .ic { width: 24px; height: 24px; stroke-width: 1.9; }
@media (max-width: 767px) { .wa-float { display: none; } }

.enq-modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 20, 42, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.enq-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); animation: pop .22s var(--ease); }
.enq-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.enq-head { padding: 26px 28px 0; }
.enq-head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-bottom: 6px; padding-right: 40px; }
.enq-head .eyebrow { margin-bottom: 8px; }
.enq-sub { font-size: .92rem; color: var(--muted); margin: 0; }
.enq-svc { margin: 0 0 6px; font-size: .95rem; color: var(--brand-600); }
.enq-panel .enquiry-form { padding: 18px 28px 8px; gap: 12px; }
.enq-panel .field textarea { min-height: 84px; }
.enq-alt { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 28px 24px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.enq-alt .btn { flex: 1 1 200px; }
.form-done { grid-column: 1 / -1; text-align: center; padding: 18px 8px 6px; }
.form-done .tick-big { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--green-50); color: var(--green); }
.form-done .tick-big .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.form-done h3 { margin-bottom: 6px; }
.form-done p { color: var(--muted); margin: 0 0 12px; }
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .enq-modal { align-items: flex-end; padding: 0; }
  .enq-panel { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; animation: sheet .28s var(--ease); }
  .enq-head { padding: 22px 18px 0; }
  .enq-panel .enquiry-form { padding: 14px 18px 6px; }
  .enq-alt { padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); }
  .hero-actions .btn-wa { flex: 1 1 auto; }
}
@keyframes sheet { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (max-width: 767px) {
  .site-notice { left: 10px; right: 10px; bottom: 84px; max-width: none; padding: 10px 12px; gap: 10px; font-size: .78rem; line-height: 1.45; align-items: center; }
  .site-notice p { margin: 0; }
}
.foot-bottom a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) { .topbar-hide-md { display: none !important; } }
