/* ==========================================================================
   Legal Metric — Main Stylesheet v2
   Palette: White + Light Blue. Dark navy footer only.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─── */
:root {
  --navy:   #003366;
  --brand:  #009fe3;
  --navy2:  #002550;
  --navy3:  #001a38;
  --ice:    #d5e5f7;
  --ice2:   #e8f1fb;
  --ice3:   #f0f6fd;
  --cream:  #f4f7fb;
  --cream2: #e4edf8;
  --white:  #ffffff;
  --ink:    #1a1a2e;
  --mid:    #4a5568;
  --light:  #8a9bb0;
  --border: rgba(0,51,102,0.10);
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 72px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.up { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .18s; } .d3 { transition-delay: .28s; }
.d4 { transition-delay: .38s; } .d5 { transition-delay: .48s; } .d6 { transition-delay: .58s; }

/* ─── ATOMS ─── */
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--navy); flex-shrink: 0; }
.eyebrow.white { color: var(--navy); }
.eyebrow.white::before { background: var(--navy); }

.display { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.5px; line-height: 1.04; }
.display em { font-style: italic; color: var(--brand); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 18px; }
.link-arrow .bar { display: inline-block; width: 24px; height: 1px; background: var(--navy); position: relative; flex-shrink: 0; }
.link-arrow .bar::after { content: ''; position: absolute; right: -1px; top: -3.5px; border: 3.5px solid transparent; border-left: 5px solid var(--navy); border-right: none; }
.link-arrow.wht { color: var(--navy); }
.link-arrow.wht .bar { background: var(--navy); }
.link-arrow.wht .bar::after { border-left-color: var(--navy); }

.btn-solid { display: inline-flex; align-items: center; gap: 14px; padding: 16px 36px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; background: var(--navy); color: var(--white); transition: background .25s, transform .25s var(--ease); }
.btn-solid:hover { background: var(--navy2); transform: translateY(-2px); }
.btn-solid.ice { background: var(--navy); color: var(--white); }
.btn-solid.ice:hover { background: var(--navy2); }

.btn-ghost { display: inline-flex; align-items: center; gap: 14px; padding: 15px 36px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(0,51,102,.3); color: var(--navy); transition: background .25s, border-color .25s; }
.btn-ghost:hover { background: var(--ice); border-color: var(--navy); }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); display: flex; align-items: center; padding: 0 56px;
  transition: background .45s var(--ease), box-shadow .45s;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav.dark { background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }
.site-nav.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 2px 24px rgba(0,51,102,.08); }

.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; margin-right: 52px; }

/* Custom logo image support */
.nav-logo .custom-logo-link { display: flex; align-items: center; }
.nav-logo .custom-logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; }

/* Fallback hex wordmark (shown when no custom logo set) */
.logo-hex { width: 34px; height: 34px; background: var(--navy); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); display: flex; align-items: center; justify-content: center; }
.logo-hex span { font-family: var(--font-serif); font-weight: 800; font-size: 15px; color: var(--white); }
.logo-wm { display: flex; flex-direction: column; gap: 1px; }
.logo-wm .lw { font-family: var(--font-serif); font-size: 17px; font-weight: 700; line-height: 1; color: var(--navy); }
.logo-wm .ls { font-size: 7.5px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; opacity: .65; color: var(--navy); }
.site-nav.dark .logo-wm .lw,
.site-nav.dark .logo-wm .ls { color: var(--navy); }
.site-nav.scrolled .logo-wm .lw,
.site-nav.scrolled .logo-wm .ls { color: var(--navy); }

.nav-links { display: flex; align-items: center; list-style: none; }
.nav-item { position: relative; height: var(--nav-h); display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; gap: 5px; padding: 0 20px; font-size: 13px; font-weight: 400; color: var(--navy); height: 100%; transition: opacity .2s; }
.site-nav.dark .nav-item > a { color: var(--navy); }
.site-nav.scrolled .nav-item > a { color: var(--navy); }
.nav-item > a:hover { opacity: .6; }

.nav-chev { width: 9px; height: 9px; opacity: .5; transition: transform .2s; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav-item:hover .nav-chev { transform: rotate(180deg); }

.mega-drop {
  display: none; position: absolute; top: var(--nav-h); left: 0;
  background: var(--white); border-top: 2px solid var(--navy);
  box-shadow: 0 32px 64px rgba(0,51,102,.12);
  padding: 44px 48px; min-width: 680px;
  grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.nav-item:hover .mega-drop { display: grid; }
.drop-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.drop-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.drop-col ul li a { font-size: 13px; color: var(--mid); transition: color .2s, padding-left .2s; display: block; }
.drop-col ul li a:hover { color: var(--navy); padding-left: 6px; }

.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-find { font-size: 12px; font-weight: 500; letter-spacing: .5px; padding: 8px 16px; border: 1px solid var(--navy); color: var(--navy); transition: background .2s; }
.nav-find:hover { background: var(--ice); }
.site-nav.dark .nav-find { color: var(--navy); }
.site-nav.scrolled .nav-find { color: var(--navy); }
.site-nav.scrolled .nav-find:hover { background: var(--ice); }
.nav-cta { font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 10px 24px; background: var(--brand); color: var(--white); transition: background .2s; }
.nav-cta:hover { background: #007bb5; }
.site-nav.dark .nav-cta { background: var(--brand); color: var(--white); }
.site-nav.dark .nav-cta:hover { background: #007bb5; }
.site-nav.scrolled .nav-cta:hover { background: #007bb5; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: background .3s; }

.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 850; overflow-y: auto;
  padding: 40px 32px; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; font-size: 18px; font-weight: 400; color: var(--navy); padding: 18px 0; border-bottom: 1px solid var(--border); transition: color .2s; }
.mobile-nav a:hover { color: var(--navy2); }
.mobile-nav .mob-sub { padding-left: 20px; font-size: 14px; color: var(--mid) !important; }
.mobile-nav .mob-cta { margin-top: 32px; background: var(--navy); color: var(--white) !important; text-align: center; padding: 16px !important; font-weight: 600 !important; border-bottom: none !important; }

/* ─── BREADCRUMB ─── */
.breadcrumb-bar { background: var(--ice2); border-bottom: 1px solid var(--border); padding: 0 96px; height: 48px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--mid); }
.breadcrumb-bar a { color: var(--navy); transition: opacity .2s; }
.breadcrumb-bar a:hover { opacity: .6; }
.breadcrumb-bar .sep { opacity: .4; font-size: 10px; }
.breadcrumb-bar .current { color: var(--navy); font-weight: 500; }

/* ─── CTA BAND ─── */
.cta-band { background: var(--ice); padding: 120px 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; border-top: 1px solid var(--cream2); }
.cta-band .display { font-size: clamp(38px, 4.5vw, 64px); color: var(--navy); }
.cta-band .display em { color: var(--brand); font-style: italic; }
.cta-band .cta-body p { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--mid); margin-bottom: 48px; }
.cta-actions { display: flex; align-items: center; gap: 16px; }

/* ─── FOOTER — brand blue #009fe3 ─── */
.site-footer { background: #009fe3; padding: 96px 0 48px; }
.footer-wrap { padding: 0 96px; }
.footer-top { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1.1fr; gap: 56px; padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-brand-desc { font-size: 14px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.8); margin: 20px 0 28px; max-width: 260px; }
.footer-langs { display: flex; gap: 8px; }
.footer-lang { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); padding: 4px 9px; border: 1px solid rgba(255,255,255,.3); transition: all .2s; cursor: pointer; }
.footer-lang:hover, .footer-lang.active { color: var(--white); border-color: var(--white); }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--white); margin-bottom: 28px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.75); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { padding-top: 36px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.6); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* Footer logo */
.footer-logo-link { display: inline-block; margin-bottom: 4px; line-height: 0; }
.footer-logo-img { height: 90px; width: auto; max-width: 320px; object-fit: contain; display: block; }

