/* ============================================================
   Attorney Chen Ling · Design System
   "Trust & Authority" editorial aesthetic — ivory paper, deep
   navy ink, bronze-gold accents, EB Garamond display serif.
   Self-contained, no framework.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --primary: #1c314b;
  --primary-dark: #14253a;
  --primary-deep: #1c314b;
  --secondary: #35506c;
  --cta: #1c314b;
  --cta-dark: #14253a;
  --gold: #725a32;
  --gold-accent: #a0804d;
  --gold-soft: #d7c8aa;
  --accent: #e9eef3;
  --accent-light: #f0f3f6;

  /* Surfaces */
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efede6;
  --surface-3: #e7e2d7;
  --dark: #1c314b;
  --dark-2: #243d59;

  /* Text */
  --text: #202b38;
  --text-soft: #394858;
  --text-muted: #556170;
  --text-faint: #626d7a;
  --on-dark: #f5f2ea;
  --on-dark-muted: #d2dce6;

  /* Lines */
  --line: #dcd8ce;
  --line-soft: #e8e4db;
  --line-navy: #c8d2de;

  /* Semantic */
  --success: #166534;
  --success-bg: #f0fdf4;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;

  /* Elevation — soft, dignified */
  --e1: 0 1px 2px rgba(28, 49, 75, 0.05);
  --e2: 0 4px 16px -4px rgba(28, 49, 75, 0.1);
  --e3: 0 12px 32px -8px rgba(28, 49, 75, 0.16);
  --e4: 0 24px 56px -16px rgba(28, 49, 75, 0.24);

  /* Radius — restrained */
  --r-xs: 2px;
  --r-sm: 4px;
  --r: 12px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;

  /* Layout */
  --maxw: 1184px;
  --maxw-narrow: 780px;
  --gut: clamp(18px, 3vw, 32px);
  --header-h: 72px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 0.18s var(--ease);
  --med: 0.22s var(--ease);

  --font:
    "Lato", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont,
    Roboto, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Noto Sans CJK SC", sans-serif;
  --font-display:
    "EB Garamond", "Songti SC", "Noto Serif SC", Georgia, "Times New Roman",
    serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
  color: var(--primary-deep);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}
p {
  margin: 0;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--fast);
}
a:hover {
  color: var(--cta);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--r-xs);
}
::selection {
  background: var(--gold-soft);
  color: var(--primary-deep);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout utilities ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-narrow {
  max-width: var(--maxw-narrow);
}
.section {
  padding-block: clamp(48px, 7vw, 88px);
}
.section-sm {
  padding-block: clamp(32px, 5vw, 56px);
}
.section--alt {
  background: var(--surface-2);
  border-block: 1px solid var(--line-soft);
}
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section--dark h2,
.section--dark h3 {
  color: var(--on-dark);
}
.section--dark p {
  color: var(--on-dark-muted);
}
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.col {
  display: flex;
  flex-direction: column;
}
.text-center {
  text-align: center;
}
.sticky-24 {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.hidden {
  display: none !important;
}
.muted {
  color: var(--text-muted);
}
.faint {
  color: var(--text-faint);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-soft);
}
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* JS dropdown state utilities (used by base layout script) */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; pointer-events: none; }
.visible { visibility: visible; pointer-events: auto; }
.rotate-180 { transform: rotate(180deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background-color var(--fast),
    color var(--fast),
    border-color var(--fast),
    box-shadow var(--fast);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--e2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--e3);
}
.btn-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--e2);
}
.btn-cta:hover {
  background: var(--cta-dark);
  color: #fff;
  box-shadow: var(--e3);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-light {
  background: #fff;
  color: var(--primary-deep);
}
.btn-light:hover {
  background: var(--surface-2);
  color: var(--primary-deep);
}
.btn-on-dark {
  border-color: rgba(245, 242, 234, 0.45);
  color: var(--on-dark);
  background: transparent;
}
.btn-on-dark:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Eyebrow / chips / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow svg {
  width: 15px;
  height: 15px;
}
.section--dark .eyebrow {
  color: var(--gold-soft);
}
.brand-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-muted);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--fast),
    color var(--fast),
    border-color var(--fast);
}
.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.chip-primary {
  background: var(--accent);
  border-color: var(--line-navy);
  color: var(--primary);
}
.chip-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.chip-on:hover {
  color: #fff;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}
.check::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.check-light {
  color: var(--on-dark-muted);
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Icon tiles ---------- */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--accent);
  border: 1px solid var(--line-navy);
  color: var(--primary);
  flex: none;
}
.icon-tile svg {
  width: 26px;
  height: 26px;
}
.icon-tile--gold {
  background: #faf5e9;
  border-color: var(--gold-soft);
  color: var(--gold);
}
.icon-tile-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--primary);
  flex: none;
}
.icon-tile-sm svg {
  width: 20px;
  height: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--fast),
    box-shadow var(--fast);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--e2);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--primary-deep);
}
.brand:hover {
  color: var(--primary);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--primary-deep);
  color: var(--gold-soft);
  flex: none;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.brand small {
  display: block;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  transition:
    color var(--fast),
    background-color var(--fast);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--accent);
}
.nav-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--fast);
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--primary-deep);
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}
.nav-toggle:hover {
  background: var(--accent);
}

