@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   JHH International — design system
   Palette: CELG indigo + warm white + neutral greys
   Type: Source Serif 4 (display) + Source Sans 3 (UI/body)
   ============================================================ */

:root {
  --indigo: #322978;
  --indigo-deep: #241d57;
  --blue: #005c82;
  --accent-soft: #efedf9;
  /* crest red, reserved for hairlines only */
  --seal-red: #a8322c;

  --ink: #2b3036;
  --ink-soft: #4a5058;
  --muted: #6b7280;
  --muted-2: #9aa0a6;

  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --surface: #ffffff;

  --line: #e6e7ea;
  --line-strong: #d5d7db;
  --success: #2f7d5b;
  --danger: #b4423a;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 18px 44px rgba(28, 27, 26, 0.10);
  --shadow-sm: 0 4px 16px rgba(28, 27, 26, 0.06);

  --maxw: 1180px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

.lede { color: var(--ink-soft); font-size: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 36px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-gold { background: var(--indigo); color: #fff; }
.btn-gold:hover { background: var(--indigo-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28,27,26,.03); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 8px 16px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: var(--indigo);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand-cn {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin-top: 3px;
  font-weight: 500;
}
.brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--indigo); background: var(--accent-soft); }
.nav-link.is-active { color: var(--indigo); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
  content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(880px 440px at 88% -8%, rgba(50, 41, 120, 0.10), transparent 60%),
    radial-gradient(700px 400px at -8% 12%, rgba(50, 41, 120, 0.05), transparent 58%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 92px 0 104px;
}
.hero-grid--single { grid-template-columns: 1fr; }
.hero-grid--single .hero-copy { max-width: 760px; }
.hero-copy h1 span { color: var(--indigo); display: inline-block; }
.hero-copy .lede { max-width: 520px; margin-top: 22px; }
.hero-motto {
  margin-top: 20px;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: var(--indigo);
  font-family: "Songti SC", "STSong", serif;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--indigo);
  border-radius: 16px;
  z-index: -1;
  opacity: .45;
}
.hero-media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero::after {
  content: "JHH";
  position: absolute;
  right: -3%;
  bottom: -16%;
  font-family: var(--serif);
  font-size: clamp(12rem, 30vw, 30rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(28, 27, 26, 0.025);
  pointer-events: none;
}

/* Global network band */
.global-section { position: relative; overflow: hidden; }
.global-art { width: 100%; height: auto; display: block; margin-top: 8px; opacity: 0.95; }

/* Two-column cards */
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.type-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.type-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.type-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--indigo);
  margin-bottom: 20px;
}
.type-card h3 { margin-bottom: 4px; }
.type-sub { font-size: .8rem; color: var(--indigo); font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.type-card p { color: var(--muted); }
.type-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.type-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.type-list .check { color: var(--success); flex: none; margin-top: 2px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--line-strong);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* Professional grid */
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pro-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pro-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.pro-card .pc-top { flex: 1; }
.pro-card .pc-name { font-size: 1.1rem; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-foot .link-arrow { font-size: .8rem; font-weight: 600; color: var(--indigo); display: inline-flex; align-items: center; gap: 6px; }
.card-foot .link-arrow:hover { color: var(--blue); }

.pro-grid--list { grid-template-columns: 1fr; gap: 12px; }
.pro-grid--list .pro-card { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; padding: 18px 22px; }
.pro-grid--list .pc-top { flex: 1 1 300px; }
.pro-grid--list .chips { margin-top: 0; }
.pro-grid--list .card-foot { margin-top: 0; padding-top: 0; border-top: 0; }

/* Directory grouping: international practice (left), other JHH lawyers (middle), network (right) */
.directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  height: clamp(520px, 68vh, 860px);
}
.directory-col {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-width: thin;
}
.directory-col::-webkit-scrollbar { width: 8px; }
.directory-col::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
.directory-col .directory-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  padding-top: 4px;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.directory-col--main .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.directory-col--side .pro-grid { grid-template-columns: minmax(0, 1fr); }
.directory-layout.is-single { height: auto; }
.directory-layout.is-single .directory-col { height: auto; overflow: visible; padding-right: 0; }
.directory-col .chip { white-space: normal; }
.directory-col .card-foot { flex-wrap: wrap; row-gap: 8px; }
.directory-col .card-foot .link-arrow { white-space: nowrap; }
.directory-col .pro-card { padding: 18px; }
.directory-col .pro-card .pc-top { gap: 12px; }
.directory-col .pro-card .avatar { width: 54px; height: 54px; border-radius: 10px; }
.directory-col .pro-card .pc-name { font-size: 1.02rem; }
.directory-col .pro-card .pc-title,
.directory-col .pro-card .pc-org { font-size: .84rem; }
.directory-layout.is-single { grid-template-columns: 1fr; }
.directory-layout.is-single .pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.directory-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.directory-heading .dc-sub {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.directory-col .directory-heading { padding-top: 2px; }

/* Profile card pieces */
.pc-top { display: flex; gap: 15px; align-items: flex-start; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--indigo);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .03em;
}
.avatar--sm { width: 46px; height: 46px; border-radius: 9px; font-size: 1rem; }
.avatar--lg { width: 104px; height: 104px; border-radius: 16px; font-size: 2rem; }
.avatar--photo { padding: 0; overflow: hidden; background: var(--bg-alt); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.pc-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pc-title { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }
.pc-org { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.pc-cred { font-size: 0.78rem; color: var(--indigo); margin-top: 6px; letter-spacing: .02em; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  white-space: nowrap;
}
.chip--gold { background: var(--accent-soft); border-color: #d9d4ec; color: var(--indigo); }

/* Directory */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  position: sticky;
  top: 88px;
  z-index: 20;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(50, 41, 120, 0.12);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f6e6a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}
.textarea { min-height: 110px; resize: vertical; }
.search-wrap { position: relative; }
.search-wrap .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search-wrap .input { padding-left: 40px; }

.result-bar { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 20px; flex-wrap: wrap; gap: 10px; }
.result-count { font-size: .9rem; color: var(--muted); }
.result-count strong { color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 500; color: var(--indigo);
  background: var(--accent-soft); border: 1px solid #d9d4ec;
  border-radius: var(--radius-pill); padding: 4px 10px; cursor: pointer;
}
.filter-pill:hover { background: #f0dcd8; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}
.empty-state h3 { margin-bottom: 8px; }

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid #d9d4ec;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: .84rem;
  color: var(--indigo-deep);
  margin-bottom: 24px;
}
.notice .ico { flex: none; margin-top: 2px; color: var(--indigo); }

.directory-group + .directory-group { margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--line); }
.group-head { margin-bottom: 22px; }
.group-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.group-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.office-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.office-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.office-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.office-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.office-card:hover .office-media img { transform: scale(1.04); }
.office-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.office-loc { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); }
.office-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.3; }
.office-card .link-arrow { margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--indigo); display: inline-flex; align-items: center; gap: 6px; }
.office-card:hover .link-arrow { color: var(--blue); }

