/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — matched to securelegalfirm.com */
  --navy: #04367d;          /* primary deep navy */
  --navy-2: #0a2051;        /* darker navy for gradients */
  --blue: #2076b4;           /* shield / link blue */
  --orange: #eb934f;         /* accent / CTA orange */
  --orange-light: #f4a767;   /* hover */
  /* Legacy names (kept so existing rules still apply) repointed to brand */
  --gold: #eb934f;           /* was gold; now brand orange accent */
  --gold-light: #f4a767;
  --dark: #04367d;           /* was near-black; now brand navy */
  --dark-2: #0a2051;
  --text: #32373c;
  --text-muted: #6b7078;
  --bg-light: #f5f7fb;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 36px rgba(0,0,0,0.16);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); line-height: 1.7; background: var(--white); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--dark-2); }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section > .container > h2,
.section-label + h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--dark);
}
.light { color: var(--white) !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark);
  color: #aaa;
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 52px; width: auto; display: block; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}
@media (min-width: 1024px) {
  .logo img { height: 60px; }
}

/* NAV (mobile-first drawer) */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  padding: 88px 0 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 150;
}
.nav.open { transform: translateX(0); }
.nav-list { display: flex; flex-direction: column; gap: 0; }
.nav-list > li { border-bottom: 1px solid #f1efe9; }
.nav-list > li:last-child { border-bottom: none; }
.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  min-height: 52px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); background: rgba(184,150,12,0.05); }
.nav-link.nav-cta {
  margin: 12px 24px;
  padding: 14px 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  justify-content: center;
  font-weight: 600;
  min-height: auto;
}
.nav-link.nav-cta:hover { background: var(--gold-light); }
.chev {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--gold);
  margin-left: 8px;
}
.has-sub.expanded > .sub-toggle .chev { transform: rotate(180deg); }

.sub-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-light);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.has-sub.expanded > .sub-menu { max-height: 720px; }
.sub-menu li a {
  display: block;
  padding: 12px 36px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  min-height: 44px;
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { color: var(--gold); background: rgba(184,150,12,0.08); }

/* HAMBURGER (mobile) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  position: relative;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BACKDROP */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,17,23,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 140;
}
.nav-backdrop.visible { opacity: 1; visibility: visible; }

body.nav-locked { overflow: hidden; }

/* DESKTOP NAV */
@media (min-width: 1024px) {
  .hamburger, .nav-backdrop { display: none; }
  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }
  .nav-list > li {
    border-bottom: none;
    position: relative;
  }
  .nav-link {
    padding: 10px 12px;
    font-size: 0.84rem;
    min-height: auto;
    border-radius: 4px;
    white-space: nowrap;
  }
  .nav-link.nav-cta {
    margin: 0 0 0 6px;
    padding: 10px 20px;
  }
  .chev { font-size: 0.7rem; }

  /* Desktop submenu: hover-revealed dropdown */
  .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    max-height: none;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border-top: 3px solid var(--gold);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    overflow: hidden;
  }
  .has-sub:hover > .sub-menu,
  .has-sub:focus-within > .sub-menu,
  .has-sub.expanded > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: none;
  }
  .sub-menu li a {
    padding: 10px 20px;
    border-bottom: none;
    font-size: 0.85rem;
  }
  .has-sub.expanded > .sub-toggle .chev { transform: none; }
  body.nav-locked { overflow: auto; }
}

/* ===== SYMMETRIC IMAGE CONTAINER ===== */
.img-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(110deg, #eee8d8 30%, #f4efdf 50%, #eee8d8 70%);
  background-size: 200% 100%;
  animation: img-shimmer 2.4s ease-in-out infinite;
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.img-frame img[src] { opacity: 1; }
@keyframes img-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}
.img-16-9 { aspect-ratio: 16 / 9; }
.img-4-3  { aspect-ratio: 4 / 3; }
.img-3-2  { aspect-ratio: 3 / 2; }
.img-1-1  { aspect-ratio: 1 / 1; }
.img-3-4  { aspect-ratio: 3 / 4; }
.img-contain img { object-fit: contain; padding: 14px; }