/* Dropdowns */
.dropdown-container {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 340px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--fast),
    visibility var(--fast);
  z-index: 60;
}
.dropdown-menu.opacity-100.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu[data-align="right"] {
  left: auto;
  right: 0;
  transform: none;
}
.dropdown-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--e3);
  padding: 10px;
  display: grid;
  gap: 2px;
}
.dropdown-panel--sm {
  min-width: 220px;
}
.menu-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background-color var(--fast);
}
.menu-item:hover {
  background: var(--accent-light);
}
.menu-item-title {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text);
}
.menu-item:hover .menu-item-title {
  color: var(--primary);
}
.menu-item-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition:
    background-color var(--fast),
    color var(--fast);
}
.menu-link:hover {
  background: var(--accent-light);
  color: var(--primary);
}
.menu-link svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--e3);
  padding-block: 16px 20px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.m-link,
.m-dd-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 10px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
}
.m-link:hover,
.m-dd-btn:hover {
  background: var(--accent-light);
  color: var(--primary);
}
.m-dd-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--fast);
}
.m-dd-panel {
  display: flex;
  flex-direction: column;
  padding: 2px 0 6px;
}
.m-sublink {
  padding: 10px 10px 10px 26px;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}
.m-sublink::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.m-sublink:hover {
  color: var(--primary);
  background: var(--accent-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 64px);
  background: var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-soft),
    transparent
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  margin-block: 14px 18px;
}
.hero-accent {
  color: var(--primary);
  font-style: normal;
  text-decoration: none;
}
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  background: rgba(160, 128, 77, 0.07);
  color: var(--text);
  text-decoration: none;
}
.hero-contact-item svg {
  width: 21px;
  height: 21px;
  color: var(--gold);
  flex: none;
}
.hero-contact-item small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.hero-contact-item strong {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}
a.hero-contact-item:hover {
  border-color: var(--gold);
  background: rgba(160, 128, 77, 0.12);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}
.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: none;
}