/* Photo / gallery */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.photo-tile { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.photo-tile:first-child { grid-column: span 2; grid-row: span 2; }
.photo-tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(transparent, rgba(10,10,10,.55));
  color: #fff; display: flex; flex-direction: column; gap: 4px;
}
.photo-tile figcaption span { color: rgba(255,255,255,.75); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.photo-tile figcaption strong { color: #fff; font-size: .95rem; font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.insight-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.insight-media {
  position: relative;
  height: 170px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
}
.insight-media--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,40,.05), rgba(20,18,40,.42)); }
.insight-media .cat {
  position: relative; z-index: 1;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.insight-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.insight-body h3 { font-size: 1.16rem; line-height: 1.3; }
.insight-body p { color: var(--muted); font-size: .9rem; margin-top: 10px; flex: 1; }
.insight-meta { display: flex; gap: 10px; align-items: center; font-size: .76rem; color: var(--muted-2); margin-top: 18px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

/* Events */
.event-list { display: grid; gap: 16px; }
.event-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.event-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.event-date { text-align: center; border-right: 1px solid var(--line); padding-right: 6px; }
.event-date .d { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--ink); line-height: 1; }
.event-date .m { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-top: 6px; }
.event-body h3 { font-size: 1.18rem; line-height: 1.3; }
.event-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: .84rem; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* Page hero */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 72px 0 60px; }
.page-hero h1 { max-width: 860px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-top: 18px; font-size: 1.06rem; }

/* Profile */
.profile-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 40px 0 52px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--muted); margin-bottom: 26px; }
.back-link:hover { color: var(--indigo); }
.profile-head { display: flex; gap: 28px; align-items: flex-start; }
.profile-head .info { flex: 1; }
.profile-head h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.profile-head .p-title { font-size: 1.05rem; color: var(--ink-soft); margin-top: 10px; }
.profile-head .p-org { color: var(--muted); margin-top: 3px; }
.profile-head .p-cred { color: var(--indigo); font-size: .9rem; margin-top: 8px; }
.profile-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 44px; padding: 56px 0 88px; align-items: start; }
.detail-block + .detail-block { margin-top: 36px; }
.detail-block h2 { font-size: 1.35rem; margin-bottom: 14px; }
.detail-block p { color: var(--ink-soft); margin-top: 12px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--muted); }
.info-row .v { text-align: right; color: var(--ink); font-weight: 500; word-break: break-word; }
.info-row .v a { color: var(--indigo); }
.info-row .v a:hover { color: var(--blue); }

.cv-details { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.cv-details summary { cursor: pointer; padding: 14px 16px; font-size: .9rem; font-weight: 600; color: var(--indigo); list-style: none; }
.cv-details summary::-webkit-details-marker { display: none; }
.cv-details summary::before { content: "+"; display: inline-block; width: 18px; color: var(--indigo); font-weight: 700; }
.cv-details[open] summary::before { content: "\2212"; }
.cv-body { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.cv-body h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); margin: 18px 0 6px; }
.cv-body p { color: var(--ink-soft); font-size: .9rem; line-height: 1.75; white-space: pre-line; }

/* CTA */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--accent-soft), #f6f7fb);
  border: 1px solid #d9d4ec;
  border-radius: 18px;
  padding: 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 560px; }
.cta-band p { color: var(--muted); margin-top: 12px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-gold { background: var(--indigo); color: #fff; }
.cta-band .btn-gold:hover { background: var(--indigo-deep); }
.cta-band .btn-outline-light { border-color: var(--line-strong); color: var(--ink); }
.cta-band .btn-outline-light:hover { border-color: var(--ink); background: #fff; }
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -140px;
  width: 520px;
  height: 520px;
  background: url("../img/global-network.svg") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

/* Footer */
.site-footer { background: var(--bg-alt); color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; padding: 60px 0 42px; }
.footer-brand .brand-name { color: var(--ink); }
.footer-brand .brand-cn { color: var(--indigo); }
.footer-brand .brand-tag { color: var(--muted-2); }
.footer-brand p { font-size: .9rem; color: var(--muted); margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted-2);
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 18, 40, 0.5);
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface);
  border-radius: 16px;
  width: 100%; max-width: 640px; max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 90px rgba(0,0,0,.28);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}
