/* Biswajit Sarkar - Advocates & IP Attorneys
   Site stylesheet. Colours follow the firm logo. */

:root {
  --navy-950: #030b1c;
  --navy-900: #061a40;
  --navy-800: #0a2758;
  --blue-700: #04469c;   /* logo primary */
  --blue-500: #3e79ce;   /* logo secondary */
  --blue-300: #9fc1f2;
  --blue-100: #d3e5ff;   /* logo orb */
  --blue-50:  #eef4fd;
  --ink: #0b1a33;
  --ink-2: #3b4a63;
  --ink-3: #6b7890;
  --line: #dfe5ee;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --radius: 4px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
::selection { background: var(--blue-100); color: var(--navy-900); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--blue-700); color: #fff; padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(255,255,255,.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -0.025em; color: var(--ink); max-width: 30ch; }
.statement em { font-style: normal; color: var(--blue-700); }
.muted { color: var(--ink-3); }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lead { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--navy-800); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.section:not(.section--dark) .btn--ghost:hover, .btn--ghost.on-light:hover { background: var(--blue-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--blue-300); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 210px; flex: none; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .3s; }
.brand .logo-color { position: absolute; inset: 0; opacity: 0; }
.is-solid .site-header, .site-header.is-solid { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-solid .logo-white, .site-header.menu-open .logo-white { opacity: 0; }
.site-header.is-solid .logo-color, .site-header.menu-open .logo-color { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px;
  background: none; border: 0; cursor: pointer; font: 500 .95rem/1 var(--font-body); color: inherit; position: relative;
}
.nav > ul > li > a::after, .nav > ul > li > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > ul > li > a:hover::after, .nav > ul > li > button:hover::after, .nav a[aria-current="page"]::after, .nav .is-current > button::after { transform: scaleX(1); }
.nav .chev { width: 10px; height: 10px; transition: transform .3s; }
.nav li.open .chev { transform: rotate(180deg); }
.header-cta { display: none; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 20px; }
  .burger { display: none !important; }
}
.site-header:not(.is-solid) .header-cta { background: #fff; color: var(--navy-900); }

/* Mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(6, 26, 64, .25); border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 1fr 2.4fr; gap: 64px; padding-top: 44px; padding-bottom: 52px; }
.mega-intro h3 { font-size: 1.6rem; margin-bottom: 12px; }
.mega-intro p { color: var(--ink-2); font-size: .98rem; }
.mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; list-style: none; margin: 0; padding: 0; }
.mega-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.mega-links a small { display: block; color: var(--ink-3); font-weight: 400; font-size: .84rem; margin-top: 3px; }
.mega-links a:hover { color: var(--blue-700); padding-left: 6px; }

/* Burger + mobile menu */
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; color: inherit; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header.menu-open { background: #fff; color: var(--ink); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; color: var(--ink);
  overflow-y: auto; padding: 24px var(--gutter) 48px; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li > a, .mobile-menu summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 600 1.25rem/1.2 var(--font-display); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details ul { padding: 8px 0 12px 12px; }
.mobile-menu details a { display: block; padding: 10px 0; color: var(--ink-2); }
.mobile-menu .btn { margin-top: 32px; width: 100%; justify-content: center; }
.mobile-menu .mm-contact { margin-top: 28px; color: var(--ink-2); font-size: .95rem; }
body.no-scroll { overflow: hidden; }

/* Hero (home) */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  background: radial-gradient(120% 90% at 85% 30%, #0c3a86 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(120px, 14vw, 170px);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,28,.85) 0%, rgba(3,11,28,.35) 55%, rgba(3,11,28,0) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; margin-bottom: 28px; }
.hero h1 .accent { color: var(--blue-300); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 52ch; }
.hero-meta { position: absolute; z-index: 2; right: var(--gutter); bottom: 40px; display: none; gap: 40px; font-size: .85rem; color: rgba(255,255,255,.6); }
.hero-meta strong { display: block; color: #fff; font: 700 1.5rem/1.1 var(--font-display); letter-spacing: -0.02em; }
@media (min-width: 1100px) { .hero-meta { display: flex; } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 1px; height: 56px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Quick links (overlapping hero) */
.quick { position: relative; z-index: 3; margin-top: -72px; }
.quick-grid { display: grid; grid-template-columns: 1fr; background: #fff; box-shadow: 0 30px 60px -30px rgba(6,26,64,.35); }
@media (min-width: 700px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(4, 1fr); } }
.quick-grid a { display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s var(--ease); position: relative; }
.quick-grid a:hover { background: var(--blue-50); }
.quick-grid .q-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.quick-grid .q-title { font: 700 1.2rem/1.3 var(--font-display); letter-spacing: -0.015em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quick-grid svg { width: 20px; height: 20px; color: var(--blue-700); flex: none; transition: transform .3s var(--ease); }
.quick-grid a:hover svg { transform: translateX(5px); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(90% 120% at 90% 0%, #0c3a86 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px);
}
.page-hero .rings { position: absolute; right: -4%; top: 50%; width: min(620px, 70vw); transform: translateY(-46%); opacity: .95; pointer-events: none; }
@media (max-width: 899px) { .page-hero .rings { right: -35%; top: 20%; opacity: .45; } }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lead { color: rgba(255,255,255,.8); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 28px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 36px 24px 8px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stat { border-bottom: 0; border-right: 1px solid var(--line); padding: 44px 32px 8px; } .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; } }
.stat .num { font: 700 clamp(2.6rem, 5vw, 4.2rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--blue-700); }
.stat .lbl { margin-top: 12px; color: var(--ink-2); font-size: .98rem; max-width: 22ch; }
.section--dark .stats, .section--dark .stat { border-color: rgba(255,255,255,.14); }
.section--dark .stat .num { color: #fff; }
.section--dark .stat .lbl { color: rgba(255,255,255,.7); }

/* Practice cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; padding: 36px 32px 32px; display: flex; flex-direction: column; min-height: 280px; position: relative; overflow: hidden; transition: background .35s var(--ease), color .35s var(--ease); }
.card .ico { width: 44px; height: 44px; color: var(--blue-700); margin-bottom: 36px; transition: color .35s; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; margin-bottom: 24px; transition: color .35s; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--blue-700); transition: color .35s; }
.card .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.card:hover { background: var(--navy-900); color: #fff; }
a.card:hover .ico, a.card:hover .more { color: var(--blue-300); }
a.card:hover p { color: rgba(255,255,255,.75); }
a.card:hover .more svg { transform: translateX(5px); }

/* Media blocks */
.media { position: relative; overflow: hidden; background: var(--blue-50); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.03); }
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: end; }
.duo .media:first-child { aspect-ratio: 4/5; }
.duo .media:last-child { aspect-ratio: 1/1; margin-bottom: 18%; }

/* Features (landmark matters) */
.feature { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid var(--line); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature--rev .feature-media { order: 2; } }
.feature-media { min-height: 320px; background: var(--blue-50); position: relative; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media.contain img { object-fit: contain; padding: 12%; }
.feature-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature-body .tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); font-weight: 600; margin-bottom: 16px; }
.feature-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.025em; }
.feature-body p { color: var(--ink-2); }
.feature + .feature { margin-top: 24px; }

.case-rail { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .case-rail { grid-template-columns: repeat(3, 1fr); } }
.case { display: flex; flex-direction: column; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(6,26,64,.4); }
.case .media { aspect-ratio: 16/10; }
.case .media.contain { background: #fff; }
.case .media.contain img { object-fit: contain; padding: 10%; }
.case-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.case-body .tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); font-weight: 600; margin-bottom: 12px; }
.case-body p { color: var(--ink-2); font-size: .97rem; }
.case-body .link-arrow { margin-top: auto; }

/* Clients */
.filter { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 999px; margin-bottom: 36px; }
.section--alt .filter { background: #fff; }
.filter button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.filter button[aria-pressed="true"] { background: var(--blue-700); color: #fff; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 600px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos li { list-style: none; background: #fff; aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; padding: 18px; }
.logos li[hidden] { display: none; }
.logos img { max-height: 76px; width: auto; filter: grayscale(1); opacity: .72; transition: filter .35s, opacity .35s; }
.logos li:hover img { filter: none; opacity: 1; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Testimonials */
.quotes { position: relative; }
.quote-track { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.quote.active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { margin: 0 0 36px; font: 500 clamp(1.35rem, 2.6vw, 2.1rem)/1.35 var(--font-display); letter-spacing: -0.02em; max-width: 34ch; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--blue-500); margin-bottom: 18px; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--blue-100); }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--ink-3); font-size: .92rem; }
.section--dark .quote figcaption span { color: rgba(255,255,255,.6); }
.quote-nav { display: flex; align-items: center; gap: 20px; margin-top: 44px; }
.quote-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.quote-nav button:hover { background: #fff; color: var(--navy-900); }
.quote-nav svg { width: 18px; height: 18px; }
.quote-count { font-variant-numeric: tabular-nums; font-size: .95rem; opacity: .7; }
.quote-bar { flex: 1; max-width: 220px; height: 2px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.quote-bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }

/* Insights */
.posts { display: grid; grid-template-columns: 1fr; gap: 40px 28px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; }
.post .media { aspect-ratio: 16/10; margin-bottom: 22px; }
.post .tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); font-weight: 600; margin-bottom: 10px; }
.post h3 { transition: color .25s; }
.post:hover h3 { color: var(--blue-700); }
.post p { color: var(--ink-2); font-size: .97rem; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); font: 600 1.15rem/1.35 var(--font-display); letter-spacing: -0.01em; transition: color .25s, padding .3s var(--ease); }
.post-list a:hover { color: var(--blue-700); padding-left: 8px; }
.post-list svg { width: 20px; height: 20px; flex: none; color: var(--blue-700); }

/* Offices */
.offices { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .offices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offices { grid-template-columns: repeat(3, 1fr); } }
.office { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.office .city { font: 700 1.5rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.office .kind { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); font-weight: 600; margin-bottom: 10px; }
.office address { font-style: normal; color: var(--ink-2); margin-bottom: 12px; }
.office a { color: var(--ink); }
.office a:hover { color: var(--blue-700); }
.office .map { margin-top: auto; padding-top: 14px; }
.cities { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 0; padding: 0; }
.cities li { padding: 10px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .95rem; }
.section:not(.section--dark) .cities li { border-color: var(--line); }

/* Prose + practice detail */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .checklist { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.checklist li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 24px; width: 18px; height: 10px; border-left: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700); transform: rotate(-45deg); }
.checklist li small { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.14); counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--navy-900); padding: 32px 28px 36px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 .9rem/1 var(--font-display); color: var(--blue-300); letter-spacing: .08em; margin-bottom: 28px; }
.steps h4 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.steps p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.facts { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); background: #fff; }
.facts div { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 600 1.15rem/1.4 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--blue-700); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 26px; color: var(--ink-2); max-width: 72ch; }

/* Values */
.values { list-style: none; padding: 0; margin: 0; counter-reset: v; border-top: 1px solid var(--line); }
.values li { counter-increment: v; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.35 var(--font-display); letter-spacing: -0.015em; }
.values li::before { content: counter(v, decimal-leading-zero); color: var(--blue-500); font-size: .95rem; padding-top: 6px; }
.section--dark .values, .section--dark .values li { border-color: rgba(255,255,255,.14); }