/* ─── HOME: HERO ─── */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--ice2); }
.hero-geo { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,51,102,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,51,102,.04) 1px,transparent 1px); background-size: 88px 88px; }
.hero-vline { position: absolute; right: 30%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom,transparent,rgba(0,51,102,.1) 20%,rgba(0,51,102,.1) 80%,transparent); }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(213,229,247,.6) 0%, rgba(213,229,247,.2) 70%, transparent 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 96px 120px; max-width: 900px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; opacity: 0; animation: slideUp .9s var(--ease) forwards .15s; }
.hero-eyebrow-line { width: 24px; height: 1px; background: var(--navy); }
.hero-eyebrow span { font-size: 10px; font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase; color: var(--navy); }
.hero-title { font-family: var(--font-serif); font-size: clamp(52px, 7vw, 96px); font-weight: 500; line-height: .97; letter-spacing: -2px; color: var(--navy); margin-bottom: 40px; opacity: 0; animation: slideUp .9s var(--ease) forwards .35s; }
.hero-title em { font-style: italic; color: var(--brand); }
.hero-sub { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--mid); max-width: 520px; margin-bottom: 56px; opacity: 0; animation: slideUp .9s var(--ease) forwards .55s; }
.hero-actions { display: flex; gap: 14px; opacity: 0; animation: slideUp .9s var(--ease) forwards .75s; }

/* ─── HOME: STATS BAND ─── */
.stats-band { background: var(--ice2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0 96px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 52px 40px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-serif); font-size: clamp(44px, 5vw, 64px); font-weight: 500; color: var(--navy); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: .5px; }

/* ─── HOME: ABOUT BAND ─── */
.about-band { background: var(--white); padding: 100px 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; border-bottom: 1px solid var(--border); }
.about-band-quote { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 500; line-height: 1.2; color: var(--navy); }
.about-band-quote em { font-style: italic; }
.about-band-body p { font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--mid); margin-bottom: 20px; }
.about-band-body p:last-of-type { margin-bottom: 32px; }

/* ─── HOME: SERVICES LIST ─── */
.services-section { padding: 120px 96px; background: var(--white); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; margin-bottom: 80px; }
.services-header .display { font-size: clamp(36px, 4vw, 56px); color: var(--navy); margin-top: 24px; }
.services-list { border-top: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 40px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--border); transition: background .3s; margin: 0 -96px; padding-left: 96px; padding-right: 96px; cursor: pointer; }
.service-row:hover { background: var(--ice3); }
.service-row-num { font-family: var(--font-serif); font-size: 14px; color: rgba(0,51,102,.3); letter-spacing: 1px; }
.service-row-content h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.2; }
.service-row-content p { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.7; max-width: 560px; }
.service-row-arr { width: 48px; height: 48px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; flex-shrink: 0; }
.service-row:hover .service-row-arr { background: var(--navy); border-color: var(--navy); }
.service-row-arr svg { stroke: var(--navy); fill: none; transition: stroke .25s; }
.service-row:hover .service-row-arr svg { stroke: var(--white); }

/* ─── HOME: WHY METRIC ─── */
.why-section { background: var(--ice3); padding: 120px 96px; }
.why-header { margin-bottom: 80px; }
.why-header .display { font-size: clamp(36px, 4vw, 56px); color: var(--navy); margin-top: 24px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--cream2); }
.why-item { background: var(--white); padding: 52px 40px; }
.why-item-icon { width: 48px; height: 48px; border: 1px solid rgba(0,51,102,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.why-item-icon svg { stroke: var(--navy); fill: none; width: 20px; height: 20px; }
.why-item h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 14px; line-height: 1.2; }
.why-item p { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.8; }

/* ─── HOME: INTERNATIONAL ─── */
.intl-section { background: var(--ice); padding: 120px 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; border-top: 1px solid var(--cream2); }
.intl-section .display { font-size: clamp(36px, 4vw, 56px); color: var(--navy); margin-top: 24px; }
.intl-section .display em { color: var(--brand); font-style: italic; }
.intl-body p { font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--mid); margin-bottom: 24px; }
.intl-body p:last-of-type { margin-bottom: 40px; }
.intl-flags { display: flex; flex-wrap: wrap; gap: 10px; }
.intl-flag { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); padding: 8px 14px; border: 1px solid rgba(0,51,102,.2); transition: all .25s; }
.intl-flag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── HOME: TEAM PREVIEW ─── */
.team-section { padding: 120px 96px; background: var(--white); }
.team-header { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; margin-bottom: 80px; }
.team-header .display { font-size: clamp(36px, 4vw, 56px); color: var(--navy); margin-top: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.team-card { background: var(--white); overflow: hidden; transition: background .3s; }
.team-card:hover { background: var(--ice3); }
.team-card-photo { aspect-ratio: 4/5; background: linear-gradient(165deg, var(--ice2) 0%, var(--ice) 100%); position: relative; overflow: hidden; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card-body { padding: 32px 32px 40px; }
.team-card-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.team-card-role { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); opacity: .55; margin-bottom: 16px; }
.team-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.team-card-tag { font-size: 11px; font-weight: 400; color: var(--navy); padding: 4px 10px; border: 1px solid var(--border); background: var(--ice3); }
.team-card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); transition: gap .25s; }
.team-card-link:hover { gap: 14px; }
.team-card-link .bar { display: inline-block; width: 18px; height: 1px; background: var(--navy); position: relative; }
.team-card-link .bar::after { content: ''; position: absolute; right: -1px; top: -3px; border: 3px solid transparent; border-left: 4px solid var(--navy); border-right: none; }