.modal-overlay.open .modal { transform: none; }
.modal--wide { max-width: 760px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 28px 0; position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-head h2 { font-size: 1.45rem; }
.modal-body { padding: 20px 28px 28px; }
.modal-close {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--muted);
  font-size: 1.1rem; line-height: 1;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field-msg { font-size: .76rem; color: var(--danger); min-height: 1em; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180,66,58,.12); }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .badge {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  background: rgba(47,125,91,.12); color: var(--success);
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* Tabs */
.tabs { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; gap: 4px; }
.tab { border: 0; background: transparent; padding: 9px 20px; border-radius: var(--radius-pill); font-size: .86rem; font-weight: 600; color: var(--muted); }
.tab.is-active { background: var(--surface); color: var(--indigo); box-shadow: var(--shadow-sm); }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.join-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.join-aside { background: var(--indigo); color: rgba(255,255,255,.78); border-radius: var(--radius); padding: 34px; position: sticky; top: 98px; }
.join-aside h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.join-aside p { color: rgba(255,255,255,.7); font-size: .92rem; }
.join-aside ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.join-aside li { display: flex; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.82); }
.join-aside .check { color: #c7d6ff; flex: none; margin-top: 2px; }
.join-aside .eyebrow { color: #c7d6ff; }

/* Misc layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split-media { order: 2; }
.media-panel {
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--indigo), var(--indigo-deep));
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 40px;
}
.media-panel .quote {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  max-width: 380px;
}
.media-panel .quote .mark { display: block; font-size: 2.6rem; color: #c7d6ff; line-height: .6; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); }
.checklist .check { color: var(--success); flex: none; margin-top: 3px; }

.stack-lg > * + * { margin-top: 24px; }

/* Reveal (kept visible for robustness) */
.reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .filter-bar { grid-template-columns: 1fr 1fr; position: static; }
  .pro-grid, .insight-grid, .office-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-layout { grid-template-columns: 1fr; gap: 34px; height: auto; }
  .directory-col { height: auto; overflow: visible; padding-right: 0; }
  .directory-col .directory-heading { position: static; background: transparent; padding-bottom: 0; margin-bottom: 18px; }
  .directory-col--main .pro-grid, .directory-col--side .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-tile:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-aside { position: static; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 66px 0; }
  .header-inner { height: 66px; }
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 12px; border-radius: 8px; }
  .nav-link.is-active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .two-col, .pro-grid, .insight-grid, .office-grid { grid-template-columns: 1fr; }
  .directory-col--main .pro-grid,
  .directory-col--side .pro-grid,
  .directory-layout.is-single .pro-grid { grid-template-columns: 1fr; }
  .directory-heading { font-size: 1.05rem; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .pro-grid--list .pro-card { flex-direction: column; align-items: stretch; gap: 12px; }
  .pro-grid--list .card-foot { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 72px 1fr; gap: 18px; padding: 20px; }
  .event-date { border-right: 0; border-bottom: 0; text-align: left; }
  .event-date .d { font-size: 1.6rem; }
  .event-actions { grid-column: 1 / -1; align-items: stretch; }
  .event-actions .btn { width: 100%; }
  .filter-bar { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .profile-head { display: block; }
  .profile-head .avatar { margin-bottom: 20px; }
  .join-panel { padding: 24px; }
  .modal-head, .modal-body { padding-left: 22px; padding-right: 22px; }
  .brand-tag { display: none; }
  .office-grid { grid-template-columns: 1fr; }
}

/* Jurisdictions */
.jurisdiction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jurisdiction { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.j-name { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.j-note { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }
@media (max-width: 1000px) { .jurisdiction-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .jurisdiction-grid { grid-template-columns: 1fr; } }

/* Placeholders for sections without published content */
.placeholder-block {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}
.placeholder-block h3 { margin-bottom: 8px; }
.placeholder-block p { max-width: 460px; margin: 0 auto; }

.insight-grid > .placeholder-block,
.event-list > .placeholder-block { grid-column: 1 / -1; }

/* Members-only profile gate */
.gated-wrap { position: relative; }
.gated { filter: blur(7px); pointer-events: none; user-select: none; }
.gated-wrap.revealed .gated { filter: none; pointer-events: auto; user-select: auto; }
.gate-panel { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(247,245,240,.55); border-radius: 16px; }
.gated-wrap.revealed .gate-panel { display: none; }
.gate-inner { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: center; max-width: 360px; box-shadow: var(--shadow-sm); }
.gate-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--indigo); margin: 0 auto 14px; }
.gate-inner h3 { margin-bottom: 8px; }
.gate-inner p { color: var(--muted); }
.gate-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* Service homepage (personal practice page) */
.svc-page { padding: 44px 0 84px; }
.svc-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px 48px 34px;
  box-shadow: var(--shadow-sm);
}
.svc-back { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.svc-back:hover { color: var(--indigo); }
.svc-person { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.svc-avatar { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; object-position: center 18%; background: var(--bg-alt); flex: none; }
.svc-person .eyebrow { color: var(--indigo); }
.svc-person h2 { font-family: var(--serif); font-size: 1.5rem; margin: 2px 0 4px; line-height: 1.25; }
.svc-person .role { font-size: .92rem; color: var(--ink-soft); }
.svc-person .org { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.svc-doc-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 26px 0 30px; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}
.svc-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700; color: var(--indigo); letter-spacing: .08em; }
.svc-kicker::before { content: ""; width: 9px; height: 9px; background: var(--indigo); border-radius: 1px; }
.svc-shell h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .02em; margin: 10px 0 12px; }
.svc-lede { font-size: 1.02rem; color: var(--ink-soft); max-width: 920px; }
.svc-rule { height: 1px; background: var(--line); margin: 28px 0 30px; }
.svc-head { margin: 28px 0 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px 20px;
}
.svc-item h3 { font-family: var(--serif); font-size: 1.08rem; margin: 0 0 12px; display: flex; gap: 9px; align-items: baseline; }
.svc-item .num { font-family: var(--sans); font-size: .72rem; color: var(--indigo); font-weight: 700; letter-spacing: .06em; }
.svc-item ul { margin: 0; padding: 0; list-style: none; }
.svc-item li { position: relative; padding-left: 13px; font-size: .82rem; color: var(--ink-soft); line-height: 1.75; }
.svc-item li::before { content: "·"; position: absolute; left: 2px; top: 0; color: var(--indigo); font-weight: 700; }
.svc-industry { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-soft); }
.svc-industry .k { color: var(--muted); font-weight: 600; flex: none; }
.svc-band {
  margin-top: 26px; background: #f2f5f6; border-left: 3px solid var(--indigo);
  padding: 22px 26px; border-radius: 0 12px 12px 0;
}
.svc-band h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin: 0 0 10px; }
.svc-band p { margin: 0 0 16px; font-size: .92rem; color: var(--ink-soft); }
.svc-band .goal { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin-bottom: 10px; }
.svc-band .row { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
.svc-band .row b { color: var(--ink); font-weight: 600; }
.svc-foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .72rem; color: var(--muted-2); letter-spacing: .04em; }
.svc-profile { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 44px; align-items: start; }
.svc-profile .detail-block:first-child { margin-top: 0; }
@media (max-width: 1000px) {
  .svc-shell { padding: 32px 30px 28px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-profile { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .svc-page { padding: 28px 0 60px; }
  .svc-shell { padding: 24px 20px; border-radius: 16px; }
  .svc-person { align-items: flex-start; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 460px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-avatar { width: 60px; height: 60px; }
}

/* ============================================================
   Personal homepage v2 — editorial layout
   ============================================================ */
.pf-hero { padding: 84px 0 72px; background: var(--bg); }
.pf-hero-inner { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; }
.pf-photo { position: relative; }
.pf-photo::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid var(--indigo); border-radius: 20px;
}
.pf-photo img {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: center 18%;
  border-radius: 20px; box-shadow: var(--shadow);
}
.pf-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em;
  color: var(--indigo);
}
.pf-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--indigo); }
.pf-intro h1 { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: .06em; margin: 14px 0 18px; }
.pf-role { font-family: var(--serif); font-size: 1.16rem; color: var(--ink); line-height: 1.7; }
.pf-lede { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .96rem; color: var(--muted); max-width: 640px; }
.pf-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.pf-section { padding: 92px 0; }
.pf-section--alt { background: var(--bg-alt); }
.pf-head { max-width: 820px; margin-bottom: 52px; }
.pf-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 14px; letter-spacing: .03em; }
.pf-head p { color: var(--muted); font-size: 1rem; }

.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pf-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pf-card-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pf-num { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--indigo); }
.pf-card h3 { font-family: var(--serif); font-size: 1.22rem; margin: 0; }
.pf-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.pf-card li { position: relative; padding-left: 14px; font-size: .84rem; color: var(--ink-soft); line-height: 2.05; }
.pf-card li::before { content: ""; position: absolute; left: 0; top: 1em; width: 5px; height: 1px; background: var(--indigo); }

.pf-strip { margin-top: 22px; background: var(--indigo-deep); border-radius: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-strip > div { padding: 26px 28px; }
.pf-strip > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.pf-strip .k { display: block; font-size: .72rem; letter-spacing: .22em; color: #c7d6ff; font-weight: 700; margin-bottom: 10px; }
.pf-strip p { margin: 0; font-size: .88rem; color: #ffffff; line-height: 1.8; }

.pf-about { display: grid; grid-template-columns: 1.5fr 0.85fr; gap: 72px; align-items: start; }
.pf-about h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 18px; letter-spacing: .03em; }
.pf-about-lede { font-size: 1rem; color: var(--ink-soft); }
.pf-block { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.pf-block h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--indigo); margin: 0 0 12px; }
.pf-block p { color: var(--ink-soft); font-size: .95rem; line-height: 1.9; }
.pf-side { position: sticky; top: 96px; }
.pf-side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pf-side-card + .pf-side-card { margin-top: 18px; }
.pf-side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }

.pf-cv {
  max-width: 900px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 48px; box-shadow: var(--shadow-sm);
}
.pf-cv h3 {
  font-family: var(--serif); font-size: 1.05rem; color: var(--ink);
  margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
}
.pf-cv h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.pf-cv p { color: var(--ink-soft); font-size: .93rem; line-height: 1.95; }