/* Hero credentials panel */
.counsel-panel {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  box-shadow: var(--e4);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(215, 200, 170, 0.28);
}
.counsel-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 200, 170, 0.22);
  border-radius: calc(var(--r-lg) - 4px);
  pointer-events: none;
}
.counsel-panel--photo {
  padding: 0;
  overflow: hidden;
}
.counsel-panel--photo::before {
  display: none;
}
.counsel-portrait {
  position: relative;
  border-bottom: 2px solid var(--gold);
}
.counsel-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: 50% 12%;
}
.counsel-portrait-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 64px 24px 16px;
  background: linear-gradient(
    180deg,
    rgba(28, 49, 75, 0) 0%,
    rgba(28, 49, 75, 0.55) 52%,
    rgba(28, 49, 75, 0.92) 100%
  );
}
.counsel-portrait-caption h2 {
  color: var(--on-dark);
  margin: 2px 0 4px;
}
.counsel-portrait-caption p {
  color: var(--on-dark-muted);
  margin: 0;
}
.counsel-body {
  padding: 20px clamp(20px, 2.5vw, 28px) clamp(22px, 2.5vw, 28px);
}
.counsel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(215, 200, 170, 0.25);
  margin-bottom: 18px;
}
.counsel-head h2 {
  color: var(--on-dark);
  margin: 2px 0 4px;
}
.counsel-head p,
.counsel-kicker {
  color: var(--on-dark-muted);
}
.counsel-kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.counsel-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  flex: none;
}
.counsel-photo {
  width: 88px;
  height: 110px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(215, 200, 170, 0.45);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
  flex: none;
  background: var(--dark-2);
}
.counsel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Portrait block (about page / large photo positions) */
.portrait-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--e4);
  border: 1px solid var(--line);
  background: var(--dark);
  aspect-ratio: 3 / 4;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 200, 170, 0.45);
  border-radius: calc(var(--r-lg) - 4px);
  pointer-events: none;
}
.portrait-caption {
  margin-top: 14px;
  text-align: center;
}
.portrait-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}
.portrait-caption span {
  font-size: 0.86rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.about-intro {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
@media (max-width: 1023px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-intro .portrait-frame {
    max-width: 340px;
    margin-inline: auto;
  }
}

/* Language switch pill in nav */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--line-navy);
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--surface);
}
.lang-switch:hover {
  border-color: var(--gold);
  color: var(--cta);
}
.lang-switch svg {
  width: 15px;
  height: 15px;
}
.counsel-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--on-dark);
}
.counsel-role {
  font-size: 0.85rem;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
}
.counsel-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.counsel-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.counsel-list svg {
  width: 17px;
  height: 17px;
  color: var(--gold-soft);
  flex: none;
  margin-top: 3px;
}
.counsel-list strong {
  color: var(--on-dark);
  font-weight: 700;
}
.counsel-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(215, 200, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--on-dark-muted);
}
.counsel-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.counsel-seal svg {
  width: 18px;
  height: 18px;
}

/* ---------- Section headers ---------- */
.shead {
  max-width: 740px;
  margin-inline: 0;
  text-align: left;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.shead h2 {
  margin-block: 10px 14px;
}
.shead p {
  color: var(--text-muted);
  font-size: 1.04rem;
}
.shead--left {
  margin-inline: 0;
  text-align: left;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: none;
  transition:
    box-shadow var(--med),
    border-color var(--med),
    transform var(--med);
}
.card-pad {
  padding: clamp(22px, 2.6vw, 32px);
}
a.card:hover,
.card-link:hover {
  box-shadow: var(--e3);
  border-color: var(--line-navy);
}
.feature h3 {
  margin-block: 16px 8px;
}
.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Practice-area cards */
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--e1);
  padding: clamp(24px, 2.6vw, 32px);
  transition:
    box-shadow var(--med),
    transform var(--med),
    border-color var(--med);
  cursor: pointer;
}
.area-card:hover {
  box-shadow: none;
  border-color: var(--gold-accent);
  background: var(--surface-2);
}
.area-card h3 {
  font-size: 1.28rem;
}
.area-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.area-card .readmore {
  margin-top: 4px;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.area-tags span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-full);
  padding: 3px 10px;
}
.readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}
.readmore:hover {
  color: var(--cta);
}