/* ===== HERO (two-column editorial) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1320 0%, #04367d 55%, #12263a 100%);
  padding: 48px 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(184,150,12,0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 120%, rgba(36,72,120,0.35), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 48px;
}
.hero-content { max-width: 640px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light, #d4a64a);
  padding: 6px 12px;
  border: 1px solid rgba(212,166,74,0.35);
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #e9c37a 0%, #b8960c 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(212,166,74,0.6); }
.hero-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
}
.hero-values li {
  border-left: 2px solid rgba(212,166,74,0.55);
  padding: 4px 0 4px 12px;
}
.hero-values strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-values span {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.76rem;
  margin-top: 2px;
}
.hero-visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.hero-visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,166,74,0.25);
  background: #0a1320;
}
.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,19,32,0.55) 100%);
}
.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge {
  position: absolute;
  right: -12px;
  top: 28px;
  background: rgba(255,255,255,0.98);
  color: var(--dark);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  min-width: 150px;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.hero-badge span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-badge-2 {
  top: auto;
  bottom: 28px;
  right: auto;
  left: -12px;
}
.hero-badge-2 strong { color: var(--dark); font-size: 1rem; font-family: var(--font-sans, inherit); font-weight: 700; }
.hero-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  padding: 14px 0;
}
.hero-marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: hero-marquee 36s linear infinite;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-marquee-track span:nth-child(even) { color: var(--gold-light, #d4a64a); }
@keyframes hero-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    padding-bottom: 80px;
  }
  .hero-content { max-width: none; }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-highlights {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.highlight-icon { font-size: 1.3rem; }

.about-values h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--dark);
}
.value-card {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 16px;
}
.value-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--dark); }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== PRACTICE AREAS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card:hover .img-frame img { transform: scale(1.08); }
.card .img-frame { aspect-ratio: 16 / 10; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.service-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.service-item:hover { border-bottom-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.service-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.service-item p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-card:hover .img-frame img { transform: scale(1.05); }
.team-card .img-frame { aspect-ratio: 3 / 4; }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold) 0%, #8a6e08 100%);
  letter-spacing: 0.02em;
}
.team-info { padding: 20px 16px; }
.team-info h3 { font-family: var(--font-serif); font-size: 1rem; margin-bottom: 4px; color: var(--dark); }
.team-info .role { font-size: 0.78rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.team-info p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CLIENTS MARQUEE ===== */
.clients-marquee-wrapper {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-marquee {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 48s linear infinite;
  width: max-content;
  padding: 16px 0;
}
.client-tile {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid rgba(4, 54, 125, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(4, 54, 125, 0.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform .3s ease;
}
.client-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(4, 54, 125, 0.14);
  border-color: var(--gold, #c9a94d);
}
.client-tile:hover img {
  transform: scale(1.04);
}
.clients-marquee:hover { animation-play-state: paused; }
@media (max-width: 760px) {
  .clients-marquee { gap: 18px; animation-duration: 38s; }
  .client-tile { width: 160px; height: 100px; padding: 16px 18px; border-radius: 12px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== KNOWLEDGE CENTRE ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-date { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.news-card h3 { font-family: var(--font-serif); font-size: 1rem; margin-bottom: 10px; color: var(--dark); line-height: 1.5; }
.news-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { margin-bottom: 12px; font-size: 0.95rem; opacity: 0.85; }
.social-links { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form select option { background: var(--dark-2); color: var(--white); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 44px; margin-bottom: 16px; filter: brightness(10); }
.footer-col p { font-size: 0.85rem; line-height: 1.8; margin-bottom: 12px; }
.disclaimer { font-size: 0.75rem !important; opacity: 0.5; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; margin-top: 16px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--gold); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-item { display: flex; align-items: center; gap: 16px; justify-content: center; }
.stat-item img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.stat-item h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.stat-item p { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

/* ===== SECTION INTRO ===== */
.section-intro { color: var(--text-muted); margin-top: -32px; margin-bottom: 40px; font-size: 1rem; }

/* ===== KEY SECTORS ===== */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.sector-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold); transition: var(--transition);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sector-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.sector-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.sector-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== EVENTS ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.event-card {
  background: var(--white); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
  border-left: 4px solid var(--gold); transition: var(--transition);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.event-year { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.event-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--dark); line-height: 1.4; }
.event-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== READ MORE / CENTER BTN ===== */
.read-more { display: inline-block; margin-top: 8px; font-size: 0.82rem; font-weight: 600; color: var(--gold); }
.read-more:hover { text-decoration: underline; }
.center-btn { text-align: center; margin-top: 40px; }
.btn-outline {
  background: transparent; border: 2px solid var(--gold); color: var(--gold);
  padding: 12px 28px;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #eee8d8;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(0.92);
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,17,23,0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== SECTOR ICONS (SVG) ===== */
.sector-icon-img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  display: block;
  object-fit: contain;
}

/* ===== OFFICE CARD IMAGE ===== */
.office-photo-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: #eee8d8;
  position: relative;
}
.office-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== OFFICES ===== */
.office h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px; }

/* ===== LOGO TEXT FOOTER ===== */
.logo-text-footer { font-family: var(--font-serif); font-weight: 700; color: var(--white); margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 100vh; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRACTICE CARDS AS ANCHOR LINKS
   ============================================================ */
a.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  position: relative;
}
a.card .card-body { flex: 1; display: flex; flex-direction: column; }
.card-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease;
}
a.card:hover .card-more { transform: translateX(4px); }
.card.featured {
  border: 1px solid rgba(184,150,12,0.25);
  box-shadow: 0 8px 30px rgba(184,150,12,0.08), var(--shadow);
}
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(184,150,12,0.45);
}

/* ============================================================
   SIMPLE PAGE NAV (sub-pages)
   ============================================================ */
.page-nav {
  display: none;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .page-nav { display: inline-flex; align-items: center; }
}
.page-nav a { color: var(--text); padding: 8px 4px; border-bottom: 2px solid transparent; transition: var(--transition); }
.page-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.page-nav a.nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  border-bottom: none;
}
.page-nav a.nav-cta:hover { background: var(--gold-light); color: #fff; }
.page-nav a.is-active { color: var(--gold); border-bottom-color: var(--gold); }

/* Main nav dropdown (index.html) */
.nav-has-sub { position: relative; }
.nav-has-sub > .nav-link { cursor: pointer; }
.nav-sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1000;
}
.nav-has-sub:hover > .nav-sub,
.nav-has-sub:focus-within > .nav-sub { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-sub li { margin: 0; }
.nav-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  color: var(--text);
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.nav-sub a:hover { background: var(--bg-light); color: var(--gold); border-left-color: var(--gold); }
.nav-sub .sub-tag {
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}
@media (max-width: 1023px) {
  .nav-sub {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 8px 16px;
    background: transparent;
  }
  .nav-sub a { padding: 6px 0; font-size: 0.82rem; border-left: none; }
}

/* ============================================================
   PRACTICE PAGE HERO
   ============================================================ */
.practice-hero {
  background-color: #04367d;
  background-size: cover;
  background-position: center;
  padding: 80px 0 64px;
  color: #fff;
}
.practice-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.practice-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.practice-hero .breadcrumb a:hover { color: var(--gold-light); }
.practice-hero .breadcrumb span { color: var(--gold-light); }
.practice-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 900px;
}
.practice-hero-tag {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

/* Practice body layout */
.practice-body { padding: 64px 0 80px; background: var(--bg-light); }
.practice-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px) {
  .practice-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
}
.practice-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .practice-content { padding: 48px 44px; } }
.practice-content .lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1efe9;
}
.practice-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin: 36px 0 14px;
  position: relative;
  padding-left: 18px;
}
.practice-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 4px;
}
.practice-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.practice-content strong { color: var(--dark); font-weight: 600; }
.tick-list { list-style: none; padding: 8px 0 16px; display: grid; gap: 8px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  line-height: 1.7;
}
.tick-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.tick-list.two-col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tick-list.two-col { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }

/* Institution grid (arbitration page) */
.institution-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 20px;
  padding: 0;
}
@media (min-width: 640px) { .institution-grid { grid-template-columns: repeat(3, 1fr); } }
.institution-grid li {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 16px 14px;
  border-left: 3px solid var(--gold);
}
.institution-grid strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--dark);
}
.institution-grid span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* Practice CTA box */
.practice-cta {
  background: linear-gradient(135deg, #04367d 0%, #1a2a40 100%);
  color: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  margin-top: 40px;
  text-align: center;
}
.practice-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}
.practice-cta p { color: rgba(255,255,255,0.7); margin-bottom: 18px; }

/* Sidebar */
.practice-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-card ul { display: grid; gap: 8px; }
.sidebar-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.sidebar-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.sidebar-card ul.toc li a { color: var(--text); font-weight: 500; }
.sidebar-card ul.toc li a:hover { color: var(--gold); }
.sidebar-cta { background: linear-gradient(135deg, #fffbe9 0%, #fff5d0 100%); }
.btn-outline-gold {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  margin-top: 10px;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* Practice TOC pill row (on practice-areas.html) */
.practice-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}
.toc-pill {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  color: var(--text);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}
.toc-pill:hover { transform: translateY(-2px); color: var(--gold); border-color: var(--gold); }
.toc-pill.featured {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 20px rgba(184,150,12,0.3);
}
.toc-pill.featured:hover { background: var(--gold-light); color: #fff; }

/* Practice sections on practice-areas.html */
.practice-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  scroll-margin-top: 80px;
}
@media (min-width: 640px) { .practice-section { padding: 40px 40px; } }
.practice-section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1efe9;
}
.practice-section-head img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.practice-section-head h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--dark);
  margin: 0;
}
.practice-section p {
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}
.practice-section strong { color: var(--dark); }

/* ============================================================
   NEWS HIGHLIGHT (represented cases)
   ============================================================ */