@media (max-width: 1000px) {
  .pf-hero { padding: 56px 0 52px; }
  .pf-hero-inner { grid-template-columns: 200px 1fr; gap: 40px; }
  .pf-photo::before { transform: translate(10px, 10px); }
  .pf-intro h1 { font-size: 3rem; }
  .pf-section { padding: 64px 0; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-strip > div:nth-child(2) { border-left: 0; }
  .pf-strip > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .pf-about { grid-template-columns: 1fr; gap: 40px; }
  .pf-side { position: static; }
}
@media (max-width: 760px) {
  .pf-hero { padding: 44px 0 46px; }
  .pf-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .pf-photo { max-width: 260px; }
  .pf-intro h1 { font-size: 2.6rem; }
  .pf-section { padding: 56px 0; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pf-strip { grid-template-columns: 1fr; }
  .pf-strip > div { padding: 20px 0; }
  .pf-strip > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .pf-cv { padding: 30px 24px; }
}

/* Positioning band */
.pf-position { padding: 76px 0; border-bottom: 1px solid var(--line); }
.pf-position-inner { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 64px; align-items: end; }
.pf-position h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 14px 0 16px; letter-spacing: .03em; }
.pf-position-lede { font-size: 1.02rem; color: var(--ink-soft); max-width: 720px; }
.pf-position-side { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.pf-position-k { font-size: .72rem; letter-spacing: .2em; color: var(--indigo); font-weight: 700; margin-bottom: 8px; }
.pf-position-v { font-size: .9rem; color: var(--muted); line-height: 1.85; }
.pf-pillars { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.pf-pillar { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.pf-pillar span { font-size: .72rem; letter-spacing: .16em; color: var(--indigo); font-weight: 700; }
.pf-pillar h3 { font-family: var(--serif); font-size: 1.16rem; margin: 6px 0 6px; }
.pf-pillar p { font-size: .86rem; color: var(--muted); line-height: 1.7; }
.pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-list li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: .94rem; line-height: 1.8; }
.pf-list li::before { content: ""; position: absolute; left: 0; top: .92em; width: 6px; height: 1px; background: var(--indigo); }

@media (max-width: 1000px) {
  .pf-position { padding: 56px 0; }
  .pf-position-inner { grid-template-columns: 1fr; gap: 28px; }
  .pf-position-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .pf-pillars { gap: 20px; }
}
@media (max-width: 760px) {
  .pf-position { padding: 46px 0; }
  .pf-pillars { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
}

/* Member publishing */
.insights-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.insights-session { font-size: .88rem; color: var(--muted); }
.insights-session a { color: var(--indigo); }
.member-tag { display: inline-block; margin-left: 10px; font-family: var(--sans); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.write-wrap { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow-sm); }
.write-session { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.write-session a { color: var(--indigo); }
.write-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 760px) { .write-wrap { padding: 24px 20px; } }

/* ============================================================
   TwoBirds-inspired homepage
   ============================================================ */
.tw-hero { position: relative; min-height: 560px; height: 78vh; max-height: 860px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.tw-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.tw-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,30,.93) 0%, rgba(10,12,30,.74) 42%, rgba(10,12,30,.24) 76%, rgba(10,12,30,.06) 100%), linear-gradient(180deg, rgba(10,12,30,.18) 0%, rgba(10,12,30,.22) 55%, rgba(10,12,30,.62) 100%); }
.tw-hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 76px; }
.tw-hero-eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.35); display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #dbe2ff; font-weight: 700; }
.tw-hero-eyebrow::before { content: ""; width: 30px; height: 1px; background: #dbe2ff; }
.tw-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: .01em; max-width: 17ch; margin: 16px 0 18px; }
.tw-hero p { color: rgba(255,255,255,.96); font-size: 1.05rem; max-width: 600px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.tw-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.tw-hero .btn-gold { background: #fff; color: var(--indigo-deep); }
.tw-hero .btn-gold:hover { background: #eef1ff; }
.tw-promo { position: absolute; right: max(24px, calc((100vw - var(--maxw)) / 2)); bottom: 40px; z-index: 2; width: 340px; background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tw-promo-img { height: 120px; background-size: cover; background-position: center; }
.tw-promo-body { padding: 18px 20px 20px; }
.tw-promo-label, .tw-tile-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); font-weight: 700; }
.tw-promo h3 { font-family: var(--serif); font-size: 1.05rem; margin: 8px 0 10px; color: var(--ink); }
.tw-promo-link { font-size: .82rem; color: var(--blue); font-weight: 600; }
@media (max-width: 1000px) { .tw-promo { display: none; } }

.tw-section { padding: 88px 0; }
.tw-section--alt { background: var(--bg-alt); }
.tw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.tw-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 0; letter-spacing: .02em; }
.tw-more { font-size: .85rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.tw-more:hover { color: var(--indigo); }

.tw-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.tw-tile { display: block; color: inherit; }
.tw-tile-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: 4px; transition: transform .4s ease; }
.tw-tile:hover .tw-tile-img { transform: scale(1.02); }
.tw-tile-label { display: block; margin-top: 14px; }
.tw-tile h3 { font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; margin: 6px 0 0; }

.tw-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-topic { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 26px; color: #fff; }
.tw-topic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,30,.04) 30%, rgba(10,12,30,.82) 100%); }
.tw-topic-body { position: relative; z-index: 1; }
.tw-topic h3 { color: #fff; font-size: 1.35rem; margin: 0 0 8px; }
.tw-topic p { color: rgba(255,255,255,.86); font-size: .85rem; margin: 0; }

.tw-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tw-person { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: inherit; transition: box-shadow .25s ease, transform .25s ease; }
.tw-person:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tw-person-img { aspect-ratio: 4 / 5; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tw-person-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.tw-person-initials { font-family: var(--serif); font-size: 2rem; color: var(--indigo); }
.tw-person-body { padding: 18px 20px 20px; }
.tw-person-body h3 { font-family: var(--serif); font-size: 1.15rem; margin: 8px 0 4px; }
.tw-person-role { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }

.tw-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tw-insight { display: block; color: inherit; }
.tw-insight-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: 4px; background-color: var(--bg-alt); }
.tw-insight-img--blank { background: linear-gradient(135deg, #e6ebff, #cfd8f7); }
.tw-insight h3 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; margin: 10px 0; }
.tw-meta { font-size: .78rem; color: var(--muted); }

.tw-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tw-event { display: block; border-top: 2px solid var(--indigo); padding-top: 16px; color: inherit; }
.tw-event-date { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); font-weight: 700; }
.tw-event h3 { font-family: var(--serif); font-size: 1.15rem; margin: 8px 0; line-height: 1.35; }

.tw-empty { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 34px; text-align: center; background: var(--surface); }
.tw-empty h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.tw-empty p { color: var(--muted); margin: 0 auto 16px; max-width: 520px; }

.tw-newsletter { background: var(--indigo-deep); color: #fff; padding: 72px 0; }
.tw-newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.tw-newsletter h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 12px 0 10px; }
.tw-newsletter p { color: rgba(255,255,255,.82); max-width: 560px; }
.tw-newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.tw-newsletter .btn-gold { background: #fff; color: var(--indigo-deep); }
.tw-newsletter .btn-gold:hover { background: #eef1ff; }

@media (max-width: 1000px) {
  .tw-hero { min-height: 62vh; }
  .tw-section { padding: 64px 0; }
  .tw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-people, .tw-insights, .tw-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tw-hero { min-height: 56vh; }
  .tw-hero-inner { padding-top: 80px; padding-bottom: 48px; }
  .tw-section { padding: 52px 0; }
  .tw-tiles, .tw-topics, .tw-people, .tw-insights, .tw-events { grid-template-columns: minmax(0, 1fr); }
  .tw-topic { aspect-ratio: 4 / 3; }
}

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin-left: 4px; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--indigo); }
.lang-switch .is-current { color: var(--indigo); font-weight: 700; }
.lang-switch .lang-sep { color: var(--line-strong); }
@media (max-width: 760px) { .lang-switch { margin: 6px 0 0; padding: 8px 12px; } }

/* Homepage stats strip */
.tw-stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.tw-stats-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tw-stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.tw-stat:first-child { border-left: 0; padding-left: 0; }
.tw-stat .n { font-family: var(--serif); font-size: 2.1rem; color: var(--indigo); line-height: 1; }
.tw-stat .l { margin-top: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .tw-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-stat { padding: 18px; }
  .tw-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Global network (home) */
.tw-orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tw-org { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; color: inherit; transition: box-shadow .25s ease, transform .25s ease; }
.tw-org:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tw-org h3 { font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; margin: 8px 0 6px; }
.tw-org p { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .tw-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tw-orgs { grid-template-columns: minmax(0, 1fr); } }

/* Homepage: capabilities / reach / offices / how / faq */
.tw-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--indigo); font-weight: 700; }
.tw-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--indigo); }