/* ---------- Stats ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.1;
}
.stat-num em {
  font-style: normal;
  color: var(--gold);
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}
.section--dark .stat-num {
  color: var(--gold-soft);
}
.section--dark .stat-label {
  color: var(--on-dark-muted);
}

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.process-step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 1px solid var(--gold-accent);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 32px);
  box-shadow: var(--e1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-soft);
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}
.quote-who .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}
.quote-who strong {
  display: block;
  color: var(--text);
}
.quote-who span {
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--fast);
}
.faq-item[open] {
  border-color: var(--line-navy);
  box-shadow: var(--e2);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--fast);
  flex: none;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: var(--primary);
}
.faq-body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}
.faq-body a {
  font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
  border: 1px solid rgba(215, 200, 170, 0.3);
}
.cta-band h2 {
  color: var(--on-dark);
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--on-dark-muted);
  max-width: 620px;
  margin: 0 auto 26px;
}

/* ---------- Page head ---------- */
.crumbs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--text-muted);
}
.crumbs a:hover {
  color: var(--primary);
}
.crumbs-sep {
  color: var(--text-faint);
}
.page-head {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 48px);
  text-align: left;
}
.page-head h1 {
  max-width: 940px;
  margin-inline: 0;
}
.page-head p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
}
.page-head .eyebrow {
  margin-bottom: 4px;
}

/* ---------- Definition / answer block (GEO) ---------- */
.answer-box {
  background: var(--accent-light);
  border: 1px solid var(--line-navy);
  border-left: 1px solid var(--line-navy);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 28px);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-soft);
}
.answer-box strong {
  color: var(--text);
}

/* ---------- Checklist ---------- */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.65;
  color: var(--text-soft);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--line-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231e3a8a'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.check-list strong {
  color: var(--text);
}

