/* =========================================================
   Lexacto & Co. — Editorial law-firm design system
   ========================================================= */

:root {
  --navy-950: #0a1733;
  --navy-900: #0e1f3f;
  --navy-800: #162d52;
  --navy-700: #25436c;
  --ivory: #f5f1e8;
  --paper: #fcfaf6;
  --white: #ffffff;
  --ink: #172033;
  --body: #414b5f;
  --muted: #667085;
  --brass: #896635;
  --brass-light: #d4ba8e;
  --line: #d8d1c7;
  --line-soft: #e9e3da;
  --danger: #a53f35;
  --success: #28613e;
  --shadow-soft: 0 22px 70px rgba(10, 23, 51, 0.09);
  --shadow-nav: 0 12px 40px rgba(10, 23, 51, 0.08);
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  padding-top: 114px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open { overflow: hidden; }

h1, h2, h3, h4, h5, p, ul { margin-top: 0; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

::selection { background: var(--brass-light); color: var(--navy-950); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

/* Keep content visible if the optional animation CDN is unavailable. */
html:not(.aos-enabled) [data-aos][data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 4000;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-950);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }
.hidden { display: none !important; }

/* Shared header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(252, 250, 246, 0.97);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled { box-shadow: var(--shadow-nav); }

.utility-bar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.utility-inner {
  max-width: var(--container);
  min-height: 34px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-location {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { text-decoration: none; transition: color 160ms ease; }
.utility-links a:hover { color: var(--white); }

.site-nav {
  max-width: var(--container);
  height: 80px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy-950);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 126px;
  max-height: 72px;
  object-fit: contain;
}

.nav-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--navy-950);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}

.nav-brand-copy { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.nav-brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li > a,
.nav-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav-links > li > a:hover,
.nav-toggle:hover,
.nav-links > li > a.active,
.nav-toggle.active { color: var(--brass); }

.nav-item-drop { position: relative; }
.nav-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 640px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.nav-item-drop.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  padding: 12px 14px;
  color: var(--body);
  border-left: 2px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: var(--ivory);
  border-left-color: var(--brass);
  color: var(--navy-950);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 0 20px !important;
  background: var(--navy-950) !important;
  color: var(--white) !important;
  transition: background 160ms ease !important;
}
.nav-cta:hover { background: var(--navy-800) !important; }

.hamburger {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy-950);
  cursor: pointer;
}

.hamburger-lines { width: 20px; display: grid; gap: 5px; }
.hamburger-lines span { height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.hamburger[aria-expanded="true"] .hamburger-lines span:first-child { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-lines span:last-child { transform: translateY(-6px) rotate(-45deg); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1240;
  background: rgba(10, 23, 51, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1250;
  width: min(420px, 92vw);
  height: 100dvh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--paper);
  transform: translateX(102%);
  transition: transform 240ms ease;
}
.mobile-sidebar.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-label {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy-950);
  cursor: pointer;
  font-size: 1.4rem;
}
.mobile-sidebar > a,
.mobile-sub-toggle {
  min-height: 54px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--navy-950);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mobile-sub { display: none; padding: 8px 0 12px 16px; border-bottom: 1px solid var(--line); }
.mobile-sub.open { display: grid; }
.mobile-sub a {
  padding: 9px 0;
  color: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-sidebar a.active { color: var(--brass); }
.mobile-contact {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.76rem;
}
.mobile-contact a { display: block; margin-top: 5px; color: var(--navy-950); text-decoration: none; }

/* Disclaimer */
#disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 28px;
  display: grid;
  place-items: center;
  background: rgba(5, 13, 31, 0.88);
  backdrop-filter: blur(7px);
}

.disclaimer-box {
  width: min(820px, 100%);
  max-height: min(820px, calc(100dvh - 56px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--paper);
  border-top: 4px solid var(--brass);
  box-shadow: 0 30px 100px rgba(0,0,0,0.35);
}

.disclaimer-header { padding: 30px 38px 24px; border-bottom: 1px solid var(--line); }
.disclaimer-kicker {
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.disclaimer-header h2 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-family: var(--display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
}
.disclaimer-header p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.disclaimer-body { padding: 28px 38px; overflow-y: auto; color: var(--body); font-size: 0.86rem; line-height: 1.75; }
.disclaimer-body p { margin-bottom: 14px; }
.disclaimer-body strong { color: var(--navy-950); }
.disclaimer-footer {
  padding: 22px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.disclaimer-footer label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--body);
  font-size: 0.78rem;
  cursor: pointer;
}
.disclaimer-footer input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy-950); }
#agree-btn {
  min-width: 196px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