/* ─── HOME: INSIGHTS ─── */
.insights-section { background: var(--ice3); padding: 120px 96px; border-top: 1px solid var(--border); }
.insights-header { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; margin-bottom: 80px; }
.insights-header .display { font-size: clamp(36px, 4vw, 56px); color: var(--navy); margin-top: 24px; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.insight-card { padding: 48px 40px 56px; border-right: 1px solid var(--border); transition: background .3s; }
.insight-card:last-child { border-right: none; }
.insight-card:hover { background: var(--white); }
.insight-tag { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 20px; }
.insight-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.insight-meta { font-size: 12px; color: var(--light); margin-bottom: 28px; }
.insight-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); transition: gap .25s; }
.insight-link:hover { gap: 14px; }
.insight-link .bar { display: inline-block; width: 18px; height: 1px; background: var(--navy); position: relative; }
.insight-link .bar::after { content: ''; position: absolute; right: -1px; top: -3px; border: 3px solid transparent; border-left: 4px solid var(--navy); border-right: none; }

/* ─── PEOPLE ARCHIVE ─── */
.people-hero { background: var(--ice2); padding: 120px 96px 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.people-hero-geo { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,51,102,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,51,102,.04) 1px,transparent 1px); background-size: 88px 88px; }
.people-hero-inner { position: relative; z-index: 2; }
.people-hero .display { font-size: clamp(44px, 6vw, 80px); color: var(--navy); margin-top: 24px; }
.people-hero .display em { color: var(--brand); }
.people-filters { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 96px; display: flex; align-items: center; gap: 0; overflow-x: auto; }
.people-filter-btn { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); padding: 20px 24px; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.people-filter-btn:hover { color: var(--navy); }
.people-filter-btn.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.people-grid-wrap { padding: 80px 96px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }

/* ─── SERVICE PAGE ─── */
.service-hero { background: var(--ice2); padding: 120px 96px 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.service-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; padding-bottom: 80px; }

/* ─── ARTICLE PAGE ─── */
.reading-progress { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 800; height: 2px; }
.reading-progress-bar { height: 100%; background: var(--navy); width: 0%; transition: width .1s linear; }

/* ─── SIDEBAR STYLES ─── */
.sb-label { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--light); margin-bottom: 16px; display: block; }
.sb-practice { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: padding-left .2s; }
.sb-practice:hover { padding-left: 6px; }
.sb-practice-name { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.sb-practice-arr { width: 6px; height: 6px; border-right: 1.5px solid var(--navy); border-top: 1.5px solid var(--navy); transform: rotate(45deg); flex-shrink: 0; margin-left: 12px; }

/* ─── SEARCH FORM ─── */
.search-form { display: flex; gap: 0; }
.search-form input { flex: 1; padding: 14px 20px; font-size: 14px; border: 1px solid var(--border); border-right: none; font-family: var(--font-sans); color: var(--ink); background: var(--white); outline: none; }
.search-form input:focus { border-color: var(--navy); }
.search-form button { padding: 14px 24px; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border: none; cursor: pointer; transition: background .2s; }
.search-form button:hover { background: var(--navy2); }

/* ─── PAGINATION ─── */
.page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 13px; font-weight: 500; color: var(--mid); border: 1px solid var(--border); transition: all .2s; margin: 2px; }
.page-numbers:hover, .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-numbers.dots { border: none; color: var(--light); }

/* ─── UTILITY ─── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 96px; }
.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; }
.wp-post-image { width: 100%; height: 100%; object-fit: cover; }

/* ─── IMAGE PLACEHOLDERS ─── */
/* Used when no featured image is set */
.img-placeholder { background: linear-gradient(135deg, var(--ice2) 0%, var(--ice) 100%); position: relative; overflow: hidden; }
.img-placeholder::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,51,102,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(0,51,102,.05) 1px,transparent 1px); background-size: 32px 32px; }

/* Hero image placeholder — homepage */
.hero-img-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ice2) 0%, var(--ice) 60%, var(--cream2) 100%); }

/* Article thumbnail placeholder */
.thumb-placeholder { background: linear-gradient(135deg, var(--ice2) 0%, var(--ice) 100%); display: flex; align-items: center; justify-content: center; }
.thumb-placeholder span { font-family: var(--font-serif); font-size: 48px; font-weight: 500; color: rgba(0,51,102,.2); letter-spacing: -1px; }

/* Lawyer photo placeholder */
.lawyer-placeholder { background: linear-gradient(165deg, var(--ice2) 0%, var(--ice) 100%); display: flex; align-items: center; justify-content: center; }
.lawyer-placeholder span { font-family: var(--font-serif); font-size: 80px; font-weight: 500; color: rgba(0,51,102,.15); }