.news-card.represented {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fffbe9 0%, #ffffff 50%);
  position: relative;
}
.news-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.news-card.represented .news-date { color: #7a5a00; font-weight: 600; }
.news-card em { color: var(--text); font-style: italic; font-weight: 500; }

/* ============================================================
   CAREERS / RESUME UPLOAD
   ============================================================ */
.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) { .careers-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.careers-intro p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.careers-intro .tick-list { margin-top: 14px; }
.resume-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.resume-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}
.resume-form label.full { grid-column: 1 / -1; }
.resume-form label small { color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.resume-form input[type="text"],
.resume-form input[type="email"],
.resume-form input[type="tel"],
.resume-form select,
.resume-form textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1px solid #e3decf;
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.resume-form input:focus,
.resume-form select:focus,
.resume-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.resume-form textarea { resize: vertical; min-height: 80px; }
.file-upload { position: relative; }
.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: calc(100% - 20px);
  bottom: 0;
  cursor: pointer;
}
.file-chosen {
  display: block;
  padding: 16px;
  background: var(--bg-light);
  border: 1.5px dashed #d5cfb8;
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.file-chosen:hover { border-color: var(--gold); background: #fffbe9; color: var(--dark); }
.file-chosen.has-file { border-style: solid; border-color: var(--gold); background: #fffbe9; color: var(--dark); font-weight: 500; }
.file-chosen.has-error { border-color: #c1272d; color: #c1272d; background: #fff4f4; }
.resume-form button.full { grid-column: 1 / -1; }
.form-note {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 540px) {
  .resume-form { grid-template-columns: 1fr; padding: 22px 18px; }
}

/* ============================================================
   STANDARD PAGE HERO (About, Team, Sectors, Knowledge, etc.)
   ============================================================ */
.page-hero-std {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #04367d 0%, #0a2051 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.page-hero-std .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.page-hero-std .breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.page-hero-std .breadcrumb a:hover { color: var(--gold); }
.page-hero-std h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  margin: 0 0 8px;
  color: #fff;
}
.page-hero-std-tag {
  color: var(--gold);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.std-body { padding: 52px 0 72px; }
.std-body .lead { font-size: 1.05rem; line-height: 1.7; color: #334; }
.std-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 28px 0 10px;
  color: var(--dark);
}
.std-layout { display: grid; grid-template-columns: 1fr; gap: 36px; }
.std-content { max-width: 820px; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.team-card {
  background: #fff;
  border: 1px solid #ece7d7;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.team-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f6f1dd, #ece4c4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 18px 20px 22px; }
.team-body h3 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 1.2rem; }
.team-role {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.team-body p { font-size: 0.9rem; line-height: 1.6; color: #4a5261; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 42px;
}
.contact-card {
  background: #fff;
  border: 1px solid #ece7d7;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.contact-card h3 { margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.15rem; }
.contact-card p { font-size: 0.92rem; line-height: 1.6; color: #4a5261; margin: 0 0 8px; }

.contact-form {
  background: #fffbef;
  border: 1px solid #ece7d7;
  border-radius: var(--radius);
  padding: 28px 26px;
  max-width: 720px;
}
.contact-form h3 { margin: 0 0 18px; font-family: var(--font-serif); font-size: 1.25rem; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: #4a5261;
  margin-bottom: 12px;
  gap: 4px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #d5cfb8;
  border-radius: 4px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.contact-form button { margin-top: 8px; }
@media (max-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   SECTOR / NEWS / EVENTS GRIDS
   ============================================================ */
.sectors-grid,
.news-grid,
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.sector-card,
.event-card {
  background: #fff;
  border: 1px solid #ece7d7;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  transition: var(--transition);
}
.sector-card:hover,
.event-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.07); }
.sector-card h3,
.event-card h3 { margin: 6px 0 10px; font-family: var(--font-serif); font-size: 1.08rem; color: var(--dark); }
.sector-card p,
.event-card p { font-size: 0.88rem; line-height: 1.6; color: #4a5261; margin: 0; }
.event-year {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.news-card {
  background: #fff;
  border: 1px solid #ece7d7;
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.07); }
.news-card.represented { border-left: 3px solid var(--gold); }
.news-badge {
  display: inline-block;
  background: #fffbef;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.news-date { font-size: 0.78rem; color: #7a7f8a; margin: 0 0 6px; }
.news-card h3 { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.4; color: var(--dark); margin: 4px 0 10px; }
.news-card p { font-size: 0.88rem; line-height: 1.6; color: #4a5261; margin: 0 0 12px; }
.news-link {
  margin-top: auto;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.news-link:hover { border-bottom-color: var(--gold); }


/* ============================================================ */
/* =========  LANDING PAGE V2 - overrides & additions  ========= */
/* ============================================================ */

/* Compact topbar */
.topbar { padding: 6px 0; font-size: 0.75rem; }
.topbar-inner { justify-content: center; gap: 10px; color: rgba(255,255,255,0.85); }
.topbar .tb-addr { opacity: 0.9; }
.topbar .tb-link { color: rgba(255,255,255,0.92); transition: color .2s; }
.topbar .tb-link:hover { color: var(--orange); }
.topbar .tb-sep { opacity: 0.35; }
@media (max-width: 760px) {
  .topbar { font-size: 0.68rem; padding: 5px 0; }
  .topbar-inner { gap: 6px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .topbar .tb-sep { display: none; }
  .topbar .tb-addr { display: block; width: 100%; margin-bottom: 2px; }
  .topbar .tb-link { font-size: 0.68rem; }
}

/* Header page-nav (flat desktop nav) */
.page-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.page-nav a {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.page-nav a:hover, .page-nav a.is-active { color: var(--navy); background: rgba(4,54,125,0.06); }
.page-nav a.nav-cta { background: var(--orange); color: #fff; }
.page-nav a.nav-cta:hover { background: var(--orange-light); color: #fff; }

/* ====== HERO SPLIT (carousel right) ====== */
.hero-split {
  position: relative;
  background: linear-gradient(135deg, #fafbff 0%, #eef3fb 100%);
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(32,118,180,0.08), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(235,147,79,0.07), transparent 55%);
  pointer-events: none;
}
.hero-split .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}
.hero-split .hero-content { max-width: 560px; }
.hero-split .hero-visual {
  position: relative;
  width: 100%;
  max-width: none;
  justify-self: end;
}
.hero-split .hero-eyebrow {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-split h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 700;
}
.hero-split h1 .accent { color: var(--orange); }
.hero-split .hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a5261;
  margin-bottom: 26px;
}
.hero-split .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4,54,125,0.18);
  background: linear-gradient(135deg, #eef3fb, #d6e1ee);
}
.hc-track { position: absolute; inset: 0; }
.hc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hc-slide.is-active { opacity: 1; z-index: 1; }
.hc-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.hc-dot.is-active { background: var(--orange); transform: scale(1.3); }

@media (max-width: 900px) {
  .hero-split { padding: 40px 0 50px; }
  .hero-split .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  .hero-split .hero-content { max-width: 100%; }
  .hero-split h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero-split .hero-sub { font-size: 0.98rem; }
  .hero-carousel { aspect-ratio: 16 / 10; }
}

/* Stats strip */
.stats-strip { background: var(--navy); color: #fff; padding: 26px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.stat-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--orange); }
.stat-item h3 { font-size: 1.05rem; margin: 0 0 2px; font-family: var(--font-sans); font-weight: 600; color: #fff; }
.stat-item p { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.75); line-height: 1.4; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-strip { padding: 20px 0; }
}

/* About preview */
.about-preview { padding: 70px 0; }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-preview-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--navy);
  line-height: 1.2;
  margin: 4px 0 18px;
}
.about-preview-text p { margin-bottom: 14px; font-size: 0.98rem; color: #4a5261; }
.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-card {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 10px;
  padding: 18px 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(4,54,125,0.08); border-color: rgba(32,118,180,0.3); }
.value-card svg { width: 28px; height: 28px; color: var(--orange); margin-bottom: 4px; }
.value-card strong { font-family: var(--font-serif); font-size: 1.02rem; color: var(--navy); }
.value-card span { font-size: 0.82rem; color: #6b7078; }
@media (max-width: 860px) {
  .about-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .value-cards { grid-template-columns: 1fr 1fr; }
}

/* Practice area view-more toggle */
.cards-grid .card.is-extra { display: none; }
.cards-grid.show-all .card.is-extra { display: flex; }
.center-btn { text-align: center; margin-top: 36px; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 28px;
  display: inline-block;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 26px;
  display: inline-block;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Services with SVG icons */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.service-item {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 10px;
  padding: 22px 18px;
  text-align: left;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
}
.service-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(4,54,125,0.08); border-color: rgba(32,118,180,0.3); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(32,118,180,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 6px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-item h3 { font-family: var(--font-serif); font-size: 1rem; color: var(--navy); margin: 0; line-height: 1.35; }
.service-item p { font-size: 0.85rem; color: #6b7078; margin: 0; line-height: 1.55; }

/* Section head row */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head-row h2 { margin-bottom: 0; }

/* Team carousel */
.team-section { padding: 70px 0; }
.team-carousel {
  position: relative;
  padding: 0 8px;
}
.tc-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.tc-track::-webkit-scrollbar { height: 6px; }
.tc-track::-webkit-scrollbar-thumb { background: rgba(4,54,125,0.25); border-radius: 3px; }
.tc-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(4,54,125,0.1); }
.tc-avatar {
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-avatar-initials {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.05rem; margin: 0 0 2px; }
.tc-role { color: var(--orange); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.tc-bio { font-size: 0.84rem; color: #6b7078; line-height: 1.55; margin: 0; }
.tc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  border: 1px solid #e7ecf3;
  box-shadow: 0 6px 18px rgba(4,54,125,0.1);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s, color .2s;
}
.tc-arrow:hover { background: var(--navy); color: #fff; }
.tc-prev { left: -18px; }
.tc-next { right: -18px; }
@media (max-width: 900px) {
  .tc-arrow { display: none; }
  .tc-card { flex: 0 0 78%; }
}

/* CTA banner above footer */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(235,147,79,0.18), transparent 55%);
  pointer-events: none;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.cta-copy h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 6px; line-height: 1.2; }
.cta-copy p { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.98rem; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; text-align: center; }
}

/* Mobile-first shrink for card grids */
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: auto; }
  .card .img-frame { height: 160px; }
  .card-body { padding: 16px; }
  .card-body h3 { font-size: 1.05rem; }
  .card-body p { font-size: 0.9rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-item { padding: 16px 12px; }
  .service-item h3 { font-size: 0.9rem; }
  .service-item p { font-size: 0.78rem; }
  .value-cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head-row .btn { align-self: flex-start; }
}

/* News-card clickable as anchor */
a.news-card { color: inherit; }
a.news-card:hover { color: inherit; }

/* ===== PRACTICE LEAD FORM (per-area CTA on dedicated pages) ===== */
.practice-cta.practice-lead-form {
  background: linear-gradient(135deg, #f6f9fd 0%, #eef3fb 100%);
  border: 1px solid rgba(4, 54, 125, 0.08);
  border-radius: 16px;
  padding: 40px 36px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(4, 54, 125, 0.06);
}
.practice-lead-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--navy, #04367d);
  margin: 0 0 10px;
}
.practice-lead-form > p {
  color: #4a5568;
  margin: 0 0 22px;
  font-size: 1rem;
}
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-form input,
.lead-form textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #1a202c;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--blue, #2076b4);
  box-shadow: 0 0 0 3px rgba(32, 118, 180, 0.12);
}
.lead-form textarea { resize: vertical; min-height: 88px; }
.lf-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.lf-actions .btn { white-space: nowrap; }
.lf-note {
  color: #6b7a8c;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .practice-cta.practice-lead-form { padding: 28px 20px; border-radius: 12px; }
  .practice-lead-form h3 { font-size: 1.35rem; }
  .lf-row { grid-template-columns: 1fr; gap: 12px; }
  .lf-actions { gap: 10px; }
  .lf-actions .btn { width: 100%; text-align: center; }
  .lf-note { font-size: 0.78rem; }
}

/* ===== ABOUT US PAGE ===== */
.about-intro {
  padding: 64px 0 32px;
  background: #fff;
}
.about-intro .lead {
  font-size: 1.25rem;
  color: var(--navy, #04367d);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 880px;
}
.about-intro p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: #3b4556;
  margin-bottom: 16px;
  max-width: 880px;
}
.about-features {
  padding: 56px 0;
  background: linear-gradient(180deg, #f6f9fd 0%, #eef3fb 100%);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feat-item {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(4, 54, 125, 0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(4, 54, 125, 0.1);
}
.feat-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy, #04367d), var(--blue, #2076b4));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feat-ico svg { width: 34px; height: 34px; }
.feat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--navy, #04367d);
  margin: 0 0 10px;
}
.feat-item p {
  font-size: 0.97rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}
.core-values {
  padding: 72px 0;
  background: #fff;
}
.core-values .section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange, #eb934f);
  margin: 0 0 8px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--navy, #04367d);
  margin: 0 0 10px;
}
.section-head .section-sub {
  color: #4a5568;
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto;
}
.cv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cv-card {
  background: #fff;
  border: 1px solid rgba(4, 54, 125, 0.08);
  border-top: 4px solid var(--orange, #eb934f);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(4, 54, 125, 0.08);
}
.cv-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue, #2076b4);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 14px;
}
.cv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy, #04367d);
  margin: 0 0 10px;
}
.cv-card p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}
.about-team {
  padding: 72px 0;
  background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%);
}
.about-team .section-head { text-align: center; margin-bottom: 40px; }
.team-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-grid-preview .team-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(4, 54, 125, 0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-grid-preview .team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(4, 54, 125, 0.12);
}
.team-grid-preview .team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef3fb;
}
.team-grid-preview .team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.team-grid-preview .team-card:hover .team-photo img { transform: scale(1.06); }
.team-grid-preview .team-body { padding: 18px 20px 22px; }
.team-grid-preview .team-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy, #04367d);
  margin: 0 0 4px;
}
.team-grid-preview .team-role {
  color: var(--orange, #eb934f);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
}
.cta-center { text-align: center; margin-top: 40px; }

/* ===== TEAM PROFILE PAGE ===== */
.team-body { padding: 64px 0; background: #fff; }
.tm-profile {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(4, 54, 125, 0.08);
  scroll-margin-top: 120px;
}
.tm-profile:last-of-type { border-bottom: none; }
.tm-photo {
  width: 240px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3fb, #f6f9fd);
  box-shadow: 0 6px 24px rgba(4, 54, 125, 0.1);
}
.tm-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tm-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--navy, #04367d);
  margin: 0 0 6px;
}
.tm-role {
  color: var(--orange, #eb934f);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.tm-meta {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 20px;
  margin: 0;
}
.tm-meta dt {
  font-weight: 600;
  color: var(--navy, #04367d);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tm-meta dd {
  margin: 0;
  color: #3b4556;
  font-size: 0.97rem;
  line-height: 1.65;
}
.tm-meta a { color: var(--blue, #2076b4); text-decoration: none; }
.tm-meta a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; gap: 20px; }
  .cv-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid-preview { grid-template-columns: repeat(2, 1fr); }
  .tm-profile {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
  .tm-photo { width: 180px; margin: 0; }
  .tm-info h2 { font-size: 1.55rem; }
  .tm-meta { grid-template-columns: 1fr; gap: 4px 0; }
  .tm-meta dt { margin-top: 12px; }
  .tm-meta dt:first-child { margin-top: 0; }
}
@media (max-width: 560px) {
  .cv-grid { grid-template-columns: 1fr; }
  .team-grid-preview { grid-template-columns: 1fr; }
  .about-intro { padding: 40px 0 24px; }
  .about-features, .core-values, .about-team { padding: 48px 0; }
  .tm-photo { width: 100%; max-width: 260px; aspect-ratio: 1; }
}

/* ===== PRACTICE-AREAS LIST — clickable cards ===== */
.practice-section.has-link {
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.practice-section.has-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(4, 54, 125, 0.12);
  border-color: rgba(32, 118, 180, 0.3);
}
.ps-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .2s ease;
  position: relative;
  z-index: 2;
}
.practice-section.has-link:hover .ps-title-link { color: var(--blue, #2076b4); }
.ps-arrow {
  display: inline-block;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--orange, #eb934f);
  transition: transform .25s ease;
}
.practice-section.has-link:hover .ps-arrow { transform: translateX(4px); }
.ps-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue, #2076b4);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  transition: color .2s ease, gap .2s ease;
}
.ps-cta:hover {
  color: var(--navy, #04367d);
  gap: 10px;
  text-decoration: underline;
}
.ps-stretched {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: 0;
  color: transparent;
  background: transparent;
}
.ps-stretched:focus { outline: 2px solid var(--blue, #2076b4); outline-offset: 2px; }

/* ===========================================================
   FLOATING ACTION BUTTONS (Back to top + Call now)
   =========================================================== */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab-btn {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 54, 125, 0.28), 0 2px 6px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, background-color .25s ease;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.fab-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab-call {
  background: linear-gradient(135deg, #16a34a, #15803d);
  animation: fabPulse 2.4s ease-in-out infinite;
}
.fab-call:hover { transform: translateY(-3px) scale(1.05); background: linear-gradient(135deg, #15803d, #14532d); }
.fab-top {
  background: linear-gradient(135deg, #04367d, #2076b4);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
}
.fab-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-top:hover { transform: translateY(-3px) scale(1.05); background: linear-gradient(135deg, #2076b4, #04367d); }
.fab-btn:focus-visible { outline: 3px solid rgba(32, 118, 180, 0.45); outline-offset: 3px; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45), 0 0 0 0 rgba(22, 163, 74, 0.45); }
  50%      { box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45), 0 0 0 12px rgba(22, 163, 74, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .fab-call { animation: none; }
  .fab-btn, .fab-top { transition: opacity .2s ease; }
}
@media (max-width: 640px) {
  .fab-stack { right: 12px; bottom: 12px; gap: 10px; }
  .fab-btn { width: 48px; height: 48px; }
  .fab-btn svg { width: 20px; height: 20px; }
}

/* ===========================================================
   GLOBAL RESPONSIVE OPTIMIZATIONS — TABLET + MOBILE
   =========================================================== */

/* Images never overflow their container */
img, picture, video, iframe { max-width: 100%; height: auto; }
.container { width: 100%; box-sizing: border-box; }

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .topbar-inner { flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }
  .header-inner { gap: 12px; }
  .page-nav { gap: 14px; font-size: 0.92rem; }
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-split .hero-visual { justify-self: stretch; order: -1; }
  .hero-carousel { min-height: 280px; aspect-ratio: 16/10; }
  .hero h1, .hero-split h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); line-height: 1.15; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head h2, .section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
  .feat-grid, .cv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-grid, .team-grid-preview { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .practice-cta.practice-lead-form { padding: 28px; }
}

/* MOBILE (<= 760px) */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar { font-size: 11.5px; padding: 6px 0; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 2px; }
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding: 10px 0; }
  .logo img { width: 128px; height: auto; }
  .page-nav { order: 3; width: 100%; gap: 4px 10px; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; padding-top: 6px; }
  .page-nav a { padding: 4px 8px; }
  .nav-cta { padding: 6px 12px !important; }
  .hero, .page-hero-std { padding: 48px 0 40px; }
  .hero h1, .hero-split h1, .page-hero-std h1 { font-size: clamp(1.75rem, 6vw, 2.3rem); }
  .hero p, .hero-split p.lead, .page-hero-std-tag { font-size: 1rem; line-height: 1.55; }
  .hero-cta-row, .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn, .cta-row .btn, .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .hero-carousel { min-height: 220px; border-radius: 14px; }
  .hc-dots { bottom: 8px; }
  .section { padding: 44px 0; }
  .section-head h2, .section h2, h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); line-height: 1.2; }
  .feat-grid, .cv-grid, .news-grid, .team-grid, .team-grid-preview { grid-template-columns: 1fr !important; gap: 16px; }
  .feat-item, .cv-card, .team-card, .tm-profile { padding: 18px; }
  .tm-profile { grid-template-columns: 1fr !important; text-align: center; }
  .tm-photo { max-width: 180px; margin: 0 auto 12px; }
  .tm-meta dt { font-size: 0.75rem; }
  .tm-meta dd { font-size: 0.95rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .footer-logo { max-width: 160px; height: auto; }
  .lf-row { grid-template-columns: 1fr !important; gap: 10px; }
  .lead-form input, .lead-form textarea { width: 100%; box-sizing: border-box; }
  .lf-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .practice-cta.practice-lead-form { padding: 22px 18px; border-radius: 14px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .breadcrumb { font-size: 0.85rem; flex-wrap: wrap; }
  .tc-card, .news-card, .practice-section { padding: 18px; }
  .practice-section.has-link { padding: 20px; }
  .ps-cta { font-size: 0.9rem; }
  .clients-marquee { gap: 14px; }
}

/* SMALL MOBILE (<= 420px) */
@media (max-width: 420px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .logo img { width: 116px; }
  .page-nav { gap: 2px 8px; font-size: 0.8rem; }
  .hero h1, .hero-split h1 { font-size: 1.55rem; }
  .client-tile { width: 140px; height: 90px; padding: 12px 14px; }
  .btn { padding: 10px 16px; font-size: 0.92rem; }
  .fab-btn { width: 46px; height: 46px; }
}

/* ===========================================================
   HERO — EDITORIAL (info-led, typographic, no carousel)
   =========================================================== */
.hero-editorial {
  position: relative;
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(32, 118, 180, 0.07), transparent 60%),
    linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(4, 54, 125, 0.08);
  overflow: hidden;
}
.hero-editorial::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #04367d 0%, #2076b4 100%);
  opacity: 0.8;
}
.hero-editorial .container { max-width: 1140px; }
.hero-editorial .hero-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2076b4;
  margin: 0 0 22px;
}
.hero-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #0a1f3f;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: #374151;
  max-width: 58ch;
  margin: 0 0 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.hero-actions .btn-primary {
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-textlink {
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: #04367d;
  text-decoration: none;
  border-bottom: 1px solid rgba(4, 54, 125, 0.25);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.hero-textlink:hover {
  color: #2076b4;
  border-bottom-color: #2076b4;
}

/* Credentials strip — collapsed stats */
.hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid rgba(4, 54, 125, 0.12);
  margin: 0;
}
.hero-credentials > div {
  padding: 0 28px;
  border-left: 1px solid rgba(4, 54, 125, 0.08);
}
.hero-credentials > div:first-child {
  padding-left: 0;
  border-left: none;
}
.hero-credentials dt {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: #04367d;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hero-credentials dd {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .hero-editorial::before { width: 2px; }
  .hero-credentials { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
  .hero-credentials > div { padding: 14px 0 0; border-left: none; border-top: 1px solid rgba(4, 54, 125, 0.08); }
  .hero-credentials > div:first-child { border-top: none; padding-top: 0; }
  .hero-actions { gap: 16px; }
  .hero-actions .btn-primary { width: 100%; text-align: center; justify-content: center; }
  .hero-textlink { width: 100%; text-align: left; }
}

/* ===========================================================
   NAV DROPDOWNS (desktop hover + mobile accordion)
   =========================================================== */
.nav-caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7em;
  opacity: 0.7;
  transition: transform .25s ease;
}
.nav-dropdown { list-style: none; margin: 0; padding: 0; }

/* --- Mobile: accordion inside off-canvas nav --- */
@media (max-width: 1023px) {
  .nav-item.has-dropdown > .nav-link { display: flex; justify-content: space-between; }
  .nav-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(4, 54, 125, 0.03);
    transition: max-height .35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-item.has-dropdown.is-open > .nav-dropdown { max-height: 900px; }
  .nav-item.has-dropdown.is-open > .nav-link .nav-caret { transform: rotate(180deg); }
  .nav-dropdown li a {
    display: block;
    padding: 12px 36px;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .nav-dropdown li a:hover { background: rgba(184,150,12,0.08); color: #04367d; }
  .nav-dropdown .is-featured { color: #04367d; font-weight: 600; }
}

/* --- Desktop: hover + focus dropdowns --- */
@media (min-width: 1024px) {
  .nav-list { gap: 4px; }
  .nav-item { position: relative; }
  .nav-item.has-dropdown > .nav-link { padding-right: 10px; }
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 10px 0;
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid rgba(4, 54, 125, 0.08);
    border-radius: 10px;
    box-shadow: 0 20px 44px rgba(4, 54, 125, 0.18), 0 4px 12px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 120;
  }
  .nav-item.has-dropdown::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 10px;              /* invisible bridge so hover doesn't break */
  }
  .nav-item.has-dropdown:hover > .nav-dropdown,
  .nav-item.has-dropdown:focus-within > .nav-dropdown,
  .nav-item.has-dropdown.is-open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item.has-dropdown:hover > .nav-link .nav-caret,
  .nav-item.has-dropdown.is-open > .nav-link .nav-caret {
    transform: rotate(180deg);
  }
  .nav-dropdown li { list-style: none; }
  .nav-dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 0.88rem;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.35;
    transition: background .15s ease, color .15s ease, padding-left .15s ease;
    border-left: 2px solid transparent;
  }
  .nav-dropdown li a:hover {
    background: rgba(32, 118, 180, 0.06);
    color: #04367d;
    border-left-color: #2076b4;
    padding-left: 22px;
  }
  .nav-dropdown .is-featured {
    font-weight: 600;
    color: #04367d;
    border-top: 1px solid rgba(4, 54, 125, 0.08);
    margin-top: 6px;
    padding-top: 12px;
  }

  /* Mega menu: 2-column for Practice Areas */
  .nav-item.is-mega .nav-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 520px;
    padding: 14px 6px;
    gap: 0 4px;
  }
  .nav-item.is-mega .nav-dropdown .is-featured {
    grid-column: 1 / -1;
  }

  /* Right-edge protection: flip last dropdowns to the right */
  .nav-list > li:nth-last-child(-n+2) .nav-dropdown { left: auto; right: 0; }
  .nav-list > li:nth-last-child(-n+2).is-mega .nav-dropdown { right: 0; left: auto; }

  /* Tighter nav rhythm */
  .nav-link {
    padding: 10px 14px;
    font-size: 0.88rem;
    letter-spacing: 0.005em;
    border-radius: 6px;
  }
  .nav-link.is-active {
    color: #04367d;
    background: rgba(4, 54, 125, 0.06);
  }
}

/* ===========================================================
   FOOTER — universal polish
   =========================================================== */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity .2s ease;
}
.footer-contact a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-bottom-inner a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom-inner a:hover { color: rgba(255,255,255,0.85); }
@media (max-width: 760px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ===== GALLERY (editorial masonry) ===== */
.gallery-section {
  padding: 60px 0;
  background: #fafaf7;
}
.gallery-section-alt { background: #fff; }
.gallery-section .section-head {
  text-align: center;
  margin-bottom: 32px;
}
.gallery-section .section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  color: var(--navy, #0b2545);
  margin: 0 0 8px;
}
.gallery-section .section-head p {
  color: #5a5a5a;
  font-size: 0.98rem;
  max-width: 56ch;
  margin: 0 auto;
}

.gallery-grid#galleryGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
}
@media (min-width: 640px) {
  .gallery-grid#galleryGrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 12px; }
}
@media (min-width: 1024px) {
  .gallery-grid#galleryGrid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
}
.gallery-tile {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ececec;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(0.95);
}
.gallery-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.14); }
.gallery-tile:hover img { transform: scale(1.06); filter: saturate(1.08); }
.gallery-tile.span-2 { grid-column: span 2; }
.gallery-tile.tall { grid-row: span 2; }
@media (max-width: 639px) {
  .gallery-tile.span-2 { grid-column: span 2; }
  .gallery-tile.tall { grid-row: span 1; }
}

/* Client/trademark logo grids */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .client-logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .client-logo-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .client-logo-grid { grid-template-columns: repeat(6, 1fr); } }
.client-logo-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.25s ease;
}
.client-logo-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: #dcdcdc;
}
.client-logo-card:hover img { filter: grayscale(0); }

.gallery-footnote {
  text-align: center;
  margin-top: 24px;
  font-size: 0.92rem;
  color: #6a6a6a;
}
.gallery-footnote a {
  color: var(--navy, #0b2545);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.lightbox.is-open {
  display: flex;
  animation: lb-fade 0.2s ease;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 640px) {
  .lightbox-close, .lightbox-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
}
body.lb-lock { overflow: hidden; }

/* ===========================================================
   HERO — LAYERED (background image + scrim + text overlay)
   Mobile: text on top, image stacks below
   =========================================================== */
.hero-layered {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
  color: #fff;
  background: #0a1f3f;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-scrim { z-index: 1; }
.hero-bg-stack {
  position: absolute;
  inset: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.15) saturate(0.9);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease;
  will-change: opacity, transform;
}
.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1.02);
}

/* "Next" polaroid button — floats bottom-right, shows upcoming image */
.hero-bg-next {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(24px, 5vw, 56px);
  width: clamp(170px, 22vw, 260px);
  height: clamp(115px, 14vw, 170px);
  padding: 0;
  border: 3px solid rgba(255,255,255,0.9);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #0a1f3f;
  box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 0 6px rgba(255,255,255,0.06);
  transform: rotate(-2deg);
  z-index: 3;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}
.hero-bg-next:hover,
.hero-bg-next:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.65), 0 0 0 6px rgba(255,255,255,0.1);
  border-color: #ffffff;
  outline: none;
}
.hero-bg-next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, opacity 0.35s ease;
}
.hero-bg-next img.is-swapping {
  opacity: 0;
  transform: scale(1.08);
}
.hero-bg-next-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(0deg, rgba(6,18,40,0.85) 0%, rgba(6,18,40,0) 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-bg-next-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #04367d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease;
}
.hero-bg-next:hover .hero-bg-next-caret { transform: translateX(2px); }
.hero-bg-next-count { opacity: 0.9; font-size: 0.72rem; letter-spacing: 0.14em; }
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 18, 40, 0.92) 0%, rgba(6, 18, 40, 0.78) 42%, rgba(6, 18, 40, 0.35) 78%, rgba(6, 18, 40, 0.15) 100%),
    linear-gradient(180deg, rgba(6,18,40,0.25) 0%, rgba(6,18,40,0.55) 100%);
}
.hero-layered .hero-content {
  position: relative;
  max-width: 1140px;
  z-index: 2;
}
.hero-layered .hero-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8ab4dc;
  margin: 0 0 22px;
}
.hero-layered .hero-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 24px;
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-layered .hero-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 58ch;
  margin: 0 0 36px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-layered .hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 68px);
}
.hero-layered .hero-actions .btn-primary {
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #ffffff;
  color: #04367d;
  border: none;
}
.hero-layered .hero-actions .btn-primary:hover {
  background: #f0f4fb;
  transform: translateY(-1px);
}
.hero-layered .hero-textlink {
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.hero-layered .hero-textlink:hover {
  color: #8ab4dc;
  border-bottom-color: #8ab4dc;
}
.hero-layered .hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.22);
  margin: 0;
  max-width: 900px;
}
.hero-layered .hero-credentials > div {
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.hero-layered .hero-credentials > div:first-child {
  padding-left: 0;
  border-left: none;
}
.hero-layered .hero-credentials dt {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hero-layered .hero-credentials dd {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin: 0;
}

/* Mobile-only image below text */
.hero-mobile-image { display: none; }

/* ============ Mobile / Tablet: stack text over image ============ */
@media (max-width: 860px) {
  .hero-layered {
    min-height: auto;
    padding: 56px 0 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    color: #0a1f3f;
    display: block;
  }
  .hero-bg { display: none; }
  .hero-bg-next { display: none; }
  .hero-layered .hero-eyebrow { color: #2076b4; }
  .hero-layered .hero-heading {
    color: #0a1f3f;
    text-shadow: none;
    font-size: clamp(2rem, 7vw, 2.8rem);
    max-width: 18ch;
  }
  .hero-layered .hero-lede {
    color: #374151;
    text-shadow: none;
  }
  .hero-layered .hero-actions { gap: 14px; margin-bottom: 36px; }
  .hero-layered .hero-actions .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    background: #04367d;
    color: #fff;
  }
  .hero-layered .hero-actions .btn-primary:hover { background: #2076b4; }
  .hero-layered .hero-textlink {
    color: #04367d;
    border-bottom-color: rgba(4,54,125,0.3);
    width: 100%;
    text-align: left;
  }
  .hero-layered .hero-credentials {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(4,54,125,0.12);
    margin-bottom: 32px;
  }
  .hero-layered .hero-credentials > div {
    padding: 14px 0 0;
    border-left: none;
    border-top: 1px solid rgba(4,54,125,0.08);
  }
  .hero-layered .hero-credentials > div:first-child {
    border-top: none;
    padding-top: 0;
  }
  .hero-layered .hero-credentials dt { color: #04367d; }
  .hero-layered .hero-credentials dd { color: #6b7280; }

  .hero-mobile-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-top: 1px solid rgba(4,54,125,0.08);
  }
  .hero-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}
@media (max-width: 480px) {
  .hero-mobile-image { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { transform: none !important; transition: opacity 0.3s ease !important; }
}

/* ===========================================================
   FOOTER — unified (desktop + tablet + mobile)
   Overrides earlier conflicting rules.
   =========================================================== */
.footer {
  background: #0a1528;
  color: rgba(255,255,255,0.72);
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-top: 3px solid #04367d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  align-items: start;
}
.footer-brand { max-width: 360px; }
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(10);
  display: block;
}
.footer-col > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  margin: 0 0 20px;
}
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c9a66b;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #c9a66b;
  border-radius: 2px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li { margin: 0 0 10px; }
.footer-col ul li a {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: #ffffff;
  padding-left: 4px;
  outline: none;
}

/* Footer contact block */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-contact > span,
.footer-contact > a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact > a:hover { color: #ffffff; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  background: rgba(0,0,0,0.25);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-inner p { margin: 0; }
.footer-bottom-inner a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-inner a:hover { color: #ffffff; }

/* Tablet */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .footer { padding-top: 44px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-brand { grid-column: auto; }
  .footer-logo { height: 42px; margin-bottom: 14px; }
  .footer-col > p { font-size: 0.92rem; margin-bottom: 16px; }
  .footer-col h4 {
    font-size: 0.8rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { font-size: 0.92rem; }
  .footer-contact { font-size: 0.92rem; gap: 12px; }
  .footer-bottom { padding: 16px 0; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8rem;
    text-align: left;
  }
}

/* Very small screens — tighten padding */
@media (max-width: 380px) {
  .footer { padding-top: 36px; }
  .footer-grid { gap: 24px; }
}

/* ===========================================================
   SUBPAGE POLISH — unifies practice-hero + page-hero-std,
   refines sidebar, body prose, lead form, adds sibling nav
   =========================================================== */

/* ---------- Unified page hero ---------- */
.practice-hero,
.page-hero-std {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(1200px 440px at 85% -30%, rgba(32, 118, 180, 0.18), transparent 60%),
    linear-gradient(135deg, #0a1f3f 0%, #04367d 55%, #0a2a5a 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.practice-hero::after,
.page-hero-std::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 166, 107, 0.35) 50%, transparent 100%);
}
.practice-hero > .container,
.page-hero-std > .container {
  position: relative;
  max-width: 1140px;
}
.practice-hero .breadcrumb,
.page-hero-std .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  margin: 0 0 22px;
}
.practice-hero .breadcrumb a,
.page-hero-std .breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s ease;
}
.practice-hero .breadcrumb a:hover,
.page-hero-std .breadcrumb a:hover { color: #c9a66b; }
.practice-hero .breadcrumb span,
.page-hero-std .breadcrumb span { color: #c9a66b; opacity: 0.7; }
.practice-hero h1,
.page-hero-std h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 16px;
  max-width: 22ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.practice-hero-tag,
.page-hero-std-tag {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 62ch;
  font-weight: 400;
}

@media (max-width: 640px) {
  .practice-hero,
  .page-hero-std { padding: 56px 0 40px; }
  .practice-hero h1,
  .page-hero-std h1 {
    font-size: clamp(1.7rem, 6.4vw, 2.2rem);
    max-width: none;
  }
  .practice-hero-tag,
  .page-hero-std-tag { font-size: 0.98rem; }
  .practice-hero .breadcrumb,
  .page-hero-std .breadcrumb { font-size: 0.78rem; margin-bottom: 14px; }
}

/* ---------- Body prose polish ---------- */
.practice-content,
.std-body .container > article,
.std-body .container > .std-content {
  max-width: 72ch;
}
.practice-content .lead,
.std-body .lead {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  line-height: 1.65;
  color: #1f2b40;
  font-weight: 400;
  margin: 0 0 28px;
}
.practice-content h2,
.std-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.25;
  color: #0a1f3f;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 0;
}
.practice-content h2::before {
  content: none;
}
.practice-content h2::after,
.std-body h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #c9a66b;
  border-radius: 2px;
  margin-top: 10px;
}
.practice-content p,
.std-body p {
  font-size: 1rem;
  line-height: 1.72;
  color: #384357;
  margin: 0 0 16px;
}
.practice-content ul:not(.tick-list),
.std-body ul:not(.tick-list) {
  padding-left: 22px;
  margin: 0 0 18px;
}
.practice-content ul:not(.tick-list) li,
.std-body ul:not(.tick-list) li {
  line-height: 1.7;
  color: #384357;
  margin-bottom: 6px;
}

/* Tick-list refinement */
.tick-list { padding: 6px 0 18px; gap: 10px; }
.tick-list li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #374151;
  padding-left: 30px;
  position: relative;
}
.tick-list li::before {
  top: 4px;
  width: 20px;
  height: 20px;
  background: #e8f0fb;
  color: #04367d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Sidebar — consistent cards ---------- */
.practice-sidebar { gap: 18px; }
.sidebar-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(10, 31, 63, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.sidebar-card:hover {
  box-shadow: 0 6px 20px rgba(10, 31, 63, 0.08);
  border-color: #d8e0ec;
}
.sidebar-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #04367d;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef1f6;
  position: relative;
}
.sidebar-card h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
  background: #c9a66b;
}
.sidebar-card ul { margin: 0; padding: 0; list-style: none; gap: 6px; }
.sidebar-card ul li {
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.sidebar-card ul li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: #c9a66b;
  font-weight: 700;
  top: 0;
}
.sidebar-card ul li a {
  color: #2a3a55;
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease, padding-left .18s ease;
  display: inline-block;
}
.sidebar-card ul li a:hover,
.sidebar-card ul li a:focus-visible {
  color: #04367d;
  padding-left: 3px;
  outline: none;
}

/* Sidebar CTA — "Need Help?" variant */
.sidebar-cta {
  background: linear-gradient(140deg, #04367d 0%, #0a1f3f 100%);
  border-color: #04367d;
  color: #fff;
  padding: 24px 22px;
}
.sidebar-cta:hover { box-shadow: 0 10px 30px rgba(4, 54, 125, 0.25); }
.sidebar-cta h4 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.15);
}
.sidebar-cta h4::after { background: #c9a66b; }
.sidebar-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.sidebar-cta .btn,
.sidebar-cta a.btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  background: #c9a66b;
  color: #0a1f3f;
  font-weight: 600;
  border: none;
  padding: 11px 18px;
  font-size: 0.92rem;
}
.sidebar-cta .btn:hover { background: #d9b87f; }

/* ---------- Lead form — distinct card ---------- */
.practice-cta.practice-lead-form {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-left: 4px solid #c9a66b;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 36px);
  margin: 40px 0 12px;
  box-shadow: 0 6px 24px rgba(10, 31, 63, 0.05);
  color: #1f2b40;
}
.practice-lead-form h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  color: #0a1f3f;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.practice-lead-form > p {
  color: #5a6478;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 20px;
}
.practice-lead-form form {
  display: grid;
  gap: 12px;
}
.practice-lead-form input,
.practice-lead-form textarea,
.practice-lead-form select {
  width: 100%;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  background: #fbfcfd;
  color: #1f2b40;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.practice-lead-form input:focus,
.practice-lead-form textarea:focus,
.practice-lead-form select:focus {
  outline: none;
  border-color: #04367d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(4, 54, 125, 0.12);
}
.practice-lead-form textarea { min-height: 96px; resize: vertical; }
.practice-lead-form button[type="submit"],
.practice-lead-form .btn {
  margin-top: 4px;
  padding: 13px 22px;
  background: #04367d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  justify-self: start;
}
.practice-lead-form button[type="submit"]:hover,
.practice-lead-form .btn:hover { background: #2076b4; transform: translateY(-1px); }
@media (min-width: 640px) {
  .practice-lead-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ---------- Sibling nav (injected by JS) ---------- */
.sibling-nav {
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #e8ecf2;
}
.sibling-nav-hub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #04367d;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color .2s ease, gap .2s ease;
}
.sibling-nav-hub:hover { color: #2076b4; gap: 12px; }
.sibling-nav-hub::before { content: "←"; font-size: 1rem; line-height: 1; }
.sibling-nav-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sibling-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  min-height: 74px;
}
.sibling-nav-link:hover {
  border-color: #04367d;
  box-shadow: 0 6px 20px rgba(10, 31, 63, 0.08);
  transform: translateY(-1px);
}
.sibling-nav-link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  background: #fafbfc;
}
.sibling-nav-link .sibling-direction {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a92a3;
}
.sibling-nav-link .sibling-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0a1f3f;
  line-height: 1.35;
}
.sibling-nav-link.next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) {
  .sibling-nav-pair { grid-template-columns: 1fr; gap: 10px; }
  .sibling-nav-link.next { text-align: left; align-items: flex-start; }
  .sibling-nav-link { padding: 14px 16px; min-height: 64px; }
}