/* ---------- Blog ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: none;
  transition:
    box-shadow var(--med),
    border-color var(--med);
}
.post-card:hover {
  box-shadow: var(--e3);
  border-color: var(--line-navy);
}
.post-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 8.4;
  background:
    linear-gradient(
      135deg,
      var(--accent-light),
      var(--surface-2)
    );
  color: var(--line-navy);
  overflow: hidden;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--med);
}
.post-card:hover .post-thumb img {
  transform: scale(1.03);
}
.post-thumb svg {
  width: 44px;
  height: 44px;
}
.post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.post-title {
  font-size: 1.15rem;
  line-height: 1.35;
  transition: color var(--fast);
}
a:hover .post-title {
  color: var(--primary);
}
.post-excerpt {
  color: var(--text-muted);
  font-size: 0.93rem;
  flex: 1;
}
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  color: var(--text-faint);
}
.pager {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.pager-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.94rem;
}
.pager-inner a {
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.pager-inner a:hover {
  border-color: var(--primary);
}
.page-num {
  font-weight: 800;
  color: var(--primary);
}
.page-info {
  color: var(--text-faint);
}

/* Sidebar widgets */
.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--e1);
}
.widget h3 {
  font-size: 1.05rem;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold-soft);
}
.widget-cta {
  background: var(--dark);
  border-color: rgba(215, 200, 170, 0.3);
  color: var(--on-dark);
}
.widget-cta h3 {
  color: var(--on-dark);
  border-bottom-color: rgba(215, 200, 170, 0.35);
}
.widget-cta p {
  color: var(--on-dark-muted);
}
.widget-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.widget-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.45;
}
.widget-list a:hover {
  color: var(--primary);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* Article */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.crumbs a {
  color: var(--text-muted);
  font-weight: 600;
}
.crumbs a:hover {
  color: var(--primary);
}
.crumbs svg {
  width: 13px;
  height: 13px;
}
.crumbs .here {
  color: var(--text-faint);
  max-width: 380px;
}
.article-head {
  margin-bottom: 26px;
}
.article-head h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-block: 10px 12px;
}
.article-body {
  margin-bottom: 32px;
}
.prose {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--text-soft);
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.7em 0 0.7em;
}
.prose h2 {
  font-size: 1.55rem;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  font-size: 1.22rem;
}
.prose p {
  margin-block: 0 1.1em;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin-block: 0 1.2em;
}
.prose li {
  margin-block: 0.35em;
}
.prose img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  margin-block: 1.2em;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 22px;
  border-left: 1px solid var(--gold-accent);
  background: var(--accent-light);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-display);
  font-style: italic;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.2em;
  font-size: 0.94rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.prose th {
  background: var(--surface-2);
  font-weight: 700;
}
.prose a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 3px;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-link {
  display: block;
  padding: 6px 10px;
  border-left: 2px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.toc-link:hover {
  color: var(--primary);
  border-left-color: var(--gold);
  background: var(--accent-light);
}
.toc .lvl-h3 .toc-link {
  padding-left: 24px;
}
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    border-color var(--fast),
    background-color var(--fast);
}
.related-link:hover {
  border-color: var(--line-navy);
  background: var(--accent-light);
}
.related-link h4 {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-line:last-child {
  border-bottom: 0;
}
.contact-line strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.contact-line span,
.contact-line a {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-line > div > span,
.contact-line > div > a {
  display: block;
}
.contact-line a:hover {
  color: var(--primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-deep);
  color: var(--on-dark-muted);
  margin-top: 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-brand .brand small {
  color: var(--gold-soft);
}
.footer-brand .brand {
  color: var(--on-dark);
  margin-bottom: 16px;
}
.footer-brand .brand-mark {
  background: rgba(215, 200, 170, 0.14);
  color: var(--gold-soft);
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.footer-badges svg {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
  flex: none;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col h4 {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--on-dark);
}
.footer-bottom {
  border-top: 1px solid rgba(215, 200, 170, 0.18);
  padding-block: 22px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}
.footer-bottom .links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom a {
  color: var(--on-dark-muted);
}
.footer-bottom a:hover {
  color: var(--on-dark);
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(185, 193, 214, 0.75);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 760px;
}

/* ---------- Motion ----------
   Reading content is visible immediately. Keep short transitions for controls;
   the observer's legacy .in state must never gate access to page content. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition:
      opacity var(--med),
      transform var(--med);
  }
}
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary-deep);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Service fact card (GEO audit P1-3) ---------- */
.fact-dl {
  display: grid;
  grid-template-columns: minmax(96px, max-content) 1fr;
  gap: 10px 24px;
  margin: 0;
}
.fact-dl dt {
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
}
.fact-dl dd {
  margin: 0;
  line-height: 1.7;
}
.fact-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted, #5c6478);
}
@media (max-width: 640px) {
  .fact-dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .fact-dl dd {
    margin-bottom: 10px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-2col {
    grid-template-columns: 1fr;
  }
  .sticky-24 {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .process {
    grid-template-columns: 1fr;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-row .btn {
    flex: 1 1 auto;
  }
  .counsel-panel {
    padding: 22px;
  }
}


/* Shared by every locale. The existing navy / parchment identity stays intact. */
.locale-switch { display:flex; gap:4px; align-items:center; flex:none; font-size:.8rem; }
.locale-switch a { padding:7px 9px; border:1px solid transparent; border-radius:5px; color:var(--text-soft); white-space:nowrap; }
.locale-switch a[aria-current="page"] { border-color:var(--line); color:var(--primary-deep); background:var(--accent); }
.locale-switch a:hover { border-color:var(--gold); }
.nav { gap:16px; }
.nav-link { padding:10px; }
.nav .brand small { letter-spacing:.07em; }
.nav .brand { flex:none; }
.dropdown-menu { min-width:310px; }
.dropdown-panel .menu-item { padding:12px 16px; }
.page-head h1 { max-width:1000px; overflow-wrap:break-word; }
.page-head .btn-row { margin-bottom:8px; }
.matter-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:56px; align-items:start; }
.matter-main { min-width:0; }
.matter-section { display:grid; grid-template-columns:40px minmax(0,1fr); gap:22px; padding:0 0 32px; margin-bottom:32px; border-bottom:1px solid var(--line); }
.section-number { color:var(--gold); font-family:var(--font-display); font-size:1.7rem; line-height:1.3; }
.matter-section h2 { font-size:clamp(1.45rem,2.4vw,1.9rem); margin-bottom:16px; }
.matter-section p { color:var(--text-soft); line-height:1.95; }
.matter-sidebar { display:grid; gap:24px; }
.matter-sidebar h2 { font-size:1.25rem; margin-bottom:20px; }
.evidence-list { list-style:none; padding:0; margin:0; }
.evidence-list li { position:relative; padding:13px 0 13px 18px; border-top:1px solid var(--line); font-size:.93rem; line-height:1.7; }
.evidence-list li::before { content:"·"; position:absolute; left:0; color:var(--gold); font-weight:bold; }
.related-link { display:flex; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); font-size:.94rem; }
.related-link span { color:var(--gold); }
.card-index { display:block; color:var(--gold); font-family:var(--font-display); font-size:1.65rem; margin-bottom:20px; }
.area-card { display:flex; flex-direction:column; align-items:flex-start; }
.area-card p { flex:1; }
.card-action { display:flex; justify-content:space-between; width:100%; gap:16px; color:var(--primary-deep); font-weight:700; font-size:.85rem; margin-top:25px; padding-top:18px; border-top:1px solid var(--line); }
.quick-links { display:flex; flex-wrap:wrap; gap:16px 30px; margin-top:30px; padding-top:22px; border-top:1px solid var(--line); font-size:.93rem; }
.quick-links a { text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:5px; }
.service-group { padding-bottom:48px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.service-group > h2 { margin-bottom:26px; }
.enquiry-outline { width:100%; display:block; resize:vertical; padding:18px; margin:12px 0 20px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:6px; font:inherit; font-size:.93rem; line-height:1.75; }
#copy-status { min-height:1.8em; font-size:.88rem; margin-top:12px; }
.answer-box h2 { font-size:1.2rem; margin-bottom:12px; }
html[lang="en"] .hero h1 { font-size:clamp(2.2rem,4.1vw,3.75rem); line-height:1.12; }
html[lang="en"] .hero .lead { font-size:1.03rem; line-height:1.85; }
html[lang="en"] .hero .trust-row { gap:10px 20px; }
html[lang="en"] .brand { font-size:1.2rem; }
html[lang="en"] .fact-dl { grid-template-columns:minmax(100px,150px) minmax(0,1fr); }
.footer-col > span { display:block; font-size:.85rem; overflow-wrap:anywhere; }
@media(min-width:1024px) and (max-width:1200px) {
  .nav { gap:10px; }
  .nav-link { padding:8px 7px; font-size:.85rem; }
  .nav .brand small { max-width:160px; font-size:.6rem; }
  .nav .brand-mark { width:32px; height:32px; }
}
@media(max-width:1023px) {
  .nav .locale-switch { margin-left:auto; }
  .nav-toggle { margin-left:0; flex:none; }
  .nav .nav-cta { display:none; }
  .matter-layout { grid-template-columns:1fr; gap:32px; }
  .matter-sidebar { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  .nav { gap:8px; }
  .nav .brand { gap:8px; font-size:1.05rem; }
  .nav .brand small { display:none; }
  .nav .brand-mark { width:30px; height:30px; }
  .locale-switch { font-size:.72rem; gap:0; }
  .locale-switch a { padding:7px; }
  .matter-sidebar { grid-template-columns:1fr; }
  .matter-section { grid-template-columns:26px minmax(0,1fr); gap:12px; }
  .section-number { font-size:1.3rem; }
  .quick-links { flex-direction:column; align-items:flex-start; }
  .btn { white-space:normal; text-align:center; }
  .hero-contact-item { min-width:0; }
  .contact-grid > * { min-width:0; }
  html[lang="en"] .fact-dl { grid-template-columns:1fr; }
}

/* Scenario service navigation and intake, 2026-10-28. */
.nav-v3 .dropdown-menu { min-width:300px; max-width:360px; }
.nav-v3 .menu-item { font-size:.88rem; line-height:1.5; }
.scenario-paths .area-card { border-top:1px solid var(--line); }
.matter-situation h3 { line-height:1.5; }
.scenario-hkm { scroll-margin-top:120px; margin-bottom:32px; }
.scenario-faq { margin:36px 0; }
.scenario-faq h2 { margin-bottom:20px; }
.scenario-question { padding:20px 0; border-top:1px solid var(--line); }
.scenario-question summary { cursor:pointer; font-weight:700; font-size:1.05rem; line-height:1.7; }
.scenario-question p { color:var(--text-soft); line-height:1.9; padding-top:16px; }
.scenario-sources p { font-size:.83rem; line-height:1.7; }
.scenario-select { display:block; width:100%; margin:12px 0 20px; padding:12px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:6px; font:inherit; }
@media (min-width:1024px) and (max-width:1150px) { .nav-v3 .nav-link { font-size:.78rem; padding:8px 5px; } }

.scenario-table-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:6px; }
.scenario-table { width:100%; min-width:650px; border-collapse:collapse; font-size:.93rem; line-height:1.85; }
.scenario-table th,.scenario-table td { padding:20px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.scenario-table thead { color:var(--on-dark); background:var(--primary-deep); }
.scenario-table tbody th { width:20%; }
.scenario-table tbody tr:last-child > * { border-bottom:0; }
.scenario-loss .card p,.scenario-roles .card p,.scenario-healthcare .card p { line-height:1.9; color:var(--text-soft); }

/* Shared finishing rules: ink, paper, real content; no decorative label tier. */
.shead > .eyebrow,
.page-head .eyebrow,
.cta-band > .eyebrow {
  display: none;
}
.page-head + .section {
  padding-top: clamp(28px, 4vw, 48px);
}
.page-head .btn-row {
  margin-top: 24px;
  justify-content: flex-start;
}
.page-head .crumbs {
  justify-content: flex-start;
  margin-bottom: 20px;
}
input, textarea, select {
  caret-color: var(--primary);
  accent-color: var(--primary);
}
html {
  scrollbar-color: var(--gold-accent) var(--surface-2);
  scrollbar-width: thin;
}
.btn, .nav-link, .locale-switch a {
  min-height: 44px;
}
.locale-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}
.btn-primary, .btn-cta {
  box-shadow: none;
}
.btn-primary:hover, .btn-cta:hover {
  box-shadow: none;
}
.cta-band .btn-cta,
.widget-cta .btn-cta,
.section--dark .btn-cta {
  background: var(--surface);
  color: var(--primary-deep);
}
.cta-band .btn-cta:hover,
.widget-cta .btn-cta:hover,
.section--dark .btn-cta:hover {
  background: var(--surface-2);
}
.section--dark :focus-visible,
.cta-band :focus-visible,
.widget-cta :focus-visible,
.counsel-panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-soft);
}
.dropdown-panel {
  border: 0;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--e3);
}
.card, .area-card, .widget, .post-card {
  box-shadow: none;
}
.portrait-frame {
  box-shadow: none;
  border: 0;
}
.portrait-frame::after {
  display: none;
}
.portrait-caption span {
  letter-spacing: .02em;
}
.hero-accent {
  font-style: normal;
}
.counsel-panel {
  border: 0;
  box-shadow: none;
}
.counsel-panel::before {
  display: none;
}
.counsel-portrait {
  border-bottom: 0;
}
.answer-box {
  border: 1px solid var(--line-navy);
}
@media (max-width: 600px) {
  .page-head h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.25rem);
    line-height: 1.35;
  }
  .page-head p {
    font-size: 1rem;
    line-height: 1.85;
    margin-top: 12px;
  }
  .page-head .btn-row {
    gap: 10px;
    margin-top: 20px;
  }
  .page-head .btn-row .btn {
    padding: 13px 16px;
    font-size: .94rem;
  }
  .brand small {
    letter-spacing: .03em;
  }
}
@media print {
  .site-header, .site-footer, .skip-link, .page-head .btn-row,
  .cta-band, .mobile-menu {
    display: none;
  }
  body, .page-head, .section--alt {
    background: #fff;
    color: #202b38;
  }
  .page-head {
    padding-block: 20px;
  }
  .section, .section-sm {
    padding-block: 20px;
  }
  .matter-layout, .layout-2col {
    display: block;
  }
}

.matter-main p a,
.answer-box p a,
.contact-line a {
  text-decoration: underline;
  text-decoration-color: var(--gold-accent);
  text-underline-offset: 4px;
}