.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.cap-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-strong); color: inherit; }
.cap-row:hover h3 { color: var(--indigo); }
.cap-num { font-size: .72rem; letter-spacing: .14em; color: var(--indigo); font-weight: 700; }
.cap-row h3 { font-family: var(--serif); font-size: 1.16rem; margin: 0; transition: color .2s; }
.cap-count { font-size: .78rem; color: var(--muted); white-space: nowrap; }

.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.reach-copy h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); margin: 12px 0 14px; letter-spacing: .02em; }
.reach-copy p { color: var(--ink-soft); }
.reach-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.reach-tags .chip { background: var(--surface); }
.reach-visual img { width: 100%; height: auto; }
.reach-firms { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.firm-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; font-size: .86rem; color: var(--ink-soft); }
.firm-list .firm strong { color: var(--ink); font-weight: 600; }
.firm-list .firm span { color: var(--muted); }

.office-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.office-strip figure { margin: 0; }
.office-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--bg-alt); }
.office-strip figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.office-strip figcaption span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); font-weight: 700; }
.office-strip figcaption strong { font-family: var(--serif); font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.3; }

.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.how-step { border-top: 2px solid var(--indigo); padding-top: 18px; }
.how-step span { font-size: .72rem; letter-spacing: .16em; color: var(--indigo); font-weight: 700; }
.how-step h3 { font-family: var(--serif); font-size: 1.2rem; margin: 8px 0 8px; }
.how-step p { color: var(--muted); font-size: .9rem; line-height: 1.75; }

.faq-wrap { max-width: 920px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 1.06rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--indigo); font-weight: 700; font-size: 1.1rem; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin-top: 10px; color: var(--muted); font-size: .92rem; line-height: 1.85; max-width: 760px; }

@media (max-width: 1000px) {
  .cap-list { grid-template-columns: minmax(0, 1fr); }
  .reach-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .reach-visual { order: -1; }
  .office-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 760px) {
  .office-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-row { grid-template-columns: auto 1fr; }
  .cap-count { grid-column: 2; }
}

/* News list */
.tw-news { border-top: 1px solid var(--line-strong); }
.news-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: inherit; }
.news-row:hover h3 { color: var(--indigo); }
.news-type { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); font-weight: 700; }
.news-row h3 { font-family: var(--serif); font-size: 1.08rem; margin: 0; line-height: 1.4; transition: color .2s; }
.news-date { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .news-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .news-type { grid-column: 1; }
  .news-date { grid-column: 2; grid-row: 1; }
  .news-row h3 { grid-column: 1 / -1; grid-row: 2; }
}

/* Network offices note */
.office-note { color: var(--muted); font-size: .92rem; line-height: 1.75; max-width: 780px; margin: -18px 0 26px; }
.office-strip figure.is-own img { outline: 2px solid var(--indigo); outline-offset: 3px; }

/* Mobile: two columns for the two directory groups */
@media (max-width: 760px) {
  .directory-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; height: auto; }
  .directory-col { height: auto; overflow: visible; padding-right: 0; }
  .directory-col .directory-heading { position: static; background: transparent; padding-bottom: 0; margin-bottom: 14px; font-size: 1rem; }
  .directory-col .pro-grid,
  .directory-col--main .pro-grid,
  .directory-col--side .pro-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .directory-col .pro-card { padding: 12px; }
  .directory-col .pro-card .pc-top { gap: 8px; }
  .directory-col .pro-card .avatar { width: 40px; height: 40px; }
  .directory-col .pro-card .pc-name { font-size: .88rem; }
  .directory-col .pro-card .pc-title { font-size: .72rem; }
  .directory-col .pro-card .pc-org,
  .directory-col .pro-card .pc-cred,
  .directory-col .pro-card .chips { display: none; }
  .directory-col .pro-card .card-foot { margin-top: 10px; padding-top: 8px; }
  .directory-col .pro-card .card-foot .chip { display: none; }
}
@media (max-width: 360px) {
  .directory-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile: two independent vertical scroll panes */
@media (max-width: 760px) {
  .directory-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    height: clamp(420px, 64vh, 760px);
    align-items: stretch;
  }
  .directory-col {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
  }
  .directory-col::-webkit-scrollbar { width: 6px; }
  .directory-col::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
  .directory-col .directory-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg);
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
}

/* ============================================================
   Refinement pass — editorial / twobirds-inspired
   ============================================================ */
h1, h2, h3, h4 { letter-spacing: -.015em; }
body { background: var(--bg); }