/* ===== OFFICE / HEAD OFFICE TAG + FOOTER CONTACT MULTILINE ===== */
.office-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold, #c9a94d);
  color: #fff;
  border-radius: 10px;
  vertical-align: middle;
}
.footer-contact span + span { margin-top: 6px; }
.footer-contact strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ===== BAR COUNCIL DISCLAIMER GATE (first-visit modal) ===== */
.bci-backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 14, 32, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: bciFade 260ms ease-out;
}
@keyframes bciFade { from { opacity: 0; } to { opacity: 1; } }
.bci-modal {
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: bciRise 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bciRise { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bci-modal-head {
  background: linear-gradient(135deg, #04367D 0%, #0a1f3f 100%);
  color: #fff;
  padding: 22px 28px;
  border-bottom: 3px solid var(--gold, #c9a94d);
}
.bci-modal-head h2 {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}
.bci-modal-head .bci-sub {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  font-weight: 500;
}
.bci-modal-body {
  padding: 22px 28px;
  overflow-y: auto;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1 1 auto;
}
.bci-modal-body p { margin: 0 0 12px; }
.bci-modal-body p strong { color: #04367D; }
.bci-modal-body ul {
  padding-left: 18px;
  margin: 6px 0 14px;
}
.bci-modal-body li { margin-bottom: 6px; }
.bci-modal-actions {
  padding: 18px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eee;
  background: #fafafa;
  flex-wrap: wrap;
}
.bci-btn {
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 180ms ease;
  font-family: inherit;
}
.bci-btn-agree {
  background: #04367D;
  color: #fff;
}
.bci-btn-agree:hover { background: #052d65; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(4,54,125,0.3); }
.bci-btn-decline {
  background: #fff;
  color: #555;
  border-color: #ccc;
}
.bci-btn-decline:hover { background: #f3f3f3; color: #222; }
body.bci-lock { overflow: hidden; }

@media (max-width: 600px) {
  .bci-modal-head { padding: 18px 20px; }
  .bci-modal-head h2 { font-size: 1.1rem; }
  .bci-modal-body { padding: 16px 20px; font-size: 0.88rem; }
  .bci-modal-actions { padding: 14px 20px 18px; justify-content: stretch; }
  .bci-btn { flex: 1; min-width: 120px; }
}

/* Knowledge Centre additions */
.knw-intro{
  max-width: 880px;
  font-size: 1.02rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 28px;
}
.news-card .news-excerpt{
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.55;
  margin: 6px 0 10px;
}
.news-card .news-badge{
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: #c9a94d;
  color: #fff;
  border-radius: 999px;
  margin-bottom: 8px;
}
.news-card.represented{
  border-top: 3px solid #c9a94d;
}
.news-card .news-link{
  display: inline-block;
  margin-top: auto;
  color: #04367d;
  font-weight: 600;
  text-decoration: none;
}
.news-card .news-link:hover{ text-decoration: underline; }
.news-card h3{ font-size: 1.02rem; line-height: 1.35; }
.news-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.news-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(12, 34, 82, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(12, 34, 82, 0.12);
  border-color: #c9a94d;
}
.news-card .news-date{
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #7a8699;
  margin-bottom: 6px;
}

/* Client testimonials — home page, above CTA banner */
.testimonials-section{
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-top: 1px solid #e7ecf3;
}
.testimonials-head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}
.testimonials-head .section-eyebrow{
  color: #c9a94d;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 8px;
}
.testimonials-head h2{
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: #0c2252;
  margin: 0 0 14px;
  font-weight: 700;
}
.testimonials-lede{
  color: #4a5568;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}
.testimonial-slider{
  position: relative;
  padding: 0 8px;
}
.testimonial-track{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar{ display: none; }
.testimonial-track > .testimonial-card{
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 300px;
  scroll-snap-align: start;
}
@media (max-width: 900px){
  .testimonial-track > .testimonial-card{ flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px){
  .testimonial-track > .testimonial-card{ flex-basis: 88%; }
}
.ts-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #04367d;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(12, 34, 82, 0.22);
  z-index: 3;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.ts-nav:hover{ background: #c9a94d; transform: translateY(-50%) scale(1.06); }
.ts-nav[disabled]{ opacity: 0.35; cursor: default; }
.ts-nav svg{ width: 20px; height: 20px; }
.ts-prev{ left: -14px; }
.ts-next{ right: -14px; }
@media (max-width: 640px){
  .ts-prev{ left: 4px; }
  .ts-next{ right: 4px; }
  .ts-nav{ width: 38px; height: 38px; }
}
.ts-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.ts-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cdd6e3;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.ts-dot.is-active{ background: #c9a94d; transform: scale(1.25); }
.testimonial-card{
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 28px 26px 26px;
  box-shadow: 0 6px 20px rgba(12, 34, 82, 0.05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  margin: 0;
  position: relative;
}
.testimonial-card::before{
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(201, 169, 77, 0.18);
  pointer-events: none;
}
.testimonial-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(12, 34, 82, 0.12);
  border-color: #c9a94d;
}
.testimonial-logo{
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eef1f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.testimonial-logo img{
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
}
.testimonial-logo--mono{
  border: none;
  background: transparent;
}
.testimonial-logo--mono svg{ width: 100%; height: 100%; }
.testimonial-card blockquote{
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #2d3748;
  font-style: italic;
  flex: 1;
}
.testimonial-card figcaption{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid #eef1f7;
}
.testimonial-card figcaption strong{
  color: #04367d;
  font-size: 0.98rem;
  font-weight: 700;
  font-style: normal;
}
.testimonial-card figcaption span{
  color: #7a8699;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px){
  .testimonial-card{ padding: 22px 20px 20px; }
}