/* Memberships */
.members { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; list-style: none; margin: 0; padding: 0; }
.members img { height: 56px; width: auto; opacity: .85; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue-700); box-shadow: 0 0 0 5px var(--blue-50); }
.timeline .yr { font: 700 1rem/1 var(--font-display); color: var(--blue-700); letter-spacing: .02em; margin-bottom: 8px; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue-700); color: #fff; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { margin: 0; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,.82); }
.cta-band .rings { position: absolute; right: -6%; top: -55%; width: 640px; opacity: .45; pointer-events: none; }
.cta-band .btn-row { margin-top: 0; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid #c9d2df; border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,121,206,.15); }
.field .hint { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-700); flex: none; }
.hp { position: absolute; left: -9999px; }
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }

/* Newsletter */
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.newsletter input { flex: 1 1 220px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--blue-300); }
.newsletter .btn { min-height: 50px; }

/* Footer (light, in the manner of asml.com) */
.site-footer { background: #eff2f4; color: var(--ink); font-size: .95rem; }
.footer-crumbs { border-bottom: 1px solid #dde3e8; }
.footer-crumbs .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.fcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-3); }
.fcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.fcrumbs a { color: var(--blue-700); }
.fcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.to-top svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
.footer-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px); }
@media (min-width: 900px) { .footer-main { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.site-footer h2 { font: 700 1.05rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--navy-900); margin: 0 0 18px; }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin-bottom: 12px; }
.fcol a { color: var(--ink-2); transition: color .2s; }
.fcol a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.fcol .fcol-2 { margin-top: 32px; }
.footer-social { display: grid; gap: 32px; padding: 36px 0 44px; border-top: 1px solid #dde3e8; }
@media (min-width: 900px) { .footer-social { grid-template-columns: 1fr 1fr; align-items: end; } .fnews { justify-self: end; width: 100%; max-width: 480px; } }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; transition: background .25s; }
.social a:hover { background: var(--blue-700); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 220px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid #c9d2df; background: #fff; color: var(--ink); }
.newsletter input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,121,206,.15); }
.newsletter .btn { min-height: 50px; }
.footer-legal { background: #fff; border-top: 1px solid #dde3e8; }
.footer-legal > .wrap:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: 12px; }
.flogo img { width: 170px; height: auto; }
.footer-legal .copy { color: var(--ink-3); font-size: .85rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: .85rem; }
.footer-legal ul a { color: var(--ink-2); }
.footer-legal ul a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .footer-legal ul { margin-left: 0; } }
.bci-note { font-size: .78rem; color: var(--ink-3); margin: 0; padding: 4px 0 24px; max-width: 120ch; }