#agree-btn:disabled { opacity: 0.38; cursor: not-allowed; }

/* Homepage hero */
.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  padding: 78px 32px 96px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}
.hero::after {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  right: -180px;
  bottom: -280px;
  border: 1px solid rgba(176,141,87,0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(176,141,87,0.04), 0 0 0 180px rgba(176,141,87,0.03);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}
.hero-kicker,
.section-label {
  margin-bottom: 18px;
  color: var(--brass);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.23em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-kicker { color: var(--brass-light); }
.hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(3.25rem, 6.3vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.hero-tagline {
  max-width: 660px;
  margin: 0 0 36px;
  color: rgba(255,255,255,0.68);
  font-family: var(--sans);
  font-size: clamp(0.86rem, 1.35vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.75;
  text-transform: uppercase;
}
.hero-tagline span { color: var(--brass-light); margin: 0 7px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn-primary,
.btn-secondary,
.btn-gold {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.btn-primary,
.btn-gold { background: var(--brass); border: 1px solid var(--brass); color: var(--white); }
.btn-primary:hover,
.btn-gold:hover { background: var(--brass-light); border-color: var(--brass-light); color: var(--navy-950); transform: translateY(-2px); }
.btn-secondary { border: 1px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.hero-identity { position: relative; }
.hero-logo-card {
  position: relative;
  padding: clamp(22px, 4vw, 46px);
  background: var(--ivory);
  box-shadow: 24px 24px 0 rgba(176,141,87,0.14);
}
.hero-logo-card::before,
.hero-logo-card::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: var(--brass);
  opacity: 0.75;
}
.hero-logo-card::before { top: 14px; left: 14px; border-top: 1px solid; border-left: 1px solid; }
.hero-logo-card::after { right: 14px; bottom: 14px; border-right: 1px solid; border-bottom: 1px solid; }
.hero-logo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-note {
  margin: 26px 0 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--display);
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.04em;
  text-align: center;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.46);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero-scroll-line { width: 48px; height: 1px; background: var(--brass); animation: linePulse 2s ease-in-out infinite; }
@keyframes linePulse { 0%,100% { opacity: .25; transform: scaleX(.6); } 50% { opacity: 1; transform: scaleX(1); } }

/* Interior heroes */
.page-hero {
  position: relative;
  padding: clamp(92px, 11vw, 144px) 32px clamp(72px, 8vw, 104px);
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 65%);
}
.page-hero::after {
  content: attr(data-index);
  position: absolute;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: -0.14em;
  color: rgba(255,255,255,0.045);
  font-family: var(--display);
  font-size: clamp(9rem, 24vw, 19rem);
  font-weight: 500;
  line-height: .8;
}
.page-hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.page-hero .section-label { display: block; color: var(--brass-light); }
.page-hero h1 {
  max-width: 930px;
  margin: 0 0 26px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.page-hero-rule { width: 64px; height: 1px; margin: 0 0 24px; background: var(--brass); }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.85; }

/* Sections */
section.standard { padding: clamp(76px, 9vw, 124px) 32px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-title {
  max-width: 790px;
  margin-bottom: 26px;
  color: var(--navy-950);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.section-label.center,
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-rule { width: 58px; height: 1px; margin-bottom: 32px; background: var(--brass); }
.section-rule.center { margin-left: auto; margin-right: auto; }
.section-text { max-width: 760px; color: var(--body); font-size: 0.97rem; line-height: 1.9; }
.section-text.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-text p + p { margin-top: 20px; }
.editorial-quote { font-family: var(--display); font-size: 1.2rem; font-style: italic; line-height: 1.65; }
.editorial-link,
.map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--navy-950);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.editorial-link::after { content: '↗'; margin-left: 9px; color: var(--brass); font-size: 1rem; transition: transform 160ms ease; }
.editorial-link:hover::after { transform: translate(3px,-3px); }

/* Overview and statistics */
.overview { background: var(--paper); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: clamp(60px, 9vw, 120px); align-items: start; }
.overview-left .section-text { max-width: 760px; }
.overview-right { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.overview-stat { min-height: 170px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); }
.stat-num { margin-bottom: 14px; color: var(--navy-950); font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 500; line-height: .9; }
.stat-label { color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.13em; line-height: 1.65; text-transform: uppercase; }

/* Philosophy */
.philosophy { background: var(--ivory); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.philosophy-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 58px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.phil-block { min-height: 320px; padding: clamp(30px, 4vw, 48px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252,250,246,.55); transition: background 180ms ease, transform 180ms ease; }
.phil-block:hover { background: var(--paper); transform: translateY(-3px); }
.phil-number { margin-bottom: 44px; color: var(--brass); font-family: var(--display); font-size: 1rem; letter-spacing: .12em; }
.phil-title { margin-bottom: 16px; color: var(--navy-950); font-family: var(--display); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.phil-text { margin: 0; color: var(--body); font-size: 0.9rem; line-height: 1.85; }

/* Practice index */
.practice { background: var(--paper); }
.practice-grid { counter-reset: practice; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice-card {
  counter-increment: practice;
  position: relative;
  min-height: 142px;
  padding: 30px 48px 30px 64px;
  display: flex;
  border-right: 1px solid var(--line);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 190ms ease, background 190ms ease, color 190ms ease;
}
.practice-card::before {
  content: counter(practice, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 50%;
  color: var(--brass);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  transform: translateY(-50%);
}
.practice-card::after {
  content: '↗';
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--navy-950);
  font-family: var(--display);
  font-size: 1.5rem;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease;
}
.practice-card:hover { padding-left: 74px; background: var(--ivory); }
.practice-card:hover::after { color: var(--brass); transform: translate(4px,-54%); }
.practice-card h3 { margin: 0; color: var(--navy-950); font-family: var(--display); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.15; }
.practice-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.practice-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,4vw,56px); margin-top: 72px; }
.practice-directory-column { padding: clamp(24px,3vw,38px); border: 1px solid var(--line); background: var(--ivory); }
.practice-directory-column h2 { margin: 0 0 22px; color: var(--navy-950); font-family: var(--display); font-size: clamp(1.55rem,2.5vw,2.1rem); font-weight: 600; }
.practice-directory-column ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.practice-directory-column li { position: relative; padding-left: 19px; color: var(--ink); font-size: .9rem; line-height: 1.65; }
.practice-directory-column li::before { content: '•'; position: absolute; left: 0; top: 0; color: var(--brass); font-weight: 800; }
.practice-directory-column a { color: inherit; text-decoration-color: rgba(176,141,87,.42); text-underline-offset: 3px; }
.practice-directory-column a:hover { color: var(--brass); }
.practice-directory-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.practice-directory-link p { max-width: 780px; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.practice-directory-link a { flex: 0 0 auto; color: var(--navy-950); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.practice-directory-link a:hover { color: var(--brass); }

/* Engagements */
.engagements { position: relative; overflow: hidden; background: var(--navy-950); color: var(--white); }
.engagements::after { content: ''; position: absolute; right: -100px; top: 80px; width: 340px; height: 340px; border: 1px solid rgba(176,141,87,.22); transform: rotate(45deg); }
.engagements .section-inner { position: relative; z-index: 1; }
.engagements .section-label { color: var(--brass-light); }
.engagements .section-title { color: var(--white); }
.engagement-intro { max-width: 780px; margin: 0 0 50px; color: rgba(255,255,255,.62); font-family: var(--display); font-size: 1.25rem; font-style: italic; line-height: 1.7; }
.engagement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.engagement-item { min-height: 230px; padding: 34px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); transition: background 180ms ease; }
.engagement-item:hover { background: rgba(255,255,255,.065); }
.engagement-item h4 { margin-bottom: 18px; color: var(--brass-light); font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.engagement-item p { margin: 0; color: rgba(255,255,255,.58); font-size: .83rem; line-height: 1.78; }
.engagement-note { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: .67rem; line-height: 1.75; }

/* Why */
.why { background: var(--ivory); }
.why-grid { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: clamp(60px,10vw,140px); align-items: start; }
.why-grid > :first-child { position: sticky; top: 150px; }
.why-list { border-top: 1px solid var(--line); }
.why-item { padding: 30px 0; display: grid; grid-template-columns: 46px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.why-num { padding-top: 5px; color: var(--brass); font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.why-item h4 { margin-bottom: 10px; color: var(--navy-950); font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.why-item p { margin: 0; color: var(--body); font-size: .87rem; line-height: 1.78; }

/* Team */
.team { background: var(--paper); border-top: 1px solid var(--line-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 58px; }
.team-card { position: relative; min-height: 246px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.team-card::after { content: ''; position: absolute; right: -46px; bottom: -70px; width: 140px; height: 140px; border: 1px solid var(--line); border-radius: 50%; }
.team-card:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.team-card-top { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.team-avatar { width: 62px; height: 62px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--brass); background: var(--navy-950); color: var(--white); font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.team-name { margin-bottom: 5px; color: var(--navy-950); font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.team-role { color: var(--brass); font-size: .6rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.team-bar { width: 32px; height: 1px; margin-bottom: 15px; background: var(--line); }
.team-qual { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.75; }

/* Contact and forms */
.contact { background: var(--ivory); }
.contact-intro { margin-bottom: 56px; }
.page-contact .contact-form { order: -1; }
.contact-grid { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: clamp(50px,8vw,110px); align-items: start; }
.contact-details { border-top: 1px solid var(--line); }
.contact-item { padding: 23px 0; border-bottom: 1px solid var(--line); }
.contact-item-label { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; color: var(--brass); font-size: .61rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.contact-item-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-value { color: var(--ink); font-family: var(--display); font-size: 1.1rem; line-height: 1.55; }
.contact-item-value a { text-decoration-color: var(--line); text-underline-offset: 5px; transition: color 150ms ease; }
.contact-item-value a:hover { color: var(--brass); }
.map-link { display: inline-flex; margin-top: 14px; color: var(--navy-950); font-family: var(--sans); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.map-link::after { content: '↗'; margin-left: 8px; font-size: .9rem; }
.contact-form { padding: clamp(28px,5vw,54px); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-form::before { content: 'Professional enquiry'; display: block; margin-bottom: 28px; color: var(--navy-950); font-family: var(--display); font-size: clamp(1.6rem,3vw,2.15rem); font-weight: 600; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: .88rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-group textarea { min-height: 132px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,45,82,.11); }
.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color: var(--danger); }
.field-error { min-height: 16px; display: block; margin-top: 5px; color: var(--danger); font-size: .68rem; }
.form-submit { width: 100%; min-height: 52px; padding: 13px 24px; border: 0; background: var(--navy-950); color: var(--white); font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.form-submit:hover:not(:disabled) { background: var(--navy-800); transform: translateY(-1px); }
.form-submit:disabled { opacity: .62; cursor: not-allowed; }
.form-submit .btn-loader { display: none; }
.form-submit.loading .btn-text { display: none; }
.form-submit.loading .btn-loader { display: inline; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.7; }
.form-message-error,
.form-message-success { display: none; margin-top: 18px; padding: 16px; border: 1px solid; font-size: .78rem; }
.form-message-error.show { display: block; border-color: var(--danger); background: #fff6f4; color: var(--danger); }
.form-message-success.show { display: block; border-color: var(--success); background: #f2faf5; color: var(--success); }
.form-message-success h4 { margin-bottom: 5px; font-family: var(--display); font-size: 1.35rem; }

/* CTA */
.cta-banner { position: relative; padding: clamp(70px,9vw,108px) 32px; overflow: hidden; background: var(--navy-900); color: var(--white); text-align: center; }
.cta-banner::before { content: ''; position: absolute; left: 50%; top: -170px; width: 420px; height: 420px; border: 1px solid rgba(176,141,87,.24); border-radius: 50%; transform: translateX(-50%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin: 0 auto 15px; color: var(--white); font-family: var(--display); font-size: clamp(2.5rem,5vw,4.1rem); font-weight: 500; line-height: 1; }
.cta-banner p { max-width: 650px; margin: 0 auto 28px; color: rgba(255,255,255,.62); font-size: .92rem; }

/* Practice pages */
.practice-content { background: var(--paper); }
.practice-content .section-inner { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.45fr); gap: clamp(50px,8vw,100px); align-items: start; }
.practice-body { max-width: 800px; }
.practice-body > p:first-child { color: var(--ink); font-family: var(--display); font-size: 1.38rem; line-height: 1.6; }
.practice-body p { margin-bottom: 20px; color: var(--body); font-size: .94rem; line-height: 1.9; }
.practice-body h3 { margin: 48px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--navy-950); font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.2; }
.practice-body ul { margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.practice-body li { position: relative; padding: 14px 10px 14px 28px; border-bottom: 1px solid var(--line-soft); color: var(--body); font-size: .87rem; line-height: 1.7; }
.practice-body li::before { content: ''; position: absolute; left: 3px; top: 25px; width: 9px; height: 1px; background: var(--brass); }
.practice-aside { position: sticky; top: 144px; padding: 28px; border-top: 3px solid var(--brass); background: var(--ivory); }
.practice-aside h4 { margin-bottom: 18px; color: var(--navy-950); font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.practice-aside ul { margin: 0; padding: 0; list-style: none; }
.practice-aside li { border-bottom: 1px solid var(--line); }
.practice-aside a { padding: 11px 8px; display: flex; justify-content: space-between; border-left: 3px solid transparent; color: var(--body); font-size: .74rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: color 150ms ease, padding-left 150ms ease, background 150ms ease; }
.practice-aside a::after { content: '↗'; color: var(--brass); }
.practice-aside a:hover { padding-left: 5px; color: var(--navy-950); }
.practice-aside a[aria-current="page"] { padding-left: 10px; border-left-color: var(--brass); background: rgba(137,102,53,.12); color: var(--navy-950); font-weight: 800; }

/* Footer */
footer { padding: 72px 32px 30px; background: #071126; color: var(--white); }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: minmax(260px,1.45fr) repeat(2,minmax(150px,.6fr)) minmax(220px,.8fr); gap: clamp(35px,5vw,72px); padding-bottom: 52px; }
.footer-brand { margin-bottom: 15px; color: var(--white); font-family: var(--display); font-size: 2rem; font-weight: 600; }
.footer-tagline { max-width: 350px; margin: 0; color: rgba(255,255,255,.64); font-size: .73rem; line-height: 1.85; }
.footer-col h5 { margin: 7px 0 19px; color: var(--brass-light); font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.footer-col a,
.footer-disc { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.66); font-size: .76rem; line-height: 1.5; text-align: left; text-decoration: none; cursor: pointer; transition: color 150ms ease; }
.footer-col a:hover,
.footer-disc:hover { color: var(--white); }
.footer-contact a { display: block; margin-bottom: 9px; }
.footer-bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-copy { color: rgba(255,255,255,.62); font-size: .62rem; letter-spacing: .04em; line-height: 1.6; }

.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: var(--navy-950); color: var(--white); opacity: 0; pointer-events: none; transform: translateY(8px); cursor: pointer; transition: opacity 180ms ease, transform 180ms ease, background 180ms ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brass); color: var(--white); }

.highlight-rule { width: 42px; height: 1px; display: inline-block; margin-right: 12px; background: var(--brass); vertical-align: middle; }
.two-col-text { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 46px; margin-top: 32px; }
.two-col-text p { color: var(--body); font-size: .92rem; line-height: 1.9; }

@media (max-width: 1120px) {
  .nav-links > li > a,
  .nav-toggle { padding-inline: 9px; font-size: .66rem; }
  .nav-cta { padding-inline: 14px !important; }
  .engagement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .practice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .practice-directory { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }
  body { padding-top: 76px; }
  .utility-bar { display: none; }
  .site-nav { height: 76px; padding-inline: 22px; }
  .nav-links { display: none; }
  .hamburger { display: grid; }
  .hero { min-height: auto; padding: 76px 24px 94px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-identity { max-width: 620px; }
  .overview-grid,
  .why-grid,
  .contact-grid,
  .practice-content .section-inner { grid-template-columns: 1fr; }
  .why-grid > :first-child,
  .practice-aside { position: static; }
  .overview-right { max-width: 680px; }
  .practice-card { grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr); gap: 36px; }
}

@media (max-width: 720px) {
  section.standard { padding-inline: 20px; }
  .page-hero { padding-inline: 20px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(3.05rem,15vw,4.7rem); }
  .hero-tagline span { display: none; }
  .hero-tagline { max-width: 420px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-scroll { display: none; }
  .page-hero h1 { font-size: clamp(2.8rem,14vw,4.25rem); }
  .philosophy-grid,
  .engagement-grid,
  .team-grid,
  .two-col-text { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-directory-link { display: block; }
  .practice-directory-link a { display: inline-block; margin-top: 16px; }
  .practice-card { min-height: auto; padding: 26px 52px 26px 48px; display: block; }
  .practice-card:hover { padding-left: 52px; }
  .practice-card h3 { margin-bottom: 0; }
  .practice-card p { font-size: .8rem; }
  .overview-right { grid-template-columns: 1fr; }
  .overview-stat { min-height: 130px; }
  .contact-form { padding: 26px 20px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top > :first-child,
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .disclaimer-footer { align-items: stretch; flex-direction: column; }
  #agree-btn { width: 100%; }
}

@media (max-width: 480px) {
  .nav-brand-logo { width: 108px; }
  .hero-logo-card { padding: 15px; box-shadow: 14px 14px 0 rgba(176,141,87,.14); }
  .section-title { font-size: clamp(2.4rem,13vw,3.4rem); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > :first-child,
  .footer-contact { grid-column: auto; }
  #disclaimer-overlay { padding: 12px; }
  .disclaimer-box { max-height: calc(100dvh - 24px); }
  .disclaimer-header,
  .disclaimer-body,
  .disclaimer-footer { padding-left: 20px; padding-right: 20px; }
  .disclaimer-header { padding-top: 22px; }
  .disclaimer-body { padding-top: 20px; padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