.tw-section { padding: 88px 0; }
.tw-section--alt { background: #f5f6f7; }
.tw-head { margin-bottom: 46px; }
.tw-head h2 { font-weight: 500; letter-spacing: -.02em; }
.tw-more { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.tw-more:hover { color: var(--indigo); border-color: var(--indigo); }

.tw-hero { height: 82vh; min-height: 600px; max-height: 900px; }
.tw-hero::before {
  background:
    linear-gradient(90deg, rgba(10,12,20,.72) 0%, rgba(10,12,20,.36) 48%, rgba(10,12,20,.05) 100%),
    linear-gradient(180deg, rgba(10,12,20,.08) 0%, rgba(10,12,20,.14) 55%, rgba(10,12,20,.52) 100%);
}
.tw-hero h1 { font-weight: 500; letter-spacing: -.02em; max-width: 20ch; }
.tw-hero-eyebrow { font-weight: 600; letter-spacing: .24em; }
.tw-promo { border-radius: 2px; box-shadow: none; border: 1px solid rgba(255,255,255,.55); }
.tw-promo-img { height: 104px; }

.tw-stats { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tw-stat { padding: 30px 24px; }
.tw-stat .n { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.tw-stat .l { letter-spacing: .18em; }

.tw-tiles { gap: 30px 20px; }
.tw-tile-img { border-radius: 0; aspect-ratio: 4 / 3; }
.tw-tile h3 { font-weight: 500; font-size: 1.05rem; }
.tw-tile-label { color: var(--muted); }

.tw-person { border: 0; border-radius: 0; background: transparent; }
.tw-person:hover { transform: none; box-shadow: none; }
.tw-person-img { border-radius: 0; aspect-ratio: 3 / 4; }
.tw-person-body { padding: 16px 0 0; }
.tw-person-body h3 { font-weight: 500; }
.tw-person .tw-more { border: 0; padding: 0; }

.tw-orgs { gap: 0 36px; }
.tw-org { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 20px 0; }
.tw-org:hover { transform: none; box-shadow: none; }
.tw-org h3 { font-weight: 500; margin: 6px 0 4px; }

.tw-newsletter { background: #f5f6f7; color: var(--ink); padding: 88px 0; }
.tw-newsletter h2 { color: var(--ink); font-weight: 500; }
.tw-newsletter p { color: var(--muted); }
.tw-newsletter .btn-gold { background: var(--indigo); color: #fff; }
.tw-newsletter .btn-gold:hover { background: var(--indigo-deep); }
.tw-newsletter .btn-outline-light { color: var(--ink); border-color: var(--line-strong); }
.tw-newsletter .btn-outline-light:hover { background: #fff; border-color: var(--ink); }

.pro-card { border-color: var(--line); border-radius: 2px; box-shadow: none; }
.pro-card:hover { box-shadow: 0 8px 28px rgba(20,22,30,.07); border-color: var(--line-strong); }

/* ============================================================
   About — firm introduction & departments
   ============================================================ */
.about-hero {
  display: grid; grid-template-columns: 1.02fr 1fr;
  min-height: 640px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.about-hero-text {
  padding: 96px 56px 96px max(24px, calc((100vw - 1180px) / 2));
  display: flex; flex-direction: column; justify-content: center;
}
.about-hero h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.02; font-weight: 500; max-width: 13ch; margin: 18px 0 0;
  letter-spacing: -.02em;
}
.about-hero .lede { max-width: 46ch; margin-top: 22px; }
.about-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.about-hero-media { position: relative; overflow: hidden; background: #111; min-height: 460px; }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,22,30,.12), rgba(20,22,30,0) 40%),
              linear-gradient(180deg, rgba(20,22,30,.04), rgba(20,22,30,.18));
}

.about-intro { display: grid; grid-template-columns: 1.5fr .9fr; gap: 64px; align-items: start; }
.fact-panel { padding-top: 6px; }
.fact-grid { margin: 18px 0 0; border-top: 1px solid var(--line); }
.fact { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 5px 0 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; color: var(--ink); }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.stats-row .stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stats-row .stat:last-child { border-right: 0; }
.stats-row .n { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; line-height: 1; }
.stats-row .l { display: block; margin-top: 10px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.h-sub { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.mt-6 { margin-top: 56px; }

.committees { border-top: 1px solid var(--line-strong); }
.committee { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.committee-no { font-family: var(--serif); font-size: .9rem; color: var(--indigo); }
.committee-head h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.15; margin: 8px 0 10px; }
.committee-chair { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dept-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-content: start; }
.dept-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dept-name { font-size: .93rem; color: var(--ink); }
.dept-lead { font-size: .78rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 1024px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-text { padding: 72px 24px; }
  .about-hero-media { min-height: 360px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .committee { grid-template-columns: 1fr; gap: 18px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat:nth-child(2) { border-right: 0; }
  .stats-row .stat:nth-child(1), .stats-row .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .dept-list { grid-template-columns: 1fr; }
  .dept-list li { flex-direction: column; gap: 2px; }
  .dept-lead { text-align: left; white-space: normal; }
  .about-hero-meta { gap: 8px 16px; }
}

/* Homepage split hero */
.tw-hero-split {
  display: grid; grid-template-columns: 1.02fr 1fr; min-height: 620px;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.tw-hero-text {
  padding: 96px 56px 96px max(24px, calc((100vw - 1180px) / 2));
  display: flex; flex-direction: column; justify-content: center;
}
.tw-hero-split .tw-hero-eyebrow { color: var(--muted); }
.tw-hero-split h1 {
  font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1; font-weight: 500; letter-spacing: -.02em; max-width: 14ch;
  margin: 18px 0 0; color: var(--ink);
}
.tw-hero-split p { max-width: 46ch; margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.tw-hero-split .tw-hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.tw-hero-split .btn-outline-light { color: var(--ink); border-color: var(--line-strong); }
.tw-hero-split .btn-outline-light:hover { border-color: var(--ink); background: #fff; }
.tw-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.tw-hero-media { position: relative; overflow: hidden; background: #111; min-height: 460px; }
.tw-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,30,.02), rgba(20,22,30,.20));
}
.tw-hero-caption {
  position: absolute; left: 24px; bottom: 20px; z-index: 1; color: #fff;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
/* Below 1024px the hero stacks: copy block, then the full-width building photo */
@media (max-width: 1024px) {
  .tw-hero-split { grid-template-columns: 1fr; min-height: 0; }
  .tw-hero-text { padding: 72px 24px; }
  .tw-hero-split h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
  .tw-hero-media { min-height: 360px; }
}
@media (max-width: 640px) {
  .tw-hero-text { padding: 54px 22px; }
  .tw-hero-split h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
  .tw-hero-media { min-height: 240px; }
}

/* Curated image grid — unify mixed snapshots */
.tw-tile-img { position: relative; filter: grayscale(1) contrast(1.04); transition: filter .45s ease; }
.tw-tile-img::after { content: ""; position: absolute; inset: 0; background: var(--indigo); mix-blend-mode: multiply; opacity: .10; }
.tw-tile:hover .tw-tile-img { filter: grayscale(.15) contrast(1.02); }

/* Explore — typographic link grid (no photos) */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; border-top: 1px solid var(--line-strong); }
.explore-item { display: flex; flex-direction: column; padding: 24px 0 30px; border-bottom: 1px solid var(--line); text-decoration: none; }
.explore-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.explore-arrow { transition: transform .25s ease, color .25s ease; }
.explore-title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 500; color: var(--ink); margin-top: 18px; line-height: 1.1; }
.explore-desc { color: var(--muted); font-size: .93rem; margin-top: 8px; max-width: 34ch; line-height: 1.55; }
.explore-item:hover .explore-title { color: var(--indigo); }
.explore-item:hover .explore-arrow { transform: translateX(4px); color: var(--indigo); }
@media (max-width: 900px) { .explore-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (max-width: 600px) { .explore-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Global Network page
   ============================================================ */
.net-intro { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 64px; align-items: start; }
.net-intro-copy h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); margin: 12px 0 16px; letter-spacing: .02em; }
.net-intro-copy p { color: var(--ink-soft); font-size: .98rem; line-height: 1.85; }
.net-intro-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.net-intro-stats > div { background: var(--surface); padding: 26px 24px; }
.net-intro-stats .n { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--indigo); line-height: 1; }
.net-intro-stats .l { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tw-head-sub { font-size: .92rem; color: var(--muted); margin: 0; max-width: 620px; }
.net-committees { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.net-committees li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; font-family: var(--serif); font-size: .98rem; color: var(--ink); }
.net-firm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.net-firm { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.net-firm.is-own { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); }
.net-firm img, .net-img-blank { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--bg-alt); }
.net-img-blank { display: flex; align-items: center; justify-content: center; font-size: .78rem; color: var(--muted); }
.net-firm-body { padding: 14px 16px 16px; }
.net-firm-body h3 { font-family: var(--serif); font-size: 1rem; margin: 6px 0 6px; line-height: 1.3; }
.net-firm-body p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.6; }
.net-partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.net-partner { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; }
.net-partner h3 { font-family: var(--serif); font-size: 1.16rem; margin: 8px 0 8px; line-height: 1.3; }
.net-partner p { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 12px; }
.net-partner-people { font-size: .8rem; color: var(--indigo); font-weight: 600; }
.net-reach-text { color: var(--ink-soft); font-size: .98rem; line-height: 1.85; max-width: 860px; margin: -10px 0 20px; }
@media (max-width: 1000px) {
  .net-intro { grid-template-columns: 1fr; gap: 30px; }
  .net-committees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-firm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .net-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .net-committees { grid-template-columns: minmax(0, 1fr); }
  .net-firm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-partner-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Header: keep brand + nav on one line */
.header-inner { gap: 18px; }
.nav { flex-wrap: nowrap; gap: 2px; }
.nav-link { white-space: nowrap; padding: 10px 10px; font-size: .92rem; }
.brand { flex: none; }
.lang-switch { white-space: nowrap; margin-left: 2px; }
@media (max-width: 1100px) { .brand-tag { display: none; } }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-link { padding: 13px 12px; font-size: 1rem; }
}

/* Header: fit tablet widths (760–1180px) without wrapping */
@media (min-width: 761px) and (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .brand-name { font-size: .86rem; letter-spacing: .05em; }
  .nav-link { padding: 10px 8px; font-size: .88rem; }
  .nav-cta.btn-sm { padding: 8px 12px; font-size: .82rem; }
  .lang-switch { font-size: .72rem; gap: 4px; }
  .lang-switch .lang-sep { display: none; }
}
/* Network page refinements */
.tw-head { align-items: flex-end; }
.tw-head .tw-head-sub { flex-basis: 100%; margin-top: 6px; }
.net-img-blank {
  background: linear-gradient(135deg, var(--bg-alt), var(--surface));
  color: var(--indigo); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .04em;
  position: relative;
}
.net-img-blank::before { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1px solid var(--line-strong); border-radius: 50%; opacity: .6; }
.net-firm.is-own .net-img-blank::before { border-color: var(--indigo); }

/* ============================================================
   Home: firm intro (Shanghai JHH)
   ============================================================ */
.firm-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.firm-intro-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.12; margin: 12px 0 18px; letter-spacing: .02em; }
.firm-intro-copy p { color: var(--ink-soft); font-size: .98rem; line-height: 1.85; }
.firm-intro-copy p + p { margin-top: 12px; }
.firm-intro-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.firm-intro-media { display: grid; gap: 0; }
.firm-intro-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--bg-alt); }
@media (max-width: 1000px) {
  .firm-intro { grid-template-columns: 1fr; gap: 28px; }
  .firm-intro-media { order: -1; }
  .firm-intro-media img { aspect-ratio: 16 / 9; }
}

/* ============================================================
   Home: practice areas (CELG-style: committee → departments)
   ============================================================ */
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pr-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px 22px; }
.pr-card-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pr-num { font-size: .72rem; letter-spacing: .14em; color: var(--indigo); font-weight: 700; padding-top: 6px; }
.pr-card h3 { font-family: var(--serif); font-size: 1.22rem; margin: 0; line-height: 1.25; }
.pr-director { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.pr-intro { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; margin: 14px 0; }
.pr-services { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-services span { font-size: .72rem; color: var(--indigo); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }
.pr-depts { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pr-depts summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--indigo); list-style: none; display: flex; justify-content: space-between; }
.pr-depts summary::-webkit-details-marker { display: none; }
.pr-depts summary::after { content: "+"; }
.pr-depts[open] summary::after { content: "\2212"; }
.pr-depts ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.pr-depts li { display: flex; justify-content: space-between; gap: 14px; font-size: .84rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pr-depts li:last-child { border-bottom: 0; }
.pr-dept-name { color: var(--ink); }
.pr-dept-head { color: var(--muted); white-space: nowrap; font-size: .8rem; }
.pr-dept-head::before { content: "Head: "; color: var(--muted-2); }

/* ============================================================
   Home: legal services (cards) + Services page
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-card h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 8px 0 10px; }
.svc-card .svc-lede { font-size: .88rem; color: var(--ink-soft); line-height: 1.65; margin: 0 0 14px; }
.svc-stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-stages li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.svc-stage { font-family: var(--serif); color: var(--indigo); font-weight: 600; min-width: 22px; }
.svc-count { margin-left: auto; font-size: .72rem; color: var(--muted); }
.svc-total { margin-top: auto; padding-top: 14px; font-size: .82rem; font-weight: 600; color: var(--blue); }

.sv-line { padding: 56px 0; border-top: 1px solid var(--line); }
.sv-line:first-child { border-top: 0; padding-top: 24px; }
.sv-line-head { max-width: 900px; }
.sv-line-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 10px 0 12px; letter-spacing: .02em; }
.sv-line-head .svc-lede { font-size: .98rem; color: var(--ink-soft); line-height: 1.8; }
.sv-index { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 30px; font-size: .8rem; }
.sv-index a { color: var(--ink-soft); }
.sv-index a:hover { color: var(--indigo); }
.sv-index b { color: var(--indigo); font-family: var(--serif); margin-right: 4px; }
.sv-index em { font-style: normal; color: var(--muted); }
.sv-index .is-total { color: var(--indigo); font-weight: 600; }
.sv-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sv-stage { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; }
.sv-stage-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sv-stage-code { font-family: var(--serif); font-size: 1.4rem; color: var(--indigo); font-weight: 600; }
.sv-stage-head h3 { font-family: var(--serif); font-size: 1.1rem; margin: 0; }
.sv-stage ol { list-style: none; margin: 0; padding: 0; }
.sv-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.sv-item:last-child { border-bottom: 0; }
.sv-num { font-size: .72rem; letter-spacing: .1em; color: var(--indigo); font-weight: 700; padding-top: 4px; }
.sv-item h4 { font-family: var(--sans); font-size: .96rem; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.sv-item p { font-size: .86rem; color: var(--muted); line-height: 1.7; margin: 0; }
.sv-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.sv-foot h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); margin: 0 0 10px; }
.sv-foot ul { margin: 0; padding-left: 18px; }
.sv-foot li { font-size: .88rem; color: var(--ink-soft); line-height: 1.8; }

@media (max-width: 1000px) {
  .pr-grid, .svc-grid, .sv-stages { grid-template-columns: minmax(0, 1fr); }
  .sv-foot { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Visual refinements (seal indigo + crest red)
   ============================================================ */
.tw-hero-split { background: var(--surface); }
.tw-hero-split .tw-hero-eyebrow { color: var(--indigo); font-weight: 600; }
.tw-hero-split .tw-hero-eyebrow::before { background: var(--seal-red); width: 34px; }
.tw-hero-split h1 { letter-spacing: -.028em; font-weight: 600; }
.tw-hero-split .tw-hero-sub {
  font-family: var(--serif); font-size: 1.18rem !important; line-height: 1.5;
  color: var(--ink-soft) !important; margin-top: 26px !important;
}
.tw-hero-split .tw-hero-sub + p { font-size: .96rem; line-height: 1.8; color: var(--muted); }

.tw-hero-meta { gap: 0 !important; align-items: center; }
.tw-hero-meta span + span::before {
  content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: var(--line-strong); margin: 0 13px 3px; vertical-align: middle;
}

.tw-hero-media::after {
  background: linear-gradient(180deg, rgba(16,18,28,0) 45%, rgba(16,18,28,.48) 100%);
}
.tw-hero-caption { letter-spacing: .2em; font-weight: 600; }

/* section eyebrow with red chip */
.tw-eyebrow { color: var(--indigo); }
.tw-eyebrow::before { background: var(--seal-red); height: 2px; width: 22px; }

/* firm intro */
.firm-intro { padding-top: 8px; }
.firm-intro-media { position: relative; }
.firm-intro-media img { box-shadow: var(--shadow-sm); }
.firm-intro-media::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 56px; height: 56px;
  border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong);
}

/* practice + service cards */
.pr-card, .svc-card { border-top: 1px solid var(--line); }
.pr-card { transition: box-shadow .25s ease, transform .25s ease; }
.pr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pr-num { color: var(--indigo); }
.pr-depts summary { color: var(--indigo); }
.pr-depts summary::after { color: var(--indigo); }
.pr-services span { background: var(--accent-soft); color: var(--indigo); }

.svc-card h3 { letter-spacing: -.01em; }
.svc-total { color: var(--indigo); }
.svc-card:hover .svc-total { color: var(--indigo-deep); }
.svc-stage { color: var(--indigo); }

.tw-more { color: var(--indigo); }
.tw-more:hover { color: var(--indigo-deep); }

/* section rhythm */
.tw-section { padding: 80px 0; }
.tw-head { margin-bottom: 32px; }
.tw-head h2 { letter-spacing: -.022em; }

/* hero meta: keep on one line on desktop */
.tw-hero-meta { flex-wrap: nowrap; white-space: nowrap; font-size: .66rem; letter-spacing: .12em; }
@media (max-width: 1200px) {
  .tw-hero-meta { flex-wrap: wrap; white-space: normal; }
}
/* softer accent bracket */
.firm-intro-media::before { left: -10px; top: -10px; width: 40px; height: 40px; }

/* ============================================================
   Card alignment + last practice card as a wide feature
   ============================================================ */
.pr-grid { align-items: stretch; }
.pr-card { display: flex; flex-direction: column; }
.pr-card .pr-depts { margin-top: auto; }
.pr-card .pr-services { margin-bottom: 16px; }

/* five committees: the odd one out becomes a full-width feature card */
.pr-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  grid-template-areas:
    "head head"
    "intro services"
    "depts depts";
  column-gap: 48px;
}
.pr-card:last-child:nth-child(odd) .pr-card-head { grid-area: head; }
.pr-card:last-child:nth-child(odd) .pr-intro { grid-area: intro; margin-top: 20px; }
.pr-card:last-child:nth-child(odd) .pr-services { grid-area: services; margin: 20px 0 16px; align-content: flex-start; }
.pr-card:last-child:nth-child(odd) .pr-depts { grid-area: depts; }

/* practice card details */
.pr-num {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; font-weight: 500;
  color: var(--indigo); opacity: .55; min-width: 2.2ch;
}
.pr-card h3 { margin-top: 2px; }
.pr-director { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.pr-services span { transition: background .2s ease, color .2s ease; }
.pr-card:hover .pr-services span { background: #e2e6f6; }

/* service cards */
.svc-card { min-height: 100%; }
.svc-count { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-stages li { padding: 9px 0; }
.svc-stage {
  font-family: var(--serif); font-size: .78rem; letter-spacing: .06em; width: 2.1ch;
  display: inline-block; color: var(--indigo);
}

/* news rows */
.tw-news { border-top-color: var(--indigo); }
.news-row { transition: background .18s ease, padding-left .18s ease; }
.news-row:hover { background: rgba(30, 47, 143, .035); padding-left: 12px; }
.news-type { letter-spacing: .16em; font-size: .64rem; }

/* section eyebrow spacing */
.tw-eyebrow { letter-spacing: .2em; font-size: .68rem; font-weight: 700; }

/* keep the wide practice card single column on narrow screens */
@media (max-width: 900px) {
  .pr-card:last-child:nth-child(odd) { display: flex; }
}

/* ============================================================
   Closing contact band + footer finish
   ============================================================ */
.tw-newsletter {
  position: relative;
  background: var(--indigo-deep);
  color: #fff;
  padding: 84px 0;
  border-top: 0;
}
.tw-newsletter::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--seal-red);
}
.tw-newsletter .tw-hero-eyebrow { color: rgba(255,255,255,.7); text-shadow: none; font-weight: 600; }
.tw-newsletter .tw-hero-eyebrow::before { background: var(--seal-red); width: 34px; height: 2px; }
.tw-newsletter h2 { color: #fff; letter-spacing: -.022em; }
.tw-newsletter p { color: rgba(255,255,255,.76); }
.tw-newsletter .btn-gold { background: #fff; color: var(--indigo-deep); }
.tw-newsletter .btn-gold:hover { background: #e9ecfa; }
.tw-newsletter .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.42); }
.tw-newsletter .btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.site-footer { border-top: 0; }
.footer-brand .brand-mark {
  background: var(--indigo); color: #fff; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.footer-grid { padding-top: 64px; }
.footer-brand p { line-height: 1.75; }
.footer-col h4 { letter-spacing: .16em; }
.footer-bottom { color: var(--muted-2); }

/* mobile density */
@media (max-width: 600px) {
  .pr-services span { font-size: .68rem; padding: 3px 9px; }
  .pr-card { padding: 22px 20px 18px; }
  .tw-section { padding: 62px 0; }
  .tw-hero-text { padding-top: 64px; padding-bottom: 64px; }
  .news-row { padding: 16px 0; }
  .tw-newsletter { padding: 60px 0; }
}

/* ============================================================
   Join page: application steps + footer meta
   ============================================================ */
.join-steps {
  counter-reset: step;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.join-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.join-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--indigo);
}
.join-steps strong { color: var(--ink); font-weight: 600; }

.footer-meta { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-icp { color: var(--muted-2); }

/* ============================================================
   Directory: two panels, independent scrolling
   ============================================================ */
.directory-layout {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 44px;
  height: clamp(560px, 70vh, 900px);
}
.directory-col .directory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.directory-col .directory-heading h2 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0;
}
.directory-col .directory-heading .dc-sub {
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.directory-layout .pro-card { padding: 20px; border-radius: 8px; }
.directory-layout .pc-top { flex: 0 0 auto; gap: 12px; }
.directory-layout .avatar { width: 52px; height: 52px; border-radius: 10px; }
.directory-layout .pc-name { font-size: 1rem; }
.directory-layout .pc-title { font-size: .82rem; line-height: 1.45; margin-top: 4px; }
.directory-layout .pc-org { font-size: .78rem; margin-top: 2px; }
.directory-layout .pc-cred { font-size: .72rem; margin-top: 6px; }
.directory-layout .chips { margin-top: 14px; gap: 6px; }
.directory-layout .chip { font-size: .66rem; padding: 3px 8px; }
.directory-layout .card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.directory-layout .pc-area {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--indigo);
  min-width: 0;
  max-width: 58%;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.directory-layout .card-foot .link-arrow {
  font-size: .74rem;
  margin-left: auto;
  flex: none;
}
.directory-col .card-foot { flex-wrap: nowrap; row-gap: 0; }

@media (max-width: 1080px) {
  .directory-layout { gap: 32px; }
  .directory-col--main .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-col--side .pro-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .directory-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; height: auto; }
  .directory-col { height: auto; overflow: visible; padding-right: 0; }
  .directory-col .directory-heading { position: static; background: transparent; }
  .directory-col--main .pro-grid,
  .directory-col--side .pro-grid { grid-template-columns: minmax(0, 1fr); }
  .directory-layout .pc-area { max-width: 62%; }
}

/* Tablet header: collapse to the drawer before the nav starts to clip */
@media (min-width: 761px) and (max-width: 980px) {
  .header-inner { height: 66px; }
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 12px; border-radius: 8px; }
  .nav-link.is-active::after { display: none; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
}

/* Directory note (restored after layout revert) */
.directory-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}
.directory-note .ico { display: inline-flex; margin-top: 2px; flex: none; color: var(--indigo); }

/* Homepage: more air, fewer boxes */
.tw-section { padding: 88px 0; }
.tw-head { margin-bottom: 44px; }
.tw-head-sub { margin-top: 14px; }

.pr-grid { gap: 26px; }
.pr-card { padding: 30px 32px 24px; }

/* practice service list reads as text, not pills */
.pr-services {
  display: block;
  margin: 4px 0 20px;
  font-size: .86rem;
  line-height: 1.95;
  color: var(--ink-soft);
}
.pr-services span {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--ink-soft);
  font-size: .86rem;
}
.pr-services span:not(:last-child)::after {
  content: "  ·  ";
  color: var(--line-strong);
  white-space: pre;
}
.pr-card:hover .pr-services span { background: none; }

.svc-grid { gap: 26px; }
.svc-card { padding: 30px 32px; }
.news-row { padding: 24px 0; }

@media (max-width: 640px) {
  .tw-section { padding: 72px 0; }
  .tw-head { margin-bottom: 32px; }
  .pr-card { padding: 24px 22px 20px; }
}

/* Narrow laptops: keep the two hero buttons on one line */
@media (min-width: 641px) and (max-width: 860px) {
  .tw-hero-split .tw-hero-actions { gap: 10px; }
  .tw-hero-split .tw-hero-actions .btn { padding: 12px 18px; font-size: .88rem; }
}