/* Disclaimer modal (Bar Council of India rules) */
.disclaimer { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(3,11,28,.72); backdrop-filter: blur(6px); }
.disclaimer.show { display: flex; }
.disclaimer-box { background: #fff; color: var(--ink); max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: clamp(28px, 5vw, 48px); border-top: 4px solid var(--blue-700); }
.disclaimer-box h2 { font-size: 1.6rem; margin-bottom: 18px; }
.disclaimer-box p { color: var(--ink-2); font-size: .95rem; }
.disclaimer-box .btn-row { margin-top: 24px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: .85rem; padding: 7px 14px; background: var(--blue-50); color: var(--blue-700); border-radius: 999px; font-weight: 500; }
.notice { padding: 18px 22px; background: var(--blue-50); border-left: 3px solid var(--blue-700); color: var(--ink-2); font-size: .95rem; }
.big-404 { font: 800 clamp(6rem, 18vw, 14rem)/1 var(--font-display); letter-spacing: -0.06em; color: rgba(255,255,255,.12); }

/* Fixes */
.mobile-menu svg { width: 20px; height: 20px; flex: none; }
.mobile-menu .chev { width: 14px; height: 14px; }
.mobile-menu details[open] .chev { transform: rotate(180deg); }
.mega-links { grid-template-columns: repeat(2, 1fr); }
.mega .wrap { align-items: start; }

.newsletter input::placeholder { color: var(--ink-3); }

/* =====================================================================
   v4 - light-blue theme, hamburger header, ASML-style grid and footer
   ===================================================================== */
:root { --sky-0: #f5f9ff; --sky-1: #e8f1fc; --sky-2: #d3e5ff; --gridline: rgba(4, 70, 156, .08); }

/* Column grid used by the header menu, footer and background lines */
.f-grid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 0; }
.gridlines { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: none; }
.gridlines .wrap { height: 100%; display: grid; grid-template-columns: repeat(6, 1fr); }
.gridlines i { border-left: 1px solid var(--gridline); }
.gridlines i:first-child { grid-column: 2; }
@media (min-width: 1000px) { .gridlines { display: block; } }

/* Header: logo, hamburger, contact */
.site-header { color: var(--ink); }
.site-header .wrap { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; }
.site-header .brand { grid-column: 1; width: 190px; }
.brand img { width: 100%; height: auto; }
.menu-btn { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 0 0 16px; background: none; border: 0; cursor: pointer; color: var(--ink); font: 600 .95rem/1 var(--font-body); letter-spacing: .02em; }
.menu-btn .bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 30px; }
.menu-btn .bars i { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-open .menu-btn .bars i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.menu-btn:hover .lbl { text-decoration: underline; text-underline-offset: 4px; }
.site-header .header-cta { display: inline-flex; grid-column: 6; justify-self: end; min-height: 44px; padding: 0 22px; }
.site-header:not(.is-solid) .header-cta { background: var(--blue-700); color: #fff; }
.site-header.is-solid, .site-header.menu-open { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 999px) {
  .site-header .wrap { grid-template-columns: 1fr auto auto; gap: 12px; }
  .menu-btn { grid-column: 3; padding-left: 0; }
  .menu-btn .lbl { display: none; }
  .site-header .header-cta { grid-column: 2; min-height: 40px; padding: 0 16px; font-size: .88rem; }
  .site-header .brand { width: 170px; }
}
@media (max-width: 420px) { .site-header .header-cta { display: none; } }

/* Full menu panel */
.site-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.site-menu.open { opacity: 1; visibility: visible; transform: none; }
.site-menu .f-grid { padding-top: clamp(32px, 6vh, 64px); padding-bottom: 64px; row-gap: 40px; }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.sm-main { grid-column: 2 / span 2; }
.sm-main li a { display: inline-block; padding: 8px 0; font: 700 clamp(1.6rem, 2.6vw, 2.4rem)/1.2 var(--font-display); letter-spacing: -0.03em; color: var(--navy-900); transition: color .2s; }
.sm-main li a:hover, .sm-main a[aria-current="page"] { color: var(--blue-500); }
.sm-pr { grid-column: 4 / span 2; padding-left: 16px; }
.sm-pr li a { display: inline-block; padding: 9px 0; font-size: 1.05rem; color: var(--blue-700); border-bottom: 1px solid rgba(4,70,156,.2); }
.sm-pr li a:hover { border-color: var(--blue-700); }
.sm-contact { grid-column: 6; padding-left: 16px; color: var(--ink-2); font-size: .95rem; }
.sm-contact a { color: var(--blue-700); }
.sm-contact .btn { color: #fff; margin-top: 8px; }
.f-h { font: 400 .8rem/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--blue-500); margin: 0 0 20px; }
@media (max-width: 999px) {
  .site-menu .f-grid { grid-template-columns: 1fr; }
  .sm-main, .sm-pr, .sm-contact { grid-column: 1; padding-left: 0; }
}

/* Light-blue backgrounds instead of dark navy */
.hero, .page-hero { background: radial-gradient(70% 90% at 80% 40%, #ffffff 0%, var(--sky-1) 45%, var(--sky-2) 100%); color: var(--ink); }
.hero::after { background: linear-gradient(90deg, rgba(245,249,255,.95) 0%, rgba(245,249,255,.55) 42%, rgba(245,249,255,0) 62%); }
.hero h1 .accent { color: var(--blue-700); }
.hero .lead, .page-hero .lead { color: var(--ink-2); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-700); }
.page-hero h1 { color: var(--navy-900); }
.crumbs { color: var(--ink-3); }
.crumbs a { color: var(--blue-700); }
.crumbs a:hover { color: var(--navy-900); }
.quick-grid { border: 1px solid var(--line); }
.big-404 { color: rgba(4,70,156,.12); }
@media (max-width: 999px) { .hero::after { background: linear-gradient(180deg, rgba(245,249,255,0) 0%, rgba(245,249,255,.75) 35%, rgba(245,249,255,.9) 100%); } }

.section--dark { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%); color: var(--ink); }
.section--dark .lead, .section--dark p { color: var(--ink-2); }
.section--dark .eyebrow, .section--dark .link-arrow { color: var(--blue-700); }
.section--dark .stats, .section--dark .stat { border-color: rgba(4,70,156,.15); }
.section--dark .stat .num { color: var(--blue-700); }
.section--dark .stat .lbl { color: var(--ink-2); }
.section--dark .quote figcaption span { color: var(--ink-3); }
.section--dark .values, .section--dark .values li { border-color: rgba(4,70,156,.15); }
.section--dark .cities li { border-color: rgba(4,70,156,.25); background: rgba(255,255,255,.6); }
.quote-nav button { color: var(--blue-700); }
.quote-nav button:hover { background: var(--blue-700); color: #fff; }
.quote-bar { background: rgba(4,70,156,.15); }
.quote-bar i { background: var(--blue-700); }
.steps { background: rgba(4,70,156,.12); }
.steps li { background: #fff; }
.steps li::before { color: var(--blue-500); }
.steps h4 { color: var(--navy-900); }
.steps p { color: var(--ink-2); }
a.card:hover { background: var(--sky-1); color: var(--ink); }
a.card:hover .ico, a.card:hover .more { color: var(--blue-700); }
a.card:hover p { color: var(--ink-2); }

/* Footer promo band (above the footer, as on asml.com) */
.f-promo { position: relative; z-index: 1; background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-500) 55%, #8fb6ee 100%); margin-top: 72px; }
.f-promo .f-grid { grid-template-rows: auto 76px; }
.fp-img { grid-column: 2 / span 2; grid-row: 1; margin-top: -48px; min-height: 260px; background: var(--sky-2); overflow: hidden; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; }
.fp-card { grid-column: 4 / span 2; grid-row: 1; margin-top: -48px; background: #fff; padding: 56px 40px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.fp-card h2 { margin: 0; color: var(--blue-700); font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.05; }
.fp-card .bar { display: block; width: 40px; height: 4px; background: var(--blue-300); margin-top: 36px; }
.fp-btn { grid-column: 6; grid-row: 1 / span 2; align-self: end; justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; color: var(--blue-700); font: 700 1.1rem/1.2 var(--font-display); letter-spacing: -0.02em; padding: 18px 22px; margin-bottom: 16px; }
.fp-btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.fp-btn:hover svg { transform: translateX(5px); }
@media (max-width: 999px) {
  .f-promo .f-grid { grid-template-columns: 1fr; grid-template-rows: none; padding-bottom: 24px; }
  .fp-img, .fp-card, .fp-btn { grid-column: 1; grid-row: auto; }
  .fp-img { min-height: 200px; }
  .fp-card { margin-top: 0; padding: 32px 24px; }
  .fp-btn { margin: 16px 0 0; }
}

/* Footer */
.site-footer { background: #eff2f4; color: var(--ink); padding: 0; font-size: .95rem; }
.f-cols { padding-top: 56px; padding-bottom: 8px; row-gap: 40px; }
.f-cols > div { padding-right: 16px; }
.f-cols > div:nth-child(1) { grid-column: 2; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 12px; }
.f-cols a, .f-legal a { color: #0a2f75; display: inline-block; padding-bottom: 3px; border-bottom: 1px solid rgba(10,47,117,.22); transition: border-color .2s, color .2s; }
.f-cols a:hover, .f-legal a:hover { border-color: #0a2f75; color: var(--blue-700); }
.site-footer .f-h { margin-bottom: 18px; }
.f-row2 { padding-top: 36px; padding-bottom: 40px; align-items: end; row-gap: 28px; }
.f-social { grid-column: 2 / span 2; }
.social { display: flex; gap: 18px; margin: 0; }
.social a { width: auto; height: auto; border: 0; border-radius: 0; background: none; display: inline-flex; }
.social svg { width: 22px; height: 22px; fill: #7f96b8; transition: fill .2s; }
.social a:hover { background: none; }
.social a:hover svg { fill: var(--blue-700); }
.f-bigbtn { grid-column: 4 / span 2; justify-self: start; display: inline-flex; align-items: center; gap: 24px; min-height: 56px; padding: 0 32px; background: var(--blue-500); color: #fff; font: 700 1.15rem/1 var(--font-display); letter-spacing: -0.02em; transition: background .25s; }
.f-bigbtn .long { width: 40px; height: 16px; transition: transform .3s var(--ease); }
.f-bigbtn:hover { background: var(--blue-700); }
.f-bigbtn:hover .long { transform: translateX(6px); }
.f-legal { border-top: 1px solid #dde3e8; padding-top: 24px; padding-bottom: 32px; font-size: .85rem; color: var(--ink-3); }
.f-legal > div { grid-column: 2 / span 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.f-legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.f-legal li { margin: 0; }
.f-legal .bci-note { flex-basis: 100%; margin: 6px 0 0; font-size: .78rem; color: var(--ink-3); padding: 0; }
@media (max-width: 999px) {
  .site-footer .f-grid { grid-template-columns: 1fr 1fr; }
  .f-cols > div:nth-child(1) { grid-column: auto; }
  .f-social, .f-bigbtn, .f-legal > div { grid-column: 1 / -1; }
  .f-bigbtn { font-size: 1rem; padding: 0 22px; }
}

/* Inputs on light backgrounds */
.newsletter input { border: 1px solid #c9d2df; background: #fff; color: var(--ink); }
.newsletter input::placeholder { color: var(--ink-3); }
.site-footer .f-h, .site-menu .f-h { font: 400 .8rem/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--blue-500); margin: 0 0 20px; }
.fp-img { background: radial-gradient(80% 80% at 50% 45%, #ffffff 0%, var(--sky-1) 55%, var(--sky-2) 100%); display: flex; align-items: center; justify-content: center; }
.fp-img img { width: 82%; height: auto; object-fit: contain; }
.fp-btn { white-space: nowrap; justify-self: start; min-width: 100%; font-size: 1.05rem; }

/* =====================================================================
   v5 - gradient hero, white header ribbon, orange accents, tiles,
        waterfall menu, CMS sections, forms
   ===================================================================== */
:root {
  /* No black anywhere: the darkest tone is a deep navy taken from the logo family */
  --ink: #12305e; --ink-2: #3d557d; --ink-3: #6a7fa0;
  --navy-950: #0b2350; --navy-900: #0d2a5c; --navy-800: #123a7a;
  --accent: #d9732f; --accent-soft: rgba(217, 115, 47, .14);
  --grad-deep: linear-gradient(115deg, #0a3a8a 0%, #1d5cbc 34%, #7eabea 66%, #e9f2fd 100%);
  --grad-band: linear-gradient(90deg, #0a3a8a 0%, #2a68c6 48%, #9fc1f2 100%);
}
body { color: var(--ink); }
::selection { background: var(--accent-soft); color: var(--navy-900); }
.gridlines { display: none !important; }

/* Header ribbon: always white so the light-blue orb of the logo stays visible */
.site-header, .site-header.is-solid, .site-header.menu-open { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 6px 24px -18px rgba(13,42,92,.5); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #0a3a8a, #3e79ce 55%, #cfe2ff); }
.site-header:not(.is-solid) .header-cta, .site-header .header-cta { background: var(--blue-700); color: #fff; }

/* Orange highlights - subtle */
.eyebrow::before { background: var(--accent); height: 2px; }
.eyebrow { color: var(--blue-700); }
.quote blockquote::before { color: var(--accent); }
.fp-card .bar { background: var(--accent); }
.link-arrow:hover, .card .more { text-decoration-color: var(--accent); }
a.card:hover .more { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.f-cols a:hover, .f-legal a:hover, .sm-pr li a:hover { border-color: var(--accent); color: var(--blue-700); }
.sm-main a[aria-current="page"]::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 12px; vertical-align: middle; }
.quick-grid a:hover .q-label { color: var(--accent); }
.stat .num::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: super; }
.prose a, .tm-note a { text-decoration-color: var(--accent); }
.filter button[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Hero: dark blue to light blue */
.hero, .page-hero { background: var(--grad-deep); color: #fff; }
.hero::after { background: linear-gradient(90deg, rgba(8,45,112,.55) 0%, rgba(8,45,112,.18) 42%, rgba(8,45,112,0) 62%); }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 .accent { color: #d6e7ff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.hero .lead, .page-hero .lead { color: rgba(255,255,255,.9); }
.hero .eyebrow, .page-hero .eyebrow { color: #d6e7ff; }
.crumbs, .crumbs li { color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #d6e7ff; }
.hero .btn--primary { background: #fff; color: var(--blue-700); }
.hero .btn--primary:hover { background: #d6e7ff; }
.hero .btn--ghost, .hero .btn--ghost.on-light { color: #fff; border-color: rgba(255,255,255,.75); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); }
.page-hero .rings { opacity: 1; }
.big-404 { color: rgba(255,255,255,.25); }
.page-hero .btn--primary { background: #fff; color: var(--blue-700); }
.page-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.75); }
@media (max-width: 999px) {
  .hero, .page-hero { background: linear-gradient(180deg, #e9f2fd 0%, #8db6ef 26%, #2a68c6 56%, #0a3a8a 100%); }
  .hero::after { background: none; }
}
#hero-canvas { cursor: grab; touch-action: pan-y; }
#hero-canvas.dragging { cursor: grabbing; }
.hero::after { pointer-events: none; }
.hero .wrap { pointer-events: none; }
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.globe-ui { position: absolute; z-index: 2; right: var(--gutter); bottom: 132px; display: none; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
@media (min-width: 1000px) { .globe-ui { display: flex; } }
.globe-route { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--navy-900); font-size: .9rem; box-shadow: 0 10px 30px -18px rgba(13,42,92,.6); backdrop-filter: blur(6px); }
.globe-route .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.globe-route .arr { color: var(--blue-500); }
.globe-route b { font-weight: 600; transition: opacity .3s; }
.globe-hint { font-size: .78rem; color: var(--ink-2); letter-spacing: .04em; }

/* Tiles: separate cards, no grey filler cells */
.cards, .logos, .offices { background: none; border: 0; gap: 20px; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; }
.cards > .card { flex: 1 1 100%; }
@media (min-width: 700px) { .cards > .card { flex: 0 1 calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .cards > .card { flex: 0 1 calc((100% - 40px) / 3); } }
.card { border: 1px solid var(--line); border-radius: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease); }
a.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(13,42,92,.45); background: #fff; border-color: rgba(62,121,206,.35); }
.offices .office { border: 1px solid var(--line); border-radius: 8px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 8px 0 0; }
.logos li { flex: 0 0 calc((100% - 14px) / 2); border: 1px solid var(--line); border-radius: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
@media (min-width: 600px) { .logos li { flex-basis: calc((100% - 28px) / 3); } }
@media (min-width: 900px) { .logos li { flex-basis: calc((100% - 70px) / 6); } }
.logos img { transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.logos li:hover { transform: translateY(-8px); box-shadow: 0 22px 34px -22px rgba(13,42,92,.45); border-color: rgba(62,121,206,.35); }
.logos li:hover img { filter: none; opacity: 1; transform: scale(1.12); }
.marquee { padding: 14px 0; }
.marquee img { transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.marquee img:hover { filter: none; opacity: 1; transform: translateY(-8px) scale(1.15); }
.tm-note { font-size: .8rem; color: var(--ink-3); margin: 18px 0 0; }
.tm-note--block { margin-top: 32px; padding: 18px 22px; background: var(--paper-2); border-left: 3px solid var(--accent); border-radius: 4px; max-width: none; }

/* Waterfall menu */
.site-menu { background: transparent; opacity: 1; transform: none; transition: visibility 0s linear .75s; }
.site-menu.open { visibility: visible; transition: visibility 0s; }
.sm-fall { position: fixed; inset: var(--header-h) 0 0 0; display: flex; pointer-events: none; }
.sm-fall span { flex: 1; background: linear-gradient(180deg, #ffffff 0%, #f1f6fe 100%); transform: scaleY(0); transform-origin: top; box-shadow: 0 3px 0 rgba(62,121,206,.6); transition: transform .55s cubic-bezier(.7,0,.2,1) calc((11 - var(--i)) * 22ms); }
.site-menu.open .sm-fall span { transform: scaleY(1.01); transition-delay: calc(var(--i) * 38ms); }
.sm-inner { position: relative; z-index: 1; }
.sm-inner li, .sm-inner .f-h, .sm-contact > * { opacity: 0; transform: translateY(-14px); transition: opacity .25s, transform .25s; }
.site-menu.open .sm-inner li, .site-menu.open .sm-inner .f-h, .site-menu.open .sm-contact > * { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease); transition-delay: calc(.38s + var(--d, 0) * 45ms); }
.sm-social { margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .sm-fall span { transition: none !important; } }

/* Social icons */
.social { flex-wrap: wrap; }
.social svg { fill: #6f8bb5; }
.social a:hover svg { fill: var(--blue-700); }

/* Footer promo with a free-floating globe */
.f-promo { margin-top: 150px; background: var(--grad-band); min-height: 360px; overflow: visible; }
.promo-globe { position: absolute; left: max(-40px, calc(50% - 760px)); top: -120px; width: min(600px, 52vw); height: min(600px, 52vw); pointer-events: none; z-index: 1; }
.f-promo .f-grid { position: relative; z-index: 2; grid-template-rows: auto 76px; }
.fp-card { border-radius: 6px 6px 0 0; box-shadow: 0 30px 60px -40px rgba(13,42,92,.6); }
.fp-btn { border-radius: 4px; }
@media (max-width: 999px) {
  .f-promo { margin-top: 220px; }
  .promo-globe { left: 50%; transform: translateX(-50%); top: -200px; width: 380px; height: 380px; }
  .f-promo .f-grid { padding-top: 150px; }
}

/* Associations */
.assoc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.assoc li { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.assoc .abbr { position: relative; font: 800 1.25rem/1 var(--font-display); color: var(--blue-700); letter-spacing: -.01em; padding-right: 14px; }
.assoc .abbr::after { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.assoc .nm { color: var(--ink-2); font-size: .95rem; }

/* Team */
.team-group + .team-group { margin-top: 56px; }
.team-group > h3 { font-size: 1.3rem; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.team-group > h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(13,42,92,.45); }
.person .ph { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--sky-1), var(--sky-2)); display: grid; place-items: center; overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .ph .ini { font: 700 2.4rem/1 var(--font-display); color: var(--blue-500); }
.person .bd { padding: 18px 20px 22px; }
.person .nm { font: 700 1.1rem/1.3 var(--font-display); color: var(--navy-900); margin: 0 0 4px; }
.person .rk { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); font-weight: 600; }
.person .qu { color: var(--ink-2); font-size: .9rem; margin: 10px 0 0; }
.person .lk { display: inline-flex; gap: 14px; margin-top: 12px; font-size: .88rem; }
.person .lk a { color: var(--blue-700); border-bottom: 1px solid var(--accent-soft); }
.team-grid--interns { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.team-grid--interns .person .ph { aspect-ratio: 1/1; }

/* Empanelments */
.enlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.enlist-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; transition: transform .35s var(--ease), box-shadow .35s; }
.enlist-item:hover { transform: translateY(-5px); box-shadow: 0 22px 34px -26px rgba(13,42,92,.45); }
.enlist-item .lg { width: 64px; height: 64px; flex: none; border-radius: 6px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.enlist-item .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.enlist-item .lg span { font: 700 1.2rem/1 var(--font-display); color: var(--blue-500); }
.enlist-item h4 { margin: 0 0 4px; color: var(--navy-900); }
.enlist-item .cat { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); font-weight: 600; }
.enlist-item p { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }

/* Jobs */
.jobs { display: grid; gap: 16px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { margin: 0; font-size: 1.2rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-3); font-size: .9rem; grid-column: 1; }
.job .meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.job .tg { grid-row: 1 / span 2; grid-column: 2; font-size: .8rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); border-radius: 999px; padding: 6px 12px; }
.job .jb { padding: 0 26px 24px; color: var(--ink-2); }
.job .jb .btn { margin-top: 8px; }
.jobs-empty { padding: 22px 26px; background: #fff; border: 1px dashed rgba(62,121,206,.4); border-radius: 8px; color: var(--ink-2); margin: 0; }

/* Forms */
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 44%; min-width: 0; }
.phone-row input { flex: 1; min-width: 0; }
.field input[type=file] { padding: 12px; background: var(--paper-2); }
.form-thanks { text-align: center; padding: 40px 20px; }
.form-thanks .tick { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--accent-soft); }
.form-thanks .tick svg { width: 30px; height: 30px; color: var(--blue-700); }
.form-thanks h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-thanks p { color: var(--ink-2); margin: 0; }
.form-error { color: #b4441a; font-size: .9rem; margin: 0; }
.newsletter + .form-error { margin-top: 10px; }
.section--dark .form-thanks { background: #fff; border-radius: 8px; }

/* Article pages */
.page-hero--article h1 { max-width: 26ch; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.article-meta { color: rgba(255,255,255,.8); font-size: .92rem; margin-top: 18px; }
.article-wrap { display: grid; gap: 56px; }
@media (min-width: 1000px) { .article-wrap { grid-template-columns: minmax(0, 1fr) 280px; } }
.article { max-width: 72ch; font-size: 1.05rem; }
.article-figure { margin: 0 0 32px; border-radius: 8px; overflow: hidden; }
.article-figure img { width: 100%; }
.article-aside ul { list-style: none; padding: 0; margin: 0 0 18px; }
.article-aside li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.article-aside a { color: var(--blue-700); }
.check a { color: var(--blue-700); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.phone-row select { flex-basis: 38%; }
@media (max-width: 999px) {
  .hero { padding-top: calc(var(--header-h) + min(84vw, 400px) + 40px); align-items: flex-start; }
}
/* Footer globe stays inside the blue band and bleeds off its edges */
.f-promo { margin-top: 120px; min-height: 420px; }
.promo-globe-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.promo-globe { left: max(-120px, calc(50% - 820px)); top: 50%; transform: translateY(-50%); width: 680px; height: 680px; }
@media (max-width: 999px) {
  .f-promo { margin-top: 80px; }
  .promo-globe { left: 50%; top: -110px; transform: translateX(-50%); width: 420px; height: 420px; }
  .f-promo .f-grid { padding-top: 250px; }
}

/* =====================================================================
   v8 - light theme restored: see-through header, blue slightly deeper
        at the top fading to light at the bottom
   ===================================================================== */
:root { --grad-sky: linear-gradient(180deg, #a9c7f1 0%, #c9ddf8 38%, #e4effd 72%, #f4f8fe 100%); }
.site-header, .site-header.menu-open { background: transparent; box-shadow: none; }
.site-header::after { display: none; }
.site-header.is-solid, .site-header.menu-open { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }

.hero, .page-hero { background: radial-gradient(55% 70% at 78% 50%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%), var(--grad-sky); color: var(--ink); }
.hero::after { background: none; }
.hero h1, .page-hero h1 { color: var(--navy-900); }
.hero h1 .accent { color: var(--blue-700); text-decoration-color: var(--accent); }
.hero .lead, .page-hero .lead { color: var(--ink-2); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-700); }
.crumbs, .crumbs li { color: var(--ink-3); }
.crumbs a { color: var(--blue-700); }
.crumbs a:hover { color: var(--navy-900); }
.hero .btn--primary, .page-hero .btn--primary { background: var(--blue-700); color: #fff; }
.hero .btn--primary:hover, .page-hero .btn--primary:hover { background: var(--navy-800); }
.hero .btn--ghost, .hero .btn--ghost.on-light, .page-hero .btn--ghost { color: var(--navy-900); border-color: rgba(13,42,92,.55); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: rgba(255,255,255,.5); }
.article-meta { color: var(--ink-3); }
.big-404 { color: rgba(4,70,156,.14); }
@media (max-width: 999px) {
  .hero, .page-hero { background: var(--grad-sky); }
}
.team-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.team-cta h2 { margin-bottom: 8px; }
.team-cta .lead { margin: 0; }

/* =====================================================================
   v11 - silver borders, years badge, day and night sky, particle swirl
         footer band, flag country picker
   ===================================================================== */
:root { --line: #d9dde3; --sky-top: #a9c7f1; --sky-mid: #c9ddf8; --sun: rgba(255,255,255,.45); --sun-x: 70%; --sun-y: 8%; }
.card, .logos li, .offices .office, .person, .enlist-item, .job, .assoc li, .panel, .facts, .quick-grid, .quick-grid a, .feature, .case { border-color: #d9dde3; }

/* Sky: darker band just below the header, following a 2.4-hour day */
.hero, .page-hero { background: linear-gradient(180deg, var(--sky-top) 0px, var(--sky-mid) 120px, #dfeafb 320px, #f4f8fe 100%); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(38% 28% at var(--sun-x) var(--sun-y), var(--sun) 0%, rgba(255,255,255,0) 70%); }
.page-hero .wrap, .hero .wrap { z-index: 1; }
@media (max-width: 999px) { .hero, .page-hero { background: linear-gradient(180deg, var(--sky-top) 0px, var(--sky-mid) 110px, #dfeafb 300px, #f4f8fe 100%); } }
/* at night the see-through header turns frosted white so the logo and menu stay readable */
body.sky-dark .site-header:not(.is-solid) { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); box-shadow: 0 1px 0 rgba(13,42,92,.08); }

/* Years badge */
.years-badge { position: relative; width: 112px; height: 112px; flex: none; display: inline-grid; place-items: center; color: var(--navy-900); }
.years-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: yb-spin 40s linear infinite; }
.years-badge .yb-ring { fill: #fff; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1 4; }
.years-badge .yb-core { fill: var(--blue-50); stroke: rgba(4,70,156,.25); stroke-width: 1; }
.years-badge .yb-around { font: 600 7.4px/1 var(--font-body); letter-spacing: .14em; fill: var(--blue-700); }
.years-badge .yb-num { position: relative; font: 800 2rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--blue-700); margin-top: -10px; }
.years-badge .yb-lbl { position: absolute; top: 64%; font: 600 .62rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
@keyframes yb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .years-badge svg { animation: none; } }
.hero-actions { align-items: center; }
.years-badge--hero { margin-left: 12px; }
.years-badge--inline { margin-top: 24px; }
@media (max-width: 600px) { .years-badge--hero { margin-left: 0; } }

/* Footer band: white, with the particle swirl spilling over the sections above and below */
.f-promo { background: #fff; margin-top: 80px; min-height: 420px; z-index: 2; }
.promo-globe-wrap { overflow: visible; z-index: 1; }
.promo-globe { left: max(-60px, calc(50% - 720px)); top: 50%; transform: translateY(-50%); width: 760px; height: 760px; }
.fp-card { border: 1px solid #d9dde3; border-radius: 8px 8px 0 0; background: rgba(255,255,255,.92); backdrop-filter: blur(2px); }
.fp-btn { background: var(--blue-700); color: #fff; }
.fp-btn:hover { background: var(--navy-800); }
@media (max-width: 999px) {
  .promo-globe { left: 50%; top: -150px; transform: translateX(-50%); width: 460px; height: 460px; }
  .f-promo .f-grid { padding-top: 240px; }
}

/* Country code picker */
.phone-row { gap: 8px; }
.cc { position: relative; flex: 0 0 116px; }
.cc-native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cc-btn { width: 100%; height: 100%; min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #c9d2df; border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--ink); font: 500 .98rem var(--font-body); }
.cc-btn:focus-visible { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,121,206,.15); }
.cc-btn img, .cc-list img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(13,42,92,.12); flex: none; }
.cc-btn svg { width: 12px; height: 12px; margin-left: auto; color: var(--ink-3); }
.phone-row .phone-row-input, .phone-row input[type=tel] { flex: 1; }
.cc-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(320px, 86vw); background: #fff; border: 1px solid #d9dde3; border-radius: 8px; box-shadow: 0 24px 48px -24px rgba(13,42,92,.4); padding: 8px; }
.cc-search { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid #d9dde3; border-radius: 6px; margin-bottom: 6px; font: inherit; }
.cc-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: .93rem; }
.cc-list li:hover, .cc-list li.on { background: var(--blue-50); }
.cc-list .cc-name { flex: 1; color: var(--ink); }
.cc-list .cc-code { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cc-list li[hidden] { display: none; }
/* keep the spilling swirl from widening the page on phones */
.promo-globe-wrap { overflow-x: clip; overflow-y: visible; }
html { overflow-x: clip; }

/* Sun by day, crescent moon by night, crossing the band just below the header */
.sky-orb { position: absolute; z-index: 0; left: var(--orb-x, 70%); top: var(--orb-y, 120px); width: var(--orb-size, 44px); height: var(--orb-size, 44px); transform: translate(-50%, -50%); pointer-events: none; transition: left 1s linear, top 1s linear, width 1s linear, height 1s linear; }
.sky-orb::before { content: ""; position: absolute; inset: -160%; border-radius: 50%; background: radial-gradient(circle, var(--orb-glow, rgba(255,240,200,.6)) 0%, rgba(255,255,255,0) 62%); }
.sky-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffdf6 0%, var(--orb-core, #fff4d6) 62%); box-shadow: 0 0 18px 4px var(--orb-glow, rgba(255,240,200,.6)); }
body.moon-up .sky-orb::after { background: radial-gradient(circle at 40% 40%, #ffffff 0%, var(--orb-core) 70%); box-shadow: none;
  -webkit-mask: radial-gradient(circle at 74% 30%, rgba(0,0,0,0) 44%, #000 47%); mask: radial-gradient(circle at 74% 30%, rgba(0,0,0,0) 44%, #000 47%); }
@media (prefers-reduced-motion: reduce) { .sky-orb { transition: none; } }
/* sun: warm orange aura, moving smoothly every frame */
.sky-orb { transition: none; }
.sky-orb::before { inset: -230%; background: radial-gradient(circle, var(--orb-glow) 0%, var(--orb-haze, rgba(255,170,90,.3)) 28%, rgba(255,170,90,0) 64%); }
.sky-orb::after { box-shadow: 0 0 22px 8px var(--orb-glow), 0 0 60px 26px var(--orb-haze, rgba(255,170,90,.3)); }
body.moon-up .sky-orb::after { box-shadow: none; }

/* =====================================================================
   v15 - no frosted header at night (logo and menu fade to white instead),
         separate crescent moon, twinkling stars, smooth handover
   ===================================================================== */
body.sky-dark .site-header:not(.is-solid) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-header { --hn: var(--night, 0); }
.site-header.is-solid, .site-header.menu-open { --hn: 0; }
.site-header .brand { position: relative; }
.site-header .brand img { display: block; }
.site-header .brand .logo-color { opacity: calc(1 - var(--hn)); }
.site-header .brand .logo-white { position: absolute; inset: 0; opacity: var(--hn); }
.menu-btn { color: var(--ink); color: color-mix(in srgb, #ffffff calc(var(--hn) * 100%), var(--ink)); }

.sky-orb { opacity: var(--orb-op, 1); }
body.moon-up .sky-orb::after { -webkit-mask: none; mask: none; }
.sky-moon { position: absolute; z-index: 0; left: var(--moon-x, 30%); top: var(--moon-y, 120px); width: 30px; height: 30px; transform: translate(-50%, -50%); opacity: var(--moon-op, 0); pointer-events: none; }
.sky-moon::before { content: ""; position: absolute; inset: -150%; border-radius: 50%; background: radial-gradient(circle, rgba(214,226,252,.35) 0%, rgba(214,226,252,0) 60%); }
.sky-moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffffff 0%, #e8eefc 70%);
  -webkit-mask: radial-gradient(circle at 74% 30%, rgba(0,0,0,0) 44%, #000 47%); mask: radial-gradient(circle at 74% 30%, rgba(0,0,0,0) 44%, #000 47%); }
.sky-stars { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 240px; opacity: var(--night, 0); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,0) 100%); }
.sky-stars i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 4px 1px rgba(255,255,255,.7); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { 0% { opacity: .2; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sky-stars i { animation: none; opacity: .7; } }

/* 36-years badge above the hero line */
.years-badge--top { width: 96px; height: 96px; margin-bottom: 18px; display: grid; }
.years-badge--top .yb-num { font-size: 1.7rem; margin-top: -8px; }
.years-badge--top .yb-lbl { font-size: .56rem; }
/* logo alignment: the colour logo sets the size, the white one sits exactly on top of it */
.site-header .brand { display: block; align-self: center; line-height: 0; }
.site-header .brand .logo-color { position: relative; inset: auto; width: 100%; height: auto; }
.site-header .brand .logo-white { position: absolute; top: 0; left: 0; width: 100%; height: auto; }

/* =====================================================================
   v16 - two-row client marquee, office links, association logos,
         back-to-top, cookie notice, practice steps, form fixes
   ===================================================================== */
.marquee-rows { display: grid; gap: 22px; }
.marquee-rows .marquee { padding: 10px 0; }
.marquee-rows .marquee-track { gap: 64px; align-items: center; animation-duration: 70s; }
.marquee-rows .marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee-rows .marquee img { height: 104px; width: auto; filter: none; opacity: 1; }
.marquee-rows .marquee img:hover { transform: translateY(-6px) scale(1.12); }
@media (max-width: 700px) { .marquee-rows .marquee img { height: 76px; } .marquee-rows .marquee-track { gap: 40px; } }

.cities--links li { padding: 0; }
.cities--links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.cities--links a svg { width: 16px; height: 16px; color: var(--accent, #D9732F); flex: none; }
.cities--links a small { color: var(--ink-3); font-size: .8rem; }
.cities--links a:hover, .cities--links a:focus-visible { background: var(--blue-50); color: var(--blue-700); }
.offices .office:target { border-color: var(--accent, #D9732F); box-shadow: 0 0 0 3px rgba(217,115,47,.18); }
.offices .office { scroll-margin-top: calc(var(--header-h) + 24px); }

.assoc--logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.assoc--logos li { padding: 0; display: block; background: #fff; }
.assoc--logos li > a, .assoc--logos li > .assoc-logo { color: inherit; }
.assoc--logos li > a, .assoc--logos li:not(:has(a)) { display: flex; align-items: center; gap: 18px; padding: 22px 24px; height: 100%; }
.assoc--logos li > a { transition: background .2s; border-radius: inherit; }
.assoc--logos li > a:hover { background: var(--blue-50); }
.assoc-logo { flex: none; width: 112px; height: 72px; display: grid; place-items: center; }
.assoc-logo img { max-width: 112px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.assoc-mono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--blue-700); color: var(--blue-700); font: 800 1.2rem/1 var(--font-display); letter-spacing: .04em; }
.assoc-txt { display: flex; flex-direction: column; gap: 2px; }
.assoc-txt strong { font: 800 1.15rem/1.2 var(--font-display); color: var(--blue-700); }
.assoc-txt span { color: var(--ink-2); font-size: .95rem; line-height: 1.35; }
#associations .tm-note { margin-top: 18px; }

/* practice steps: five stages */
@media (min-width: 1100px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--5 li { padding: 30px 22px 34px; } }
@media (min-width: 700px) and (max-width: 1099px) { .steps--5 li:last-child { grid-column: 1 / -1; } }

/* buttons inside prose keep their own colours (thank-you page) */
.prose a.btn { text-decoration: none; }
.prose a.btn--primary, .prose a.btn--primary:hover { color: #fff; }
.form-thanks .btn-row { justify-content: center; margin-top: 18px; }
.form-thanks a.btn--primary { color: #fff; }

/* back to top */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid #d9dde3; background: rgba(255,255,255,.92); color: var(--blue-700); font: 600 .8rem/1 var(--font-body); letter-spacing: .04em;
  box-shadow: 0 10px 24px -14px rgba(6,26,64,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s, color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.to-top svg { width: 22px; height: 22px; }
.to-top .ring { position: relative; width: 24px; height: 24px; }
.to-top .ring svg { position: absolute; inset: 0; width: 24px; height: 24px; }
.to-top .ring circle { fill: none; stroke-width: 2; }
.to-top .ring .trk { stroke: rgba(4,70,156,.15); }
.to-top .ring .bar { stroke: var(--accent, #D9732F); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.to-top .ring .arr { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.cookie-open .to-top { bottom: 96px; }
@media (max-width: 560px) { .to-top .lbl { display: none; } .to-top { padding: 0 9px; } body.cookie-open .to-top { bottom: 196px; } }

/* cookie notice */
.cookie { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 61; max-width: 440px;
  display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 18px; border-radius: 10px; border: 1px solid #d9dde3; background: rgba(255,255,255,.97);
  box-shadow: 0 18px 40px -22px rgba(6,26,64,.5); font-size: .86rem; line-height: 1.45; color: var(--ink-2);
  opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s var(--ease); }
.cookie.show { opacity: 1; transform: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--blue-700); text-decoration: underline; text-decoration-color: var(--accent, #D9732F); text-underline-offset: 3px; }
.cookie button { flex: none; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--blue-700); background: var(--blue-700); color: #fff; font: 600 .82rem/1 var(--font-body); cursor: pointer; }
.cookie button:hover { background: var(--navy-800); }
@media (max-width: 560px) { .cookie { right: 18px; max-width: none; flex-direction: column; align-items: flex-start; } }
@media print { .to-top, .cookie { display: none !important; } }

/* blog archive */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 44px; }
.cat-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #d9dde3; border-radius: 999px; font-size: .88rem; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.cat-chips a small { color: var(--ink-3); font-size: .75rem; }
.cat-chips a:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-300); }
.posts--blog .post .media { background: var(--blue-50); border-radius: 6px; overflow: hidden; }
.posts--blog .post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.posts--blog .post:hover .media img { transform: scale(1.04); }
.posts--blog .post .media--empty { background: linear-gradient(135deg, var(--blue-50), #dce9fb); }
.posts--blog .post h3 { font-size: 1.2rem; }
.posts--blog .post:hover h3 { color: var(--blue-700); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; }
.pager a, .pager span, .pager i { display: inline-flex; align-items: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; justify-content: center; border-radius: 999px; font-style: normal; font-size: .92rem; }
.pager a { border: 1px solid #d9dde3; color: var(--ink-2); }
.pager a:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.pager span[aria-current] { background: var(--blue-700); color: #fff; font-weight: 600; }
.pager svg { width: 16px; height: 16px; }
.article h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 1.6em; }
.article h3 { font-size: 1.25rem; margin-top: 1.4em; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: 6px; height: auto; }
.article figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 8px; }
.article img { max-width: 100%; height: auto; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid #d9dde3; padding: 10px 12px; text-align: left; vertical-align: top; }
.article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent, #D9732F); color: var(--ink-2); }
.article iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 6px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.article-tags a { padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .85rem; text-decoration: none; }
.article-note { margin-top: 28px; padding: 16px 18px; border-radius: 8px; background: var(--paper-2); font-size: .9rem; color: var(--ink-3); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); font: 600 1rem/1.35 var(--font-display); }
.article-nav a small { font: 500 .75rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.article-nav a:hover span { color: var(--blue-700); }
.article-nav .next { text-align: right; grid-column: 2; }
.article-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.article-aside .f-h { margin: 0 0 6px; }
.article-aside .link-arrow { display: inline-flex; margin-bottom: 22px; }
.aside-cta { width: 100%; }
@media (max-width: 999px) { .article-aside { position: static; } }
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.src-list a { color: var(--blue-700); text-decoration: underline; text-decoration-color: var(--accent, #D9732F); text-underline-offset: 3px; font-size: .95rem; }
.article-aside a.btn--primary, .article-aside a.btn--primary:hover { color: #fff; }

/* =====================================================================
   v17 - menu on the right, glass anniversary badge, elegant careers form,
         insights sections
   ===================================================================== */
.site-header .header-cta { display: none !important; }
.site-header .wrap { display: flex; justify-content: space-between; }
.menu-btn { grid-column: auto; margin-left: auto; flex-direction: row-reverse; padding: 0 0 0 16px; }
@media (max-width: 900px) { .menu-btn { padding-left: 0; } }

/* glass badge: "Celebrating 36 years" */
.yb-glass-badge { width: 132px; height: 132px; }
.yb-glass-badge svg { animation-duration: 60s; }
.yb-glass-badge .yb-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 1 5; stroke-linecap: round; }
.yb-glass-badge .yb-around { font: 600 7px/1 var(--font-body); letter-spacing: .16em; fill: var(--blue-700); }
.yb-glass { position: absolute; inset: 17%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(145deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.28) 55%, rgba(211,229,255,.42) 100%);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -8px 16px rgba(4,70,156,.08), 0 12px 28px -12px rgba(6,26,64,.35); overflow: hidden; }
.yb-glass::before { content: ""; position: absolute; left: 10%; right: 10%; top: 4%; height: 42%; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0)); pointer-events: none; }
.yb-glass .yb-cap { position: relative; font: 600 .5rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.yb-glass .yb-num { position: relative; margin: 0; font: 800 2rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--blue-700); }
.yb-glass .yb-lbl { position: relative; top: auto; font: 700 .56rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.years-badge--top.yb-glass-badge { width: 128px; height: 128px; margin-bottom: 20px; }
.years-badge--top .yb-glass .yb-num { font-size: 1.9rem; margin: 0; }
.years-badge--top .yb-glass .yb-lbl { font-size: .54rem; }
/* the whole badge is a frosted disc, so the text reads on day and night skies */
.yb-glass-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(150deg, rgba(255,255,255,.62), rgba(238,244,253,.42));
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.75); box-shadow: 0 16px 34px -16px rgba(6,26,64,.45), inset 0 1px 1px rgba(255,255,255,.9); }
.yb-glass-badge svg { z-index: 1; }
.yb-glass { z-index: 2; background: linear-gradient(145deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.66) 55%, rgba(211,229,255,.7) 100%); }

/* insights: section navigation */
.ins-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #d9dde3; }
.ins-nav .wrap { display: flex; gap: 6px; align-items: center; height: 60px; overflow-x: auto; scrollbar-width: none; }
.ins-nav .wrap::-webkit-scrollbar { display: none; }
.ins-nav a { flex: none; padding: 9px 18px; border-radius: 999px; font: 600 .92rem/1 var(--font-body); color: var(--ink-2); transition: background .2s, color .2s; }
.ins-nav a:hover, .ins-nav a.on { background: var(--blue-50); color: var(--blue-700); }
.ins-nav a.sub { margin-left: auto; border: 1px solid var(--blue-700); color: var(--blue-700); }
.ins-nav a.sub:hover { background: var(--blue-700); color: #fff; }
.ins-sec { scroll-margin-top: 70px; }
.ev-archive { margin-top: 56px; max-width: 860px; }
.ev-list a span { display: flex; flex-direction: column; gap: 6px; }
.ev-list a small { font: 600 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }
.ev-archive .link-arrow { margin-top: 22px; display: inline-flex; }

/* careers: open, elegant application form */
.apply-form { padding: 6px 0 0; }
.form--elegant .two { gap: 8px 28px; }
.form--elegant .field { margin-bottom: 26px; }
.form--elegant .field label { font: 600 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.form--elegant .field input:not([type=file]), .form--elegant .field select, .form--elegant .field textarea, .form--elegant .cc-btn {
  background: var(--blue-50); border: 1px solid transparent; border-radius: 10px; min-height: 54px; padding-left: 16px; transition: background .2s, border-color .2s, box-shadow .2s; }
.form--elegant .field textarea { min-height: 140px; padding-top: 14px; }
.form--elegant .field input:not([type=file]):hover, .form--elegant .field select:hover, .form--elegant .field textarea:hover, .form--elegant .cc-btn:hover { border-color: #c9d6ea; }
.form--elegant .field input:focus, .form--elegant .field select:focus, .form--elegant .field textarea:focus { background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,121,206,.12); }
.form--elegant .field input[type=file] { width: 100%; padding: 16px; border: 1.5px dashed #b9c8de; border-radius: 12px; background: #fff; color: var(--ink-3); font-size: .88rem; cursor: pointer; transition: border-color .2s, background .2s; }
.form--elegant .field input[type=file]:hover { border-color: var(--blue-500); background: var(--blue-50); }
.form--elegant .field input[type=file]::file-selector-button { margin-right: 14px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--blue-700); color: #fff; font: 600 .82rem/1 var(--font-body); cursor: pointer; }
.form--elegant .check { margin: 6px 0 28px; color: var(--ink-2); font-size: .92rem; }
.form--elegant .btn--primary { min-height: 54px; padding: 0 30px; }
.assoc-logo { width: 120px; height: 90px; }
.assoc-logo img { max-width: 120px; max-height: 90px; }

/* =====================================================================
   v18 - anniversary medal, orange testimonial timer, client logo hover,
         home insights columns, back to top
   ===================================================================== */
.quote-bar i, .section--dark .quote-bar i { background: var(--accent, #D9732F); }
.quote-bar { background: rgba(217,115,47,.18); }

/* clients: greyscale until hovered, then full colour and a larger zoom */
.marquee-rows .marquee img { filter: grayscale(1); opacity: .7; transition: filter .35s, opacity .35s, transform .4s var(--ease); }
.marquee-rows .marquee img:hover { filter: none; opacity: 1; transform: translateY(-6px) scale(1.32); }
.marquee-rows .marquee { padding: 22px 0; }
.marquee-rows .marquee img { position: relative; }
.marquee-rows .marquee img:hover { z-index: 2; }

/* anniversary medal: frosted glass, light sweep and a warm glow */
.yb-medal { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.yb-medal .yb-halo { position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,115,47,.32) 0%, rgba(217,115,47,.12) 45%, rgba(217,115,47,0) 70%);
  animation: yb-glow 3.6s ease-in-out infinite; }
.yb-medal .yb-glass { position: absolute; inset: 6px; z-index: 1; border-radius: 50%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(150deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 50%, rgba(222,235,255,.75) 100%);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -10px 18px rgba(4,70,156,.08), 0 16px 34px -16px rgba(6,26,64,.5); }
.yb-medal .yb-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 210deg, rgba(217,115,47,.95), rgba(255,255,255,.9), rgba(62,121,206,.7), rgba(255,255,255,.9), rgba(217,115,47,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.yb-medal .yb-glass::before { display: none; }
.yb-medal .yb-shine { position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85), rgba(255,255,255,0)); animation: yb-sweep 5.5s ease-in-out infinite; }
.yb-medal .yb-cap { position: relative; font: 700 .56rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent, #D9732F); }
.yb-medal .yb-num { position: relative; margin: 2px 0 0; font: 800 2.35rem/.95 var(--font-display); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #3e79ce 0%, #04469c 55%, #0a2758 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yb-medal .yb-lbl { position: relative; top: auto; font: 700 .62rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--blue-700); }
.yb-medal .yb-since { position: relative; margin-top: 3px; font: 500 .52rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); }
.years-badge--top.yb-medal { width: 136px; height: 136px; margin-bottom: 22px; }
@keyframes yb-sweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes yb-glow { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .yb-medal .yb-shine, .yb-medal .yb-halo { animation: none; } }

/* home: news, blogs and events side by side */
.home-insights { display: grid; grid-template-columns: 1fr; gap: 48px 28px; }
@media (min-width: 900px) { .home-insights { grid-template-columns: repeat(3, 1fr); } }
.hi-col { display: flex; flex-direction: column; }
.hi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--blue-700); position: relative; }
.hi-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--accent, #D9732F); }
.hi-head h3 { margin: 0; font-size: 1.3rem; }
.hi-head .link-arrow { font-size: .85rem; }
.hi-col .post .media { border-radius: 6px; overflow: hidden; }
.hi-col .post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hi-col .post:hover .media img { transform: scale(1.04); }
.hi-col .post:hover h3 { color: var(--blue-700); }
.hi-col .post h3 { font-size: 1.2rem; }
.hi-more { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid #d9dde3; }
.hi-more a { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid #d9dde3; font: 600 .98rem/1.35 var(--font-display); color: var(--ink); }
.hi-more a:hover { color: var(--blue-700); }
.hi-more small { font: 600 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }

/* back to top: clearer floating button and a footer link */
.to-top { height: 46px; padding: 0 16px 0 10px; font-size: .84rem; border-color: rgba(4,70,156,.35); }
.to-top .lbl { display: inline !important; }
.f-top { color: var(--accent, #D9732F) !important; font-weight: 600; }

/* =====================================================================
   v19 - journey timeline, memberships in the footer
   ===================================================================== */
.journey-intro { max-width: 880px; margin-bottom: 56px; }
.journey-story { font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.6 var(--font-display); color: var(--ink-2); margin-top: 18px; padding-left: 22px; border-left: 3px solid var(--accent, #D9732F); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 36px 36px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: linear-gradient(180deg, var(--blue-500), rgba(62,121,206,.15)); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-700); box-shadow: 0 0 0 4px rgba(4,70,156,.1); }
.timeline li:first-child::after, .timeline li:last-child::after { border-color: var(--accent, #D9732F); box-shadow: 0 0 0 4px rgba(217,115,47,.15); }
.tl-when { display: block; font: 700 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #D9732F); margin-bottom: 10px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .timeline li { padding: 40px 0 0; }
  .timeline li::before { left: 7px; right: -24px; top: 10px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--blue-500), rgba(62,121,206,.25)); }
  .timeline li::after { top: 3px; }
}

/* footer memberships: a scrolling column on the left */
.f-cols > div.f-members { grid-column: 1; padding-right: 28px; }
.fm-box { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(4,70,156,.25) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
.fm-box::-webkit-scrollbar { width: 4px; height: 4px; }
.fm-box::-webkit-scrollbar-thumb { background: rgba(4,70,156,.25); border-radius: 4px; }
.site-footer .fm-list { display: flex; flex-direction: column; gap: 14px; padding: 12px 0 18px; }
.site-footer .fm-list li { margin: 0; }
.fm-list a, .fm-list li > span, .fm-list li > img { display: grid; place-items: center; height: 84px; padding: 6px; border: 0 !important; background: transparent; transition: transform .3s var(--ease); }
.fm-list img { max-width: 100%; max-height: 72px; width: auto; height: auto; mix-blend-mode: multiply; }
.fm-list span { font: 800 1.1rem/1 var(--font-display); color: var(--blue-700); }
.fm-list a:hover { transform: scale(1.08); }
.assoc--logos li, .assoc--logos li > a { background: transparent; }
.assoc-logo img { mix-blend-mode: multiply; }
@media (max-width: 999px) {
  .f-cols > div.f-members { grid-column: 1 / -1; padding-right: 0; }
  .fm-box { max-height: none; overflow-x: auto; overflow-y: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
  .site-footer .fm-list { flex-direction: row; gap: 22px; padding: 0 14px; width: max-content; }
  .fm-list a, .fm-list li > span { width: 110px; }
}

/* anniversary medal beside the hero buttons, clear of the sun and moon */
.years-badge--actions.yb-medal { width: 112px; height: 112px; margin: 0 0 0 18px; }
.years-badge--actions .yb-num { font-size: 2rem; }
.years-badge--actions .yb-cap { font-size: .5rem; }
.years-badge--actions .yb-lbl { font-size: .56rem; }
.hero-actions { gap: 14px; }
@media (max-width: 600px) { .years-badge--actions.yb-medal { margin: 8px 0 0; } }
.quote figcaption .q-ini { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--blue-700); font: 700 1rem/1 var(--font-display); border: 1px solid #d9dde3; }

/* =====================================================================
   v20 - smaller practice cards, "more practices" card, orange arrows,
         team profiles, home insights layout
   ===================================================================== */
.card { padding: 24px 24px 22px; min-height: 0; }
.card .ico { width: 36px; height: 36px; margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: .9rem; line-height: 1.55; margin-bottom: 16px; }
.card .more { font-size: .86rem; }
.card--more { background: linear-gradient(150deg, var(--blue-50), #fff 70%); border-style: dashed !important; border-color: rgba(4,70,156,.35) !important; }
.card--more .more-num { font: 800 2rem/1 var(--font-display); color: var(--accent, #D9732F); margin-bottom: 14px; letter-spacing: -0.03em; }
.card--more h3 { color: var(--blue-700); }

/* arrows in orange */
.link-arrow svg, .card .more svg, .post-list svg, .q-title svg, .btn svg, .fp-btn svg, .f-bigbtn .long, .hi-head .link-arrow svg, .article-nav svg, .pager svg, .sm-contact .btn svg { color: var(--accent, #D9732F); stroke: var(--accent, #D9732F); }

/* team profiles */
.team-grid--founder { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); }
.person .pr { color: var(--ink-3); font-size: .86rem; margin-top: 6px; }
.person .bio { margin-top: 12px; border-top: 1px solid #d9dde3; padding-top: 10px; }
.person .bio summary { cursor: pointer; list-style: none; font: 600 .84rem/1.2 var(--font-body); color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.person .bio summary::-webkit-details-marker { display: none; }
.person .bio summary::after { content: "+"; color: var(--accent, #D9732F); font-weight: 700; }
.person .bio[open] summary::after { content: "\2212"; }
.person .bio div { margin-top: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.person .bio p { margin: 0 0 8px; }
.person .lk { gap: 10px; margin-top: 14px; }
.person .lk a.ic { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #d9dde3; border-radius: 999px; font-size: .8rem; color: var(--blue-700); border-bottom-width: 1px; }
.person .lk a.ic svg { width: 15px; height: 15px; }
.person .lk a.ic:hover { background: var(--blue-50); border-color: var(--blue-300); }

/* home: news and events side by side, blogs in a scrolling rail below */
@media (min-width: 900px) { .home-insights--two { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.hi-blogs { margin-top: 64px; }
.hi-ctrl { display: flex; align-items: center; gap: 10px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d9dde3; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--accent, #D9732F); transition: background .2s, border-color .2s; }
.rail-btn svg { width: 18px; height: 18px; stroke: var(--accent, #D9732F); }
.rail-btn:hover { background: var(--blue-50); border-color: var(--blue-300); }
.hi-ctrl .link-arrow { margin-left: 8px; font-size: .85rem; }
.blog-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(4,70,156,.3) transparent; }
.blog-rail::-webkit-scrollbar { height: 6px; }
.blog-rail::-webkit-scrollbar-thumb { background: rgba(4,70,156,.25); border-radius: 6px; }
.blog-rail .post { scroll-snap-align: start; }
.blog-rail .post .media { border-radius: 6px; overflow: hidden; }
.blog-rail .post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-rail .post:hover .media img { transform: scale(1.04); }
.blog-rail .post h3 { font-size: 1.05rem; }
.blog-rail .post p { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) { .blog-rail { grid-auto-columns: 78%; } .hi-ctrl .rail-btn { display: none; } }

/* quick links under the hero: smaller boxes, 8 practices and a "more" box */
.quick-grid a { padding: 18px 20px 16px; gap: 6px; }
.quick-grid .q-label { font-size: .7rem; }
.quick-grid .q-title { font-size: 1rem; }
.quick-grid svg { width: 17px; height: 17px; color: var(--accent, #D9732F); stroke: var(--accent, #D9732F); }
.quick-grid .q-more { background: var(--blue-50); }
.quick-grid .q-more .q-label { color: var(--accent, #D9732F); }
.quick-grid .q-more .q-title { color: var(--blue-700); }
.quick-grid .q-more:hover { background: #dfeafb; }
@media (min-width: 700px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(5, 1fr); } .quick-grid .q-more { grid-column: span 2; } }

/* =====================================================================
   v21 - bigger arrows, larger testimonial photos, balanced client logos,
         insight rails, memberships band, promo card as a button
   ===================================================================== */
.link-arrow svg, .card .more svg, .post-list svg, .hi-head .link-arrow svg, .article-nav svg { width: 21px !important; height: 21px !important; stroke-width: 2; }
.quick-grid svg { width: 22px !important; height: 22px !important; }
.btn svg { width: 20px; height: 20px; }
.rail-btn svg { width: 21px; height: 21px; }

/* client voices */
.quote figcaption { gap: 20px; }
.quote figcaption img, .quote figcaption .q-ini { width: 84px; height: 84px; border: 3px solid #fff; box-shadow: 0 10px 24px -12px rgba(6,26,64,.45); }
.quote figcaption .q-ini { font-size: 1.4rem; }
.quote figcaption strong { font-size: 1.08rem; margin-bottom: 4px; }
.quote figcaption .q-role, .quote figcaption .q-org, .section--dark .quote figcaption .q-role, .section--dark .quote figcaption .q-org { display: block; color: #1f6fd6; font-size: .95rem; line-height: 1.4; }
.quote figcaption .q-org { font-weight: 600; color: #2a7de1; }

/* client logos: fixed frames, logos sized by shape (see bsLogos) */
.logos li { padding: 16px; }
.logos img { max-height: none; object-fit: contain; }
.marquee-rows .marquee img { object-fit: contain; }

/* home insights: three scrolling rails */
.hi-rail + .hi-rail { margin-top: 56px; }
.hi-rail .blog-rail { grid-auto-columns: minmax(250px, calc((100% - 72px) / 4)); }
.hi-rail .post { background: #fff; border: 1px solid #d9dde3; border-radius: 12px; padding: 12px 12px 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.hi-rail .post:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -26px rgba(6,26,64,.45); border-color: rgba(62,121,206,.4); }
.hi-rail .post .media { border-radius: 8px; margin-bottom: 16px; position: relative; }
.hi-rail .post .tag, .hi-rail .post h3, .hi-rail .post p { padding: 0 6px; }
.hi-rail .post h3 { font-size: 1.02rem; line-height: 1.35; }
.ev-date { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--blue-700); font: 600 .62rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px -10px rgba(6,26,64,.5); }
.ev-date b { font: 800 1.35rem/1 var(--font-display); color: var(--accent, #D9732F); letter-spacing: -0.02em; }
.blog-rail--events .post .tag { color: var(--accent, #D9732F); }
.hi-rail .hi-head h3 { display: flex; align-items: center; gap: 10px; }
.hi-rail .hi-head h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent, #D9732F); }

/* memberships band above the enquiry section */
.members-band .section-head { margin-bottom: 24px; }
.mb-scroll { overflow-x: auto; scrollbar-width: none; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.mb-scroll::-webkit-scrollbar { display: none; }
.mb-scroll.is-static { -webkit-mask-image: none; mask-image: none; }
.mb-list { list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; gap: 22px; width: max-content; }
.mb-scroll.is-static .mb-list { width: auto; justify-content: center; flex-wrap: wrap; }
.mb-list li { flex: none; }
.mb-list a, .mb-item { display: flex; align-items: center; gap: 16px; width: 300px; padding: 18px 22px; border: 1px solid #d9dde3; border-radius: 12px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.mb-list a:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -24px rgba(6,26,64,.45); border-color: rgba(62,121,206,.4); }
.mb-logo { flex: none; width: 96px; height: 70px; display: grid; place-items: center; }
.mb-logo img { max-width: 96px; max-height: 70px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.mb-abbr { font: 800 1.3rem/1 var(--font-display); color: var(--blue-700); }
.mb-name { font: 600 .98rem/1.35 var(--font-display); color: var(--ink); }

/* "Speak to our expert team" card is the button */
.fp-btn { display: none !important; }
.fp-card--link { color: inherit; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; grid-column: 4 / span 3; }
.fp-card--link:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(13,42,92,.6); border-color: rgba(62,121,206,.45); }
.fp-card--link:focus-visible { outline: 3px solid var(--accent, #D9732F); outline-offset: 4px; }
.fp-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 36px; }
.fp-cta .bar { margin-top: 0; }
.fp-go { display: inline-flex; align-items: center; gap: 12px; font: 700 1rem/1 var(--font-display); color: var(--blue-700); }
.fp-arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-700); transition: background .3s, transform .35s var(--ease); }
.fp-arrow svg { width: 20px; height: 20px; color: #fff; stroke: #fff; }
.fp-card--link:hover .fp-arrow { background: var(--accent, #D9732F); transform: translateX(4px); }
@media (max-width: 999px) { .fp-card--link { grid-column: 1; } }

/* ==========================================================================
   v22 - even client logos, whole-card rails, blue memberships band
   ========================================================================== */
/* client logos: one fixed frame each (see bsLogos), smooth endless scroll */
.marquee-rows .marquee-track { gap: 48px; will-change: transform; animation-duration: 75s; }
.marquee-rows .marquee--rev .marquee-track { animation-duration: 85s; }
.marquee-rows .marquee img { flex: none; width: 150px; height: 70px; object-fit: contain; box-sizing: border-box; }
.marquee-rows .marquee img:hover { transform: translateY(-4px) scale(1.18); }
@media (max-width: 700px) { .marquee-rows .marquee-track { gap: 32px; } }

/* insight rails: always whole cards, moved a page at a time */
.blog-rail, .hi-rail .blog-rail { --cols: 4; grid-auto-columns: calc((100% - (var(--cols) - 1) * 24px) / var(--cols)); padding: 8px 0 24px; scroll-padding: 0; }
.blog-rail .post { scroll-snap-align: none; }
.blog-rail .post:nth-child(4n+1) { scroll-snap-align: start; }
@media (max-width: 1099px) { .blog-rail, .hi-rail .blog-rail { --cols: 3; } .blog-rail .post:nth-child(4n+1) { scroll-snap-align: none; } .blog-rail .post:nth-child(3n+1) { scroll-snap-align: start; } }
@media (max-width: 799px) { .blog-rail, .hi-rail .blog-rail { --cols: 2; } .blog-rail .post:nth-child(3n+1) { scroll-snap-align: none; } .blog-rail .post:nth-child(2n+1) { scroll-snap-align: start; } }
@media (max-width: 559px) { .blog-rail, .hi-rail .blog-rail { --cols: 1; } .blog-rail .post { scroll-snap-align: start; } .hi-ctrl .rail-btn { display: grid; } }

/* memberships band on a soft blue panel */
.members-band { padding: 64px 0 56px; background: linear-gradient(180deg, #e9f0fa 0%, #dde8f6 100%); border-top: 1px solid #d3e0f1; border-bottom: 1px solid #d3e0f1; }
.members-band .mb-scroll { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.members-band .mb-scroll.is-static { -webkit-mask-image: none; mask-image: none; }
.mb-list a, .mb-item { border-color: rgba(62,121,206,.18); box-shadow: 0 14px 30px -24px rgba(6,26,64,.4); }

/* expert team card: the arrow alone signals the link */
.fp-cta { align-items: center; }

/* ==========================================================================
   v23 - insight cards: summary panel slides up on hover
   ========================================================================== */
.post.has-back { position: relative; overflow: hidden; isolation: isolate; }
.post-back { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px;
  background: linear-gradient(165deg, #f3f7fd 0%, #e3edf9 100%); border-radius: inherit; border-top: 3px solid var(--accent, #D9732F);
  transform: translateY(101%); opacity: 0; pointer-events: none;
  transition: transform .55s cubic-bezier(.22,.7,.2,1), opacity .45s ease; }
.pb-tag { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #D9732F); }
.pb-title { font: 700 1.08rem/1.35 var(--font-display); color: var(--blue-700); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-text { font-size: .92rem; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.pb-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--font-display); color: var(--blue-700); }
.pb-go svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--accent, #D9732F); stroke: #fff; fill: none; stroke-width: 2; transition: transform .35s var(--ease); }
.post.has-back > :not(.post-back) { transition: opacity .45s ease; }
@media (hover: hover) {
  .post.has-back:hover .post-back, .post.has-back:focus-visible .post-back { transform: translateY(0); opacity: 1; }
  .post.has-back:hover > :not(.post-back), .post.has-back:focus-visible > :not(.post-back) { opacity: 0; }
  .post.has-back:hover .pb-go svg { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .post-back { transition: opacity .2s; transform: none; } }
.posts .post.has-back { border-radius: 8px; }

/* v24 - card fronts show picture, label and title; summary lives on the hover panel */
@media (hover: hover) { .post.has-back > p { display: none; } .post.has-back { min-height: 330px; } }
/* client voices: quote a few points smaller */
.quote blockquote { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.42; max-width: 40ch; }

/* ==========================================================================
   v25 - slim menu label, tagline under logo, ten-box quick strip,
         strategic partner note, footer offices and contact
   ========================================================================== */
.menu-btn { font-weight: 300; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.menu-btn .bars i { height: 1.5px; }

.site-header .brand { overflow: visible; }
.brand-tag { position: absolute; left: 2px; top: calc(100% + 3px); display: block; font: 400 .7rem/1.2 var(--font-body); letter-spacing: .06em; white-space: nowrap;
  color: var(--blue-700); color: color-mix(in srgb, #ffffff calc(var(--hn, 0) * 100%), #0a3d8f); opacity: .85; }
@media (max-width: 999px) { .brand-tag { font-size: .62rem; letter-spacing: .04em; } }

@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(5, 1fr); } }

.partner-note { margin-top: 36px; padding: 22px 24px 22px 26px; border-left: 3px solid var(--accent, #D9732F); background: linear-gradient(135deg, var(--blue-50), #f7faff); border-radius: 0 12px 12px 0; max-width: 30rem; }
.partner-note .pn-k { margin: 0 0 8px; font: 600 .74rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent, #D9732F); }
.partner-note .pn-t { margin: 0; font: 600 1.12rem/1.5 var(--font-display); color: var(--blue-700); letter-spacing: -0.01em; }

.f-cols > .f-offices { grid-column: span 2; }
.f-off2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-sub { margin: 0 0 12px; font: 600 .78rem/1.3 var(--font-body); color: var(--accent, #D9732F); letter-spacing: .08em; text-transform: uppercase; }
.f-contact li { color: #4a5b78; font-size: .92rem; }
.f-contact a { word-break: break-word; }
@media (max-width: 999px) { .f-cols > .f-offices { grid-column: 1 / -1; } }

/* ==========================================================================
   v26 - symmetry pass: header tagline, practice boxes, who we are,
         founder with photo, even footer, centred closing card
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* tagline exactly as wide as the logo */
svg.brand-tag { position: absolute; left: 0; top: calc(100% + 4px); width: 100%; height: auto; overflow: visible; }
svg.brand-tag text { font: 400 9.6px var(--font-body); fill: currentColor; }
svg.brand-tag { color: #0a3d8f; color: color-mix(in srgb, #ffffff calc(var(--hn, 0) * 100%), #0a3d8f); opacity: .85; }

/* practice boxes: two even rows of five */
@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(5, 1fr); } .quick-grid .q-more { grid-column: auto; } }
@media (min-width: 700px) and (max-width: 1099px) { .quick-grid .q-more { grid-column: auto; } }
.quick-grid a { min-height: 104px; justify-content: space-between; }
.quick-grid a:nth-child(5n) { border-right: 0; }
.quick-grid a:nth-last-child(-n + 5) { border-bottom: 0; }
@media (max-width: 1099px) { .quick-grid a:nth-child(5n) { border-right: 1px solid #d9dde3; } .quick-grid a:nth-last-child(-n + 5) { border-bottom: 1px solid #d9dde3; } }

/* who we are: the partner line sits centred under both columns */
.partner-note { margin: 64px auto 0; max-width: 820px; padding: 36px 24px 0; border: 0; border-top: 1px solid #d9dde3; border-radius: 0; background: none; text-align: center; }
.partner-note .pn-k { display: inline-flex; align-items: center; gap: 12px; }
.partner-note .pn-k::before, .partner-note .pn-k::after { content: ""; width: 28px; height: 1px; background: var(--accent, #D9732F); }
.partner-note .pn-t { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.45 var(--font-display); color: var(--blue-700); text-wrap: balance; }

/* founder: portrait left, text right, no box */
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-photo { margin: 0; position: relative; max-width: 400px; justify-self: center; width: 100%; }
.founder-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(217,115,47,.55); border-radius: 14px; z-index: 0; }
.founder-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 14px; box-shadow: 0 40px 70px -40px rgba(13,42,92,.55); }
.founder-text h2 { margin-bottom: 28px; }
.founder-name { font-size: 1.8rem; margin: 0 0 4px; }
.founder-role { color: var(--blue-500); font-weight: 500; margin: 0 0 22px; }
.founder-text .lead { max-width: none; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 340px; } }

/* footer: five even columns on the grid */
.f-cols > div:nth-child(n) { grid-column: auto; }
.f-cols > div:nth-child(1) { grid-column: 2; }
.f-contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; font-size: .92rem; }
.f-contact small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }
.f-contact a { align-self: flex-start; }
@media (max-width: 999px) { .f-cols > div:nth-child(1) { grid-column: auto; } }

/* closing section: dotted pulse behind a centred card */
.f-promo { position: relative; min-height: 0; margin-top: 80px; padding: 72px 0; background: linear-gradient(180deg, #f4f8fd, #e6eef9); border-top: 1px solid #d9e3f1; overflow: hidden; }
.promo-pulse { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fp-center { position: relative; z-index: 1; display: flex; justify-content: center; }
.fp-center .fp-card { grid-column: auto; margin: 0; width: min(560px, 100%); border-radius: 6px; background: #fff; padding: 44px 44px 36px; }
@media (max-width: 560px) { .f-promo { padding: 48px 0; } .fp-center .fp-card { padding: 30px 24px 26px; } }

/* ==========================================================================
   v27 - tagline inside the header, smaller founder photo, wave closing
         section without the white gap, service cards on practice pages
   ========================================================================== */
/* logo and tagline stacked, both inside the header bar */
.site-header .brand { width: 178px; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.site-header .brand .logo-color { position: absolute; top: 0; left: 0; }
.site-header .brand .logo-white { position: relative; inset: auto; }
svg.brand-tag { position: static; display: block; width: 100%; height: auto; }
@media (max-width: 999px) { .site-header .brand { width: 160px; } }

/* founder photo: modest portrait */
.founder-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.founder-photo { max-width: 300px; }
.founder-photo::before { inset: 12px -12px -12px 12px; }
@media (max-width: 860px) { .founder-photo { max-width: 240px; justify-self: start; } }

/* closing section sits directly under the previous band */
.f-promo { margin-top: 0; border-top: 0; background: linear-gradient(180deg, #e6eef9 0%, #eef3fa 100%); padding: 88px 0; }
.members-band + .f-promo, .members-band ~ .f-promo { margin-top: 0; }

/* practice pages: service cards with a heading and paragraph */
.svc-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.svc-grid > li { flex: 0 1 calc((100% - 48px) / 3); display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 28px; background: #fff; border: 1px solid #d9dde3; border-radius: 10px; position: relative; transition: border-color .3s, box-shadow .3s; }
.svc-grid--2 > li { flex-basis: calc((100% - 24px) / 2); }
.svc-grid > li::before { content: ""; width: 32px; height: 3px; background: var(--accent, #D9732F); border-radius: 2px; }
.svc-grid > li:hover { border-color: rgba(62,121,206,.4); box-shadow: 0 24px 40px -30px rgba(6,26,64,.4); }
.svc-grid h3 { margin: 0; font: 700 1.12rem/1.35 var(--font-display); color: var(--blue-700); letter-spacing: -0.01em; text-wrap: balance; }
.svc-grid p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.65; }
@media (max-width: 999px) { .svc-grid > li, .svc-grid--2 > li { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .svc-grid > li, .svc-grid--2 > li { flex-basis: 100%; padding: 24px 20px; } }

/* v28 - celebrating badge sits a little further right; fax line on office cards */
@media (min-width: 601px) { .years-badge--actions.yb-medal { margin-left: 56px; } }
.office .fax { color: var(--ink-2); }

/* v29 - animated globe on inner pages; lighter, smaller closing card on white */
.page-hero canvas.page-globe { aspect-ratio: 1 / 1; height: auto; }
.f-promo { background: #fff; padding: 72px 0; }
.fp-center .fp-card { width: min(440px, 100%); padding: 32px 34px 28px; box-shadow: 0 26px 50px -34px rgba(13,42,92,.45); }
.fp-center .fp-card h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.025em; }
.fp-center .fp-cta { margin-top: 22px; }
.fp-center .fp-arrow { width: 40px; height: 40px; }
.fp-center .fp-arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   v30 - launch countdown (shown until LAUNCH_AT, see netlify/functions/api-launch.mjs)
   ========================================================================== */
html.bs-gate, html.bs-gate body { overflow: hidden; height: 100%; }
html.bs-gate body > *:not(.launch) { display: none !important; }
.launch { position: fixed; inset: 0; z-index: 1000; visibility: visible; display: grid; align-items: center; overflow: auto;
  background: radial-gradient(120% 90% at 80% 20%, #ffffff 0%, #eaf2fd 45%, #d6e6fb 100%); color: var(--ink); padding: 48px max(24px, calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.launch-globe { position: absolute; right: max(-120px, calc((100vw - 1440px) / 2 - 40px)); top: 50%; transform: translateY(-50%); width: min(680px, 60vw); aspect-ratio: 1 / 1; height: auto; pointer-events: none; opacity: .95; }
.launch-inner { position: relative; z-index: 1; max-width: 640px; display: grid; gap: 22px; }
.launch-logo { width: 230px; height: auto; margin-bottom: 18px; }
.launch-eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 .78rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); }
.launch-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent, #D9732F); }
.launch h1 { margin: 0; font: 800 clamp(2.2rem, 5vw, 3.8rem)/1.05 var(--font-display); letter-spacing: -0.035em; color: var(--navy-900, #0d2a5c); text-wrap: balance; }
.launch-lead { margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
.launch-lead strong { color: var(--blue-700); font-weight: 600; }
.launch-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 520px; margin-top: 8px; }
.launch-clock div { display: grid; justify-items: center; gap: 6px; padding: 18px 8px 14px; background: rgba(255,255,255,.82); border: 1px solid rgba(62,121,206,.2); border-radius: 14px; box-shadow: 0 20px 40px -30px rgba(6,26,64,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.launch-clock b { font: 800 clamp(1.8rem, 4.4vw, 2.8rem)/1 var(--font-display); color: var(--blue-700); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.launch-clock span { font: 600 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #D9732F); }
.launch.is-live .launch-clock b { color: var(--accent, #D9732F); }
.launch-contact { margin: 6px 0 0; color: var(--ink-3); font-size: .95rem; }
.launch-contact a { color: var(--blue-700); border-bottom: 1px solid rgba(4,70,156,.25); }
.launch-preview { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1001; max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 999px; background: var(--blue-700); color: #fff; font: 500 .85rem/1.4 var(--font-body); box-shadow: 0 16px 30px -18px rgba(6,26,64,.7); text-align: center; }
@media (max-width: 760px) {
  .launch { align-items: start; padding-top: 32px; }
  .launch-globe { position: relative; right: auto; top: auto; transform: none; width: min(300px, 80vw); margin: 0 auto -20px; display: block; }
  .launch-logo { width: 190px; }
  .launch-clock { gap: 8px; }
  .launch-clock div { padding: 14px 4px 12px; }
}