/* ─── KEYFRAMES ─── */
@keyframes slideUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1140px) {
  :root { --nav-h: 64px; }
  .site-nav { padding: 0 32px; }
  .nav-links, .nav-find { display: none; }
  .burger { display: flex; }
  .breadcrumb-bar { padding: 0 32px; }
  .hero-inner, .stats-band, .about-band, .services-section, .why-section, .intl-section, .team-section, .insights-section, .cta-band, .footer-wrap, .people-hero, .people-grid-wrap, .people-filters { padding-left: 40px; padding-right: 40px; }
  .about-band, .intl-section { grid-template-columns: 1fr; gap: 56px; }
  .services-header, .team-header, .insights-header { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-row { margin: 0; padding-left: 0; padding-right: 0; }
}
@media (max-width: 720px) {
  .hero-inner { padding: 0 24px 80px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .about-band, .services-section, .why-section, .intl-section, .team-section, .insights-section, .cta-band, .people-hero, .people-grid-wrap { padding-left: 24px; padding-right: 24px; }
  .why-grid, .team-grid, .insights-grid, .people-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-wrap { padding: 0 24px; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .breadcrumb-bar { padding: 0 24px; }
  .people-filters { padding: 0 24px; }
}
/* Mobile nav group labels */
.mob-group { display:block; padding:10px 24px 4px; font-size:9px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--light); pointer-events:none; margin-top:6px; }

/* ─── LIGHT PALETTE OVERRIDES ─── */
/* Forces all inline dark backgrounds to light across all templates */

/* Hero sections on all pages */
section[style*="var(--navy3)"],
div[style*="var(--navy3)"],
section[style*="navy3"],
div[style*="navy3"] {
    background: var(--ice2) !important;
}

/* Dark blue section backgrounds */
div[style*="background:var(--navy)"],
section[style*="background:var(--navy)"] {
    background: var(--ice) !important;
}

/* Text color fixes for previously-dark sections */
div[style*="background:var(--ice)"] h1,
div[style*="background:var(--ice)"] h2,
div[style*="background:var(--ice)"] h3,
div[style*="background:var(--ice2)"] h1,
div[style*="background:var(--ice2)"] h2,
div[style*="background:var(--ice2)"] h3,
section[style*="background:var(--ice)"] h1,
section[style*="background:var(--ice)"] h2,
section[style*="background:var(--ice2)"] h1 {
    color: var(--navy) !important;
}

div[style*="background:var(--ice)"] p,
div[style*="background:var(--ice2)"] p,
section[style*="background:var(--ice)"] p,
section[style*="background:var(--ice2)"] p {
    color: var(--mid) !important;
}

div[style*="background:var(--ice)"] span[style*="color"],
div[style*="background:var(--ice2)"] span[style*="color"] {
    color: var(--navy) !important;
}

/* Breadcrumb bar */
.breadcrumb-bar {
    background: var(--ice2) !important;
    border-bottom: 1px solid var(--border) !important;
}
.breadcrumb-bar, .breadcrumb-bar a, .breadcrumb-bar .current {
    color: var(--navy) !important;
}

/* Mobile nav */
.mobile-nav {
    background: var(--white) !important;
}
.mobile-nav a {
    color: var(--navy) !important;
    border-bottom-color: var(--border) !important;
}

/* Custom logo */
.nav-logo .custom-logo-link { display:flex; align-items:center; }
.nav-logo .custom-logo-link img,
.custom-logo { height:52px !important; width:auto !important; max-width:220px !important; object-fit:contain !important; }

/* Service hero specifically */
.svc-hero-inner { background:var(--ice2) !important; }

/* Reading progress bar */
.reading-progress-bar { background: var(--navy) !important; }

/* Regulation tag text */
span[style*="color:rgba(255,255,255"] { color: var(--navy) !important; }

/* Dark gradient photo bg -> light */
div[style*="linear-gradient(135deg,#1e3d70"],
div[style*="linear-gradient(165deg,#1e3d70"] {
    background: linear-gradient(135deg, var(--ice2) 0%, var(--ice) 100%) !important;
}

/* Keep footer dark — override any light rules */
.site-footer,
.site-footer * { /* footer keeps its own styles */ }



/* ─── INSIGHT CARD WITH IMAGE ─── */
.insight-card-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  margin-bottom: 24px;
  transition: transform .4s var(--ease);
  overflow: hidden;
}
.insight-card:hover .insight-card-img { transform: scale(1.03); }

/* Hero image higher opacity on light bg */
.hero-img { opacity: 0.20; }




/* ─── BRAND ACCENT USAGE ─── */
.eyebrow { color: var(--navy); }
a.svc-scroll-row:hover .svc-scroll-num { color: var(--brand); }
.svc-scroll-row.is-active .svc-scroll-num { color: var(--brand); }
.svc-group-label { color: var(--brand); }
.reading-progress-bar { background: var(--brand) !important; }

/* ─── SERVICES: A&O SHEARMAN STICKY LAYOUT ─── */
.svc-scroll-section {
    background: var(--white);
    border-top: 1px solid var(--border);
}

/* Full-width header above both columns */
.svc-scroll-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: end;
    padding: 100px 96px 72px;
    border-bottom: 1px solid var(--border);
}

/* Two-column scroll body */
.svc-scroll-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

/* LEFT sticky panel */
.svc-scroll-sticky {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

/* Image fills most of the sticky panel */
.svc-scroll-img {
    flex: 1;
    overflow: hidden;
    background: var(--ice2);
    position: relative;
}
.svc-scroll-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.svc-scroll-img img.fading {
    opacity: 0;
    transform: scale(1.04);
}

/* Label overlay at bottom of image */
.svc-scroll-img-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,51,102,.55) 0%, transparent 100%);
    padding: 40px 28px 24px;
}
.svc-scroll-img-label span {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    display: block;
}

/* Context block below image */
.svc-scroll-context {
    padding: 20px 28px 24px;
    background: var(--ice3);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* RIGHT: service rows */
.svc-scroll-list {
    padding: 0;
}

/* Group label */
.svc-group-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand);
    padding: 28px 64px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--ice3);
}

/* Each service row */
.svc-scroll-row {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.svc-scroll-row:hover,
.svc-scroll-row.is-active { background: var(--ice3); }

.svc-scroll-row-inner {
    display: grid;
    grid-template-columns: 56px 1fr 48px;
    gap: 0;
    align-items: center;
    padding: 36px 40px 36px 64px;
    transition: padding-left .2s var(--ease);
}
.svc-scroll-row:hover .svc-scroll-row-inner { padding-left: 72px; }

.svc-scroll-num {
    font-family: var(--font-serif);
    font-size: 13px;
    color: rgba(0,51,102,.25);
    letter-spacing: 1px;
    flex-shrink: 0;
    transition: color .2s;
}

.svc-scroll-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.2;
}
.svc-scroll-content p {
    font-size: 13px;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.65;
    max-width: 440px;
}

.svc-scroll-arr {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
    transition: background .2s, border-color .2s, color .2s;
}
.svc-scroll-row:hover .svc-scroll-arr {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ─── RESPONSIVE: collapse to single column ─── */
@media (max-width: 1140px) {
    .svc-scroll-header { grid-template-columns: 1fr; gap: 24px; padding: 64px 40px 48px; }
    .svc-scroll-body { grid-template-columns: 1fr; }
    .svc-scroll-sticky { display: none; }
    .svc-group-label { padding: 20px 32px 10px; }
    .svc-scroll-row-inner { padding: 28px 32px; grid-template-columns: 48px 1fr 40px; }
    .svc-scroll-row:hover .svc-scroll-row-inner { padding-left: 36px; }
}
@media (max-width: 720px) {
    .svc-scroll-header { padding: 48px 24px 36px; }
    .svc-scroll-row-inner { padding: 24px; grid-template-columns: 40px 1fr 36px; }
    .svc-group-label { padding: 16px 24px 8px; }
}

/* ─── LOGO SIZE — DEFINITIVE FIX ─── */
/* the_custom_logo() outputs <a class="custom-logo-link"><img class="custom-logo"> */
.nav-logo { align-items: center; }
.custom-logo-link { display: flex !important; align-items: center !important; line-height: 0; }
.custom-logo-link img,
img.custom-logo,
.nav-logo img { 
    height: 52px !important;
    width: auto !important;
    max-width: 240px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ─── STATS BAND — brand blue numbers ─── */
.stat-num { color: var(--brand) !important; }
.stat-label { color: rgba(255,255,255,.55) !important; }

/* ─── SCOPED TEXT COLOR FIXES — light background sections ─── */

/* Stats band: keep white labels, brand numbers */
.stats-band .stat-num   { color: var(--navy); }
.stats-band .stat-label { color: var(--mid); }

/* Service/lawyer/article heroes are light — text must be navy */
/* These are the specific PHP-generated inline backgrounds we control */
section[style*="background:var(--ice2)"] h1,
section[style*="background:var(--ice2)"] h2,
section[style*="background:var(--ice2)"] span.eyebrow,
.people-hero h1, .people-hero h2, .people-hero p,
.people-hero .display { color: var(--navy) !important; }

/* Article single hero — author meta was white */
.single-article-hero .author-name { color: var(--navy) !important; }
.single-article-hero .article-meta { color: var(--mid) !important; }

/* Svc sticky image label — white because it sits on dark photo gradient */
.svc-scroll-img-label span { color: var(--white) !important; }

/* Service hero image category badge — white text on navy pill */
.svc-hero-badge { color: var(--navy) !important; background: var(--white) !important; }

/* ─── BRAND BLUE EM — ALL HERO HEADINGS SITE-WIDE ─── */
/* Every italic second line on every hero, section heading, and CTA */
h1 em, h2 em, h3 em { color: var(--brand) !important; font-style: italic; }

/* Exception — footer keeps its own style */
.site-footer h1 em,
.site-footer h2 em,
.site-footer h3 em { color: inherit !important; }

/* ─── SERVICE PAGE MOBILE ─── */
@media (max-width: 768px) {
  /* Hero */
  .svc-hero-grid { grid-template-columns: 1fr !important; }
  .svc-hero-left { padding: 48px 24px 40px !important; }
  .svc-hero-right { min-height: 220px !important; aspect-ratio: 16/9; }
  .svc-hero-right img { width: 100%; height: 100%; object-fit: cover; }

  /* Body — sidebar hidden, full width */
  .svc-body-grid { grid-template-columns: 1fr !important; padding: 0 !important; }
  .svc-sidebar { display: none !important; }

  /* All padded sections */
  .svc-section { padding: 40px 24px !important; }
  .svc-overview-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .svc-scope-item { grid-template-columns: 36px 1fr !important; gap: 16px !important; padding: 32px 0 !important; }
  .svc-juris-grid { grid-template-columns: repeat(2,1fr) !important; }
  .svc-consid-grid { grid-template-columns: 1fr !important; }
  .svc-related-grid { grid-template-columns: 1fr !important; }
  .svc-hero-actions { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  .svc-hero-actions a { width: 100% !important; justify-content: center !important; }

  /* Breadcrumb */
  .breadcrumb-bar { padding: 0 24px !important; font-size: 11px; }

  /* CTA band on service page */
  .cta-band { padding: 60px 24px !important; grid-template-columns: 1fr !important; gap: 32px !important; }
}

@media (max-width: 480px) {
  .svc-hero-left { padding: 36px 20px 32px !important; }
  .svc-section { padding: 36px 20px !important; }
  .svc-juris-grid { grid-template-columns: 1fr !important; }
  .svc-hero-right { min-height: 180px !important; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — ALL PAGES
   Covers: people archive, lawyer single, insights archive,
           article single, capabilities archive
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

  /* ── PEOPLE ARCHIVE ── */
  .people-hero { padding: 72px 40px 56px !important; }
  .people-grid-wrap { padding: 48px 40px !important; }
  .people-filters { padding: 0 40px !important; }
  .people-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* ── INSIGHTS ARCHIVE ── */
  .insights-archive-hero { padding: 72px 40px 56px !important; }
  .insights-archive-tabs { padding: 0 40px !important; }
  .insights-archive-body { padding: 48px 40px !important; }
  .insights-featured { grid-template-columns: 1fr !important; }
  .insights-grid-3 { grid-template-columns: repeat(2,1fr) !important; }

  /* ── ARTICLE SINGLE ── */
  .article-hero { padding: 60px 40px 48px !important; }
  .article-featured-img { padding: 0 40px !important; }
  .article-body-grid { grid-template-columns: 1fr !important; padding: 48px 40px !important; }
  .article-sidebar { display: none !important; }
  .article-author-card { grid-template-columns: 60px 1fr !important; gap: 20px !important; }
  .article-related-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* ── LAWYER SINGLE ── */
  .lawyer-hero-grid { grid-template-columns: 1fr !important; }
  .lawyer-hero-photo { height: 320px !important; aspect-ratio: unset !important; }
  .lawyer-body-grid { grid-template-columns: 1fr !important; }
  .lawyer-sidebar { display: none !important; }
  .lawyer-bio-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .lawyer-hero-inner { padding: 48px 40px !important; }
}

@media (max-width: 768px) {

  /* ── PEOPLE ARCHIVE ── */
  .people-hero { padding: 56px 24px 40px !important; }
  .people-grid-wrap { padding: 32px 24px !important; }
  .people-filters { padding: 0 24px !important; }
  .people-grid { grid-template-columns: 1fr !important; }

  /* ── INSIGHTS ARCHIVE ── */
  .insights-archive-hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; padding: 56px 24px 40px !important; }
  .insights-archive-tabs { padding: 0 24px !important; font-size: 10px !important; }
  .insights-archive-body { padding: 36px 24px !important; }
  .insights-featured { grid-template-columns: 1fr !important; }
  .insights-grid-3 { grid-template-columns: 1fr !important; }

  /* ── ARTICLE SINGLE ── */
  .article-hero { padding: 48px 24px 40px !important; }
  .article-hero-meta { flex-wrap: wrap !important; gap: 12px !important; }
  .article-author-avatar { display: none !important; }
  .article-featured-img { padding: 0 24px !important; }
  .article-body-grid { padding: 36px 24px !important; gap: 40px !important; }
  .article-sidebar { display: none !important; }
  .article-related-grid { grid-template-columns: 1fr !important; }

  /* ── LAWYER SINGLE ── */
  .lawyer-hero-grid { grid-template-columns: 1fr !important; }
  .lawyer-hero-photo { height: 280px !important; }
  .lawyer-hero-inner { padding: 36px 24px 40px !important; }
  .lawyer-hero-actions { flex-direction: column !important; gap: 10px !important; }
  .lawyer-hero-actions a { width: 100% !important; justify-content: center !important; }
  .lawyer-body-grid { padding: 36px 24px !important; grid-template-columns: 1fr !important; }
  .lawyer-bio-grid { grid-template-columns: 1fr !important; gap: 32px !important; padding: 36px 24px !important; }
  .lawyer-services-section { padding: 36px 24px !important; }
}

/* ── INLINE STYLE OVERRIDES for hardcoded padding/grid ── */
/* These catch the inline styles we couldn't add classes to */

@media (max-width: 768px) {

  /* Insights hero grid */
  div[style*="grid-template-columns:1fr 1fr"][style*="padding:100px 96px"],
  div[style*="grid-template-columns:1fr 1fr"][style*="padding:80px 96px"] {
    grid-template-columns: 1fr !important;
    padding: 48px 24px !important;
    gap: 24px !important;
  }

  /* Featured article card — stack vertically */
  a[style*="grid-template-columns:1fr 1fr"][style*="background:var(--ice2)"] {
    grid-template-columns: 1fr !important;
  }

  /* 3-col article grid → 1 col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:2px"] {
    grid-template-columns: 1fr !important;
  }

  /* Lawyer hero grid → stack */
  div[style*="grid-template-columns:380px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Lawyer body → full width, no sidebar */
  div[style*="grid-template-columns:1fr 320px"] {
    grid-template-columns: 1fr !important;
  }

  /* Article body → full width */
  div[style*="grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
    padding: 36px 24px !important;
  }

  /* Generic 96px padding → 24px */
  div[style*="padding:80px 96px"],
  div[style*="padding:64px 96px"],
  div[style*="padding:100px 96px"],
  div[style*="padding:120px 96px"],
  section[style*="padding:80px 96px"],
  section[style*="padding:120px 96px"] {
    padding: 48px 24px !important;
  }

  /* Tab bars with 96px padding */
  div[style*="padding:0 96px"][style*="overflow-x:auto"] {
    padding: 0 24px !important;
  }

  /* Article author card */
  div[style*="grid-template-columns:80px 1fr"] {
    grid-template-columns: 56px 1fr !important;
    gap: 16px !important;
  }

  /* Related articles 3-col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="border-top"] {
    grid-template-columns: 1fr !important;
  }

  /* Sidebar contact CTA box — hide on mobile */
  div[style*="background:var(--navy);padding:28px 24px"] {
    display: none !important;
  }

  /* People grid 3-col → 1 col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="background:var(--border)"] {
    grid-template-columns: 1fr !important;
  }

  /* Max-width containers with 96px padding */
  div[style*="max-width:1400px"][style*="padding:80px 96px"],
  div[style*="max-width:1400px"][style*="padding:64px 96px"] {
    padding: 40px 24px !important;
  }
}

@media (max-width: 480px) {
  /* Even tighter on small phones */
  div[style*="padding:80px 96px"],
  div[style*="padding:64px 96px"],
  section[style*="padding:80px 96px"] {
    padding: 36px 20px !important;
  }
  .people-grid { grid-template-columns: 1fr !important; }
  .insights-grid-3 { grid-template-columns: 1fr !important; }
}

/* ── Article body typography on mobile ── */
@media (max-width: 768px) {
  .article-body { font-size: 16px !important; line-height: 1.8 !important; }
  .article-body h2 { font-size: 20px !important; margin: 36px 0 12px !important; }
  .article-body h3 { font-size: 17px !important; margin: 28px 0 10px !important; }
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr !important; gap: 32px !important; padding-bottom: 40px !important; }
  .footer-wrap { padding: 0 24px !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; align-items: flex-start !important; }
  .footer-legal { flex-wrap: wrap !important; gap: 16px !important; }
  .site-footer { padding: 56px 0 32px !important; }
}

/* ── CTA band mobile ── */
@media (max-width: 768px) {
  .cta-band { grid-template-columns: 1fr !important; gap: 32px !important; padding: 56px 24px !important; }
  .cta-actions { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .cta-actions a { width: 100% !important; justify-content: center !important; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE v2 — COMPLETE REWRITE
   Covers every page: archive + single for lawyer, service,
   insight/article, capabilities, and homepage sections.
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (small)
   ════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TABLET  ≤ 1024px
───────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* NAV */
  .site-nav { padding: 0 32px; }
  .nav-links, .nav-find { display: none; }
  .burger { display: flex; }

  /* BREADCRUMB */
  .breadcrumb-bar { padding: 0 40px; }

  /* ── HOMEPAGE ── */
  .hero-inner { padding-bottom: 80px; padding-left: 40px; padding-right: 40px; }
  .about-band { padding: 72px 40px; grid-template-columns: 1fr; gap: 48px; }
  .services-section { padding: 80px 40px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .why-section { padding: 80px 40px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .intl-section { padding: 80px 40px; grid-template-columns: 1fr; gap: 48px; }
  .team-section { padding: 80px 40px; }
  .team-header { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .insights-section { padding: 80px 40px; }
  .insights-header { grid-template-columns: 1fr; gap: 24px; }
  .insights-grid { grid-template-columns: repeat(2,1fr); }
  .insight-card:nth-child(2) { border-right: none; }
  .stats-band { padding: 0 40px; }
  .cta-band { padding: 80px 40px; grid-template-columns: 1fr; gap: 48px; }

  /* ── PEOPLE ARCHIVE ── */
  .people-hero { padding: 72px 40px 56px; }
  .people-grid-wrap { padding: 48px 40px; }
  .people-filters { padding: 0 40px; }
  .people-grid { grid-template-columns: repeat(2,1fr); }

  /* ── INSIGHTS ARCHIVE (home.php / archive.php) ── */
  /* Hero two-col → single col */
  div[style*="padding:100px 96px 80px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 64px 40px 48px !important;
    gap: 28px !important;
  }
  /* Tab bar */
  div[style*="padding:0 96px"][style*="overflow-x:auto"] {
    padding: 0 40px !important;
  }
  /* Archive body container */
  div[style*="max-width:1400px"][style*="padding:64px 96px"] {
    padding: 48px 40px !important;
  }
  /* Featured article: image+text side-by-side → stack */
  a[style*="grid-template-columns:1fr 1fr"][style*="border:1px solid var(--border)"] {
    grid-template-columns: 1fr !important;
  }
  /* 3-col article grid → 2 col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:2px"][style*="background:var(--border)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* ── ARTICLE SINGLE ── */
  div[style*="padding:80px 96px 72px"] { padding: 56px 40px 44px !important; }
  div[style*="padding:0 96px"][style*="aspect-ratio"] { padding: 0 40px !important; }
  /* Body + sidebar → full width */
  div[style*="grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
    padding: 48px 40px !important;
  }
  /* Hide article sidebar */
  div[style*="grid-template-columns:1fr 300px"] > aside {
    display: none !important;
  }
  /* Related articles 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="background:var(--border)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* ── LAWYER SINGLE ── */
  /* Hero: photo+details → stack */
  div[style*="grid-template-columns:380px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:380px 1fr"] > div:first-child {
    min-height: 340px !important;
    aspect-ratio: 4/3 !important;
  }
  div[style*="padding:64px 64px 64px 72px"] {
    padding: 40px !important;
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
  }
  /* Lawyer body + sidebar → full width */
  div[style*="grid-template-columns:1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr 320px"] > aside {
    display: none !important;
  }
  /* Lawyer bio 2-col → 1-col */
  div[style*="padding:80px 96px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 48px 40px !important;
  }

  /* ── CAPABILITIES ARCHIVE ── */
  div[style*="padding:120px 96px 96px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 64px 40px 48px !important;
    gap: 32px !important;
  }
  div[style*="padding:56px 96px 40px"] { padding: 40px 40px 28px !important; }
  /* Service row: number + image + content + arrow → simplify */
  a[style*="grid-template-columns:72px"] {
    grid-template-columns: 56px 1fr 56px !important;
  }
  a[style*="grid-template-columns:72px"] > div:nth-child(2):not(:last-child) {
    display: none !important; /* hide image column on tablet */
  }
  div[style*="padding:36px 48px"] { padding: 28px 32px !important; }
  div[style*="padding:80px 96px"][style*="border-top:1px solid var(--border)"][style*="border-bottom"] {
    padding: 56px 40px !important;
  }
  div[style*="padding:80px 96px"][style*="border-top:1px solid var(--border)"][style*="border-bottom"] div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* ── SERVICE SINGLE ── */
  div[style*="grid-template-columns:1fr 1fr"][style*="min-height:520px"] {
    grid-template-columns: 1fr !important;
    min-height: unset !important;
  }
  div[style*="padding:80px 64px 80px 96px"] {
    padding: 48px 40px !important;
  }
  div[style*="grid-template-columns:1fr 320px"] > aside[style*="position:sticky"] {
    display: none !important;
  }
}


/* ─────────────────────────────────────────────
   MOBILE  ≤ 768px
───────────────────────────────────────────── */
@media (max-width: 768px) {

  /* NAV */
  .site-nav { padding: 0 20px; }
  .breadcrumb-bar { padding: 0 20px; font-size: 11px; }

  /* ── HOMEPAGE ── */
  .hero-inner { padding: 0 20px 64px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px) !important; letter-spacing: -1px !important; }
  .hero-sub { font-size: 15px !important; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions a { width: 100%; justify-content: center; }
  .stats-band { grid-template-columns: repeat(2,1fr); padding: 0 20px; }
  .stat-item { padding: 36px 20px; }
  .about-band { padding: 56px 20px; gap: 36px; }
  .services-section { padding: 56px 20px; }
  .service-row { margin: 0; padding-left: 0; padding-right: 0; grid-template-columns: 48px 1fr 40px; gap: 16px; }
  .why-section { padding: 56px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 36px 28px; }
  .intl-section { padding: 56px 20px; }
  .team-section { padding: 56px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .insights-section { padding: 56px 20px; }
  .insights-grid { grid-template-columns: 1fr; border-top: none; }
  .insight-card { border-right: none; border-top: 1px solid var(--border); padding: 36px 24px 40px; }
  .cta-band { padding: 56px 20px; grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-actions a { width: 100%; justify-content: center; }

  /* ── PEOPLE ARCHIVE ── */
  .people-hero { padding: 48px 20px 36px; }
  .people-grid-wrap { padding: 28px 20px; }
  .people-filters { padding: 0 20px; }
  .people-grid { grid-template-columns: 1fr; }

  /* ── INSIGHTS ARCHIVE ── */
  div[style*="padding:100px 96px 80px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 48px 20px 36px !important;
    gap: 20px !important;
  }
  div[style*="padding:0 96px"][style*="overflow-x:auto"] {
    padding: 0 20px !important;
  }
  div[style*="max-width:1400px"][style*="padding:64px 96px"] {
    padding: 36px 20px !important;
  }
  /* Featured article → fully stacked */
  a[style*="grid-template-columns:1fr 1fr"][style*="border:1px solid var(--border)"] {
    grid-template-columns: 1fr !important;
  }
  a[style*="grid-template-columns:1fr 1fr"][style*="border:1px solid var(--border)"] > div:last-child {
    padding: 28px 24px !important;
  }
  /* Article grid → 1 col */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:2px"][style*="background:var(--border)"] {
    grid-template-columns: 1fr !important;
  }

  /* ── ARTICLE SINGLE ── */
  div[style*="padding:80px 96px 72px"] { padding: 40px 20px 32px !important; }
  div[style*="padding:0 96px"][style*="aspect-ratio"] { padding: 0 !important; }
  div[style*="grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
    padding: 32px 20px !important;
  }
  div[style*="grid-template-columns:80px 1fr"][style*="padding-top:40px"] {
    grid-template-columns: 52px 1fr !important;
    gap: 16px !important;
  }
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="background:var(--border)"] {
    grid-template-columns: 1fr !important;
  }
  /* Article sidebar → hide */
  div[style*="grid-template-columns:1fr 300px"] > aside { display: none !important; }

  /* ── LAWYER SINGLE ── */
  div[style*="grid-template-columns:380px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:380px 1fr"] > div:first-child {
    min-height: 260px !important;
    aspect-ratio: 4/3 !important;
  }
  div[style*="padding:64px 64px 64px 72px"] {
    padding: 32px 20px 36px !important;
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
  }
  /* Lawyer facts row — wrap tightly */
  div[style*="display:flex"][style*="gap:40px"][style*="padding-top:32px"] {
    gap: 24px !important;
    flex-wrap: wrap !important;
  }
  /* Lawyer CTA buttons */
  div[style*="display:flex"][style*="gap:14px"][style*="margin-top:32px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  div[style*="display:flex"][style*="gap:14px"][style*="margin-top:32px"] a {
    width: 100% !important;
    justify-content: center !important;
  }
  /* Lawyer body → full width, no sidebar */
  div[style*="grid-template-columns:1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr 320px"] > aside { display: none !important; }
  /* Bio/sections padding */
  div[style*="padding:80px 96px"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 40px 20px !important;
  }
  div[style*="padding:80px 96px"][style*="border-bottom:1px solid var(--border)"] {
    padding: 40px 20px !important;
  }

  /* ── CAPABILITIES ARCHIVE ── */
  div[style*="padding:120px 96px 96px"] {
    grid-template-columns: 1fr !important;
    padding: 48px 20px 36px !important;
    gap: 24px !important;
  }
  div[style*="padding:56px 96px 40px"] { padding: 32px 20px 20px !important; }
  /* Service rows: 4-col → number + content + arrow */
  a[style*="grid-template-columns:72px"] {
    grid-template-columns: 44px 1fr 44px !important;
  }
  /* Hide the image column completely on mobile */
  a[style*="grid-template-columns:72px"] > div[style*="overflow:hidden"][style*="background:var(--ice2)"] {
    display: none !important;
  }
  div[style*="padding:36px 48px"] { padding: 24px 20px !important; }
  /* Why strip below capabilities */
  div[style*="padding:80px 96px"][style*="border-top"][style*="border-bottom"] {
    padding: 48px 20px !important;
  }
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="background:var(--border)"] {
    grid-template-columns: 1fr !important;
  }

  /* ── SERVICE SINGLE ── */
  div[style*="grid-template-columns:1fr 1fr"][style*="min-height:520px"] {
    grid-template-columns: 1fr !important;
    min-height: unset !important;
  }
  div[style*="padding:80px 64px 80px 96px"] { padding: 40px 20px !important; }
  /* Service body sections */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:80px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 40px 20px !important;
  }
  /* Scope items */
  div[style*="grid-template-columns:64px 1fr"][style*="padding:44px 0"] {
    grid-template-columns: 44px 1fr !important;
    padding: 32px 0 !important;
    gap: 16px !important;
  }
  /* Related services grid */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="border-top:1px solid var(--border)"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="padding:36px 32px"][style*="border-right"] {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 28px 20px !important;
  }
  /* Service page sidebar → hide */
  div[style*="grid-template-columns:1fr 320px"] > aside[style*="position:sticky"] {
    display: none !important;
  }

  /* ── UNIVERSAL: all 96px paddings → 20px ── */
  div[style*="padding:80px 96px"],
  div[style*="padding:64px 96px"],
  section[style*="padding:80px 96px"],
  section[style*="padding:120px 96px"],
  div[style*="padding:120px 96px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .container { padding: 0 20px; }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr !important; gap: 32px !important; padding-bottom: 40px !important; }
  .footer-wrap { padding: 0 20px !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; align-items: flex-start !important; }
  .footer-legal { flex-wrap: wrap !important; gap: 14px !important; }
  .site-footer { padding: 48px 0 28px !important; }
}


/* ─────────────────────────────────────────────
   SMALL PHONES  ≤ 480px
───────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  .site-nav { padding: 0 16px; }
  .breadcrumb-bar { padding: 0 16px; }

  /* Hero */
  .hero-inner { padding: 0 16px 56px; }
  .hero-title { font-size: clamp(36px, 10vw, 48px) !important; }

  /* Stats */
  .stats-band { grid-template-columns: 1fr !important; padding: 0 16px; }
  .stat-item { padding: 28px 16px; border-right: none; border-bottom: 1px solid var(--border); }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

  /* People */
  .people-grid { grid-template-columns: 1fr; }
  .people-hero { padding: 40px 16px 28px; }

  /* Insights archive */
  div[style*="padding:100px 96px 80px"] { padding: 40px 16px 28px !important; }

  /* Capabilities service row */
  a[style*="grid-template-columns:72px"] { grid-template-columns: 36px 1fr 36px !important; }
  div[style*="padding:36px 48px"] { padding: 20px 16px !important; }

  /* Universal padding */
  div[style*="padding:80px 96px"],
  div[style*="padding:64px 96px"],
  div[style*="padding:120px 96px"],
  section[style*="padding:80px 96px"],
  section[style*="padding:120px 96px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .container { padding: 0 16px; }

  /* CTA */
  .cta-band { padding: 44px 16px !important; }
  .btn-solid, .btn-ghost { padding: 14px 20px !important; font-size: 10px !important; width: 100%; justify-content: center; }

  /* Footer */
  .footer-wrap { padding: 0 16px !important; }
}

/* ─────────────────────────────────────────────
   MOBILE NAV CLEANUP
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mobile-nav a { font-size: 16px; padding: 16px 0; }
  .mobile-nav .mob-sub { font-size: 13px; }
  .mobile-nav .mob-cta { padding: 14px !important; }
  .mega-drop { display: none !important; } /* never show desktop dropdowns on mobile */
}



/* ════════════════════════════════════════════════════════════════
   CLASS-BASED MOBILE OVERRIDES (cleaner than attribute selectors)
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

  /* Lawyer single hero */
  .lawyer-hero-grid { grid-template-columns: 1fr !important; }
  .lawyer-hero-inner {
    padding: 40px !important;
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
  }
  .lawyer-body-grid { grid-template-columns: 1fr !important; }
  .lawyer-sidebar { display: none !important; }

  /* Article single */
  .article-hero { padding: 56px 40px 44px !important; }
  .article-body-grid {
    grid-template-columns: 1fr !important;
    padding: 48px 40px !important;
  }
  .article-sidebar { display: none !important; }

  /* People grid */
  .people-grid { grid-template-columns: repeat(2,1fr) !important; }
  .people-grid-wrap { padding: 48px 40px !important; }

  /* Insights archive tabs + body */
  .insights-archive-tabs { padding: 0 40px !important; }
  .insights-archive-body { padding: 48px 40px !important; }

  /* Service single */
  .svc-hero-grid { grid-template-columns: 1fr !important; min-height: unset !important; }
  .svc-body-grid { grid-template-columns: 1fr !important; }
  .svc-sidebar { display: none !important; }
}

@media (max-width: 768px) {

  /* Lawyer single */
  .lawyer-hero-grid { grid-template-columns: 1fr !important; }
  .lawyer-hero-grid > div:first-child { min-height: 260px !important; aspect-ratio: 4/3 !important; }
  .lawyer-hero-inner { padding: 32px 20px 36px !important; }
  .lawyer-body-grid { grid-template-columns: 1fr !important; padding: 0 !important; }
  .lawyer-sidebar { display: none !important; }

  /* Article single */
  .article-hero { padding: 40px 20px 32px !important; }
  .article-body-grid { grid-template-columns: 1fr !important; padding: 32px 20px !important; }
  .article-sidebar { display: none !important; }

  /* People archive */
  .people-grid { grid-template-columns: 1fr !important; }
  .people-grid-wrap { padding: 28px 20px !important; }

  /* Insights archive */
  .insights-archive-tabs { padding: 0 20px !important; }
  .insights-archive-body { padding: 32px 20px !important; }

  /* Service single */
  .svc-hero-grid { grid-template-columns: 1fr !important; min-height: unset !important; }
  .svc-body-grid { grid-template-columns: 1fr !important; }
  .svc-sidebar { display: none !important; }
}