﻿/* CS Advocates LLP concept v2: full-page, light-first, existing brand palette. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("../fonts/playfair-display-latin-v2.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url("../fonts/inter-variable-latin-v2.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --soft: #f7f5f0;
  --card: #fcfbf8;
  --ink: #1c1c1f;
  --navy: #111114;
  --navy-2: #2a2a2e;
  --muted: #565d66;
  --gold: #9c7a3c;
  --gold-2: #bfa15e;
  --gold-ink: #6d5620;
  --border: #ece5d3;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 17, 20, .06);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1420px;
  --gutter: clamp(20px, 3.2vw, 44px);
  --section: clamp(64px, 7.6vw, 108px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0c0c0f;
  --soft: #121216;
  --card: #17171c;
  --ink: #e9e7e1;
  --navy: #0e0e11;
  --navy-2: #1c1c22;
  --muted: #a6aab2;
  --gold: #c9a86a;
  --gold-2: #e0c684;
  --gold-ink: #d8c188;
  --border: #2a2a31;
  --white: #f4f1e9;
  --shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); letter-spacing: -.025em; line-height: 1.08; margin-top: 0; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: var(--ink); }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner { min-height: 88px; display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; color: var(--navy); }
.brand-logo { width: 62px; height: 62px; }
[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 7px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--gold-ink); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.theme-toggle {
  min-height: 36px; padding: 0 12px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-family: var(--sans); font-size: .66rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 20px; border: 1px solid var(--navy); background: var(--navy);
  color: var(--white); font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--outline:hover { background: var(--soft); color: var(--gold-ink); border-color: var(--gold); }
.header-cta { min-height: 42px; padding: 11px 17px; }
[data-theme="dark"] .header-cta { background: var(--gold); border-color: var(--gold); color: #111114; }

/* Common type */
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-ink);
}
.kicker::before { content: ""; width: 2px; height: 17px; background: var(--gold); flex: 0 0 auto; }
.section { padding-block: var(--section); }
.section--soft { background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); border-block: 1px solid var(--border); }
.section--paper { background: var(--card); border-block: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 50px); }
.section-head h2 { font-size: clamp(2.4rem, 4.25vw, 4.5rem); margin: 0; }
.split-grid .section-head h2 { font-size: clamp(2rem, 3.05vw, 3.25rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; font-size: .96rem; line-height: 1.7; }
.section-head--tight { margin-bottom: 30px; }
.note { color: var(--muted); font-size: .82rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); border-bottom: 1px solid var(--border); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-radial-gradient(ellipse at 82% 22%, transparent 0 16px, color-mix(in srgb, var(--gold) 18%, transparent) 17px 18px, transparent 19px 38px);
  opacity: .55; pointer-events: none;
}
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 11vw, 155px);
  color: var(--gold); opacity: .26; pointer-events: none;
}
.hero-skyline svg { width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr);
  gap: clamp(32px, 5.5vw, 86px); align-items: stretch;
  padding-block: clamp(64px, 7.4vw, 104px);
}
.hero-copy { position: relative; z-index: 2; align-self: center; }
.hero h1 {
  font-size: clamp(3.35rem, 6.2vw, 6.25rem); line-height: .97; letter-spacing: -.045em;
  margin: 18px 0 24px; color: var(--navy);
}
[data-theme="dark"] .hero h1 { color: var(--ink); }
.hero h1 span { color: var(--gold-ink); }
.hero-lead { max-width: 59ch; margin: 0 0 26px; color: var(--muted); font-size: clamp(1.05rem, .55vw + .94rem, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 23px; color: var(--muted); font-size: .76rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.matter-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(24px, 3vw, 38px); background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow); min-height: 100%;
}
.matter-panel::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 280px; height: 280px;
  background: repeating-radial-gradient(circle, transparent 0 11px, color-mix(in srgb, var(--gold) 15%, transparent) 12px 13px, transparent 14px 28px);
  opacity: .65; pointer-events: none;
}
.matter-label { position: relative; z-index: 1; font-size: .66rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-ink); }
.panel-shield { position: absolute; right: -56px; bottom: -46px; width: 235px; color: var(--gold); opacity: .12; pointer-events: none; z-index: 0; }
.panel-shield .shield-line { width: 100%; height: auto; display: block; }
.matter-beads { position: absolute; top: 25px; right: 25px; width: 44px; color: var(--gold); opacity: .55; pointer-events: none; z-index: 0; }
.matter-beads .bead-rosette { width: 100%; height: auto; display: block; }
.matter-panel > *:not(.panel-shield):not(.matter-beads) { position: relative; z-index: 1; }
.matter-panel h2 { position: relative; z-index: 1; font-size: clamp(1.7rem, 2.4vw, 2.15rem); margin: 0; }
.matter-panel > p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.matter-people { position: relative; z-index: 1; display: grid; gap: 1px; border-top: 1px solid var(--border); }
.partner-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.partner-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 1px solid var(--border); }
.partner-row strong { display: block; font-size: .88rem; font-weight: 600; }
.partner-row span { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; }
.partner-row em { display: inline-block; margin-top: 4px; font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.response-line { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding-top: 4px; }
.response-line span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.response-line strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--navy); }
[data-theme="dark"] .response-line strong { color: var(--ink); }
.matter-seal { position: absolute; right: 28px; bottom: 25px; width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); font-size: .52rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; text-align: center; z-index: 1; transform: rotate(-5deg); }

/* Proof numbers */
.proof { background: var(--bg); border-bottom: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 26px; }
.proof-cell { padding: 2px clamp(18px, 3vw, 36px); border-left: 1px solid var(--border); }
.proof-cell:first-child { border-left: 0; padding-left: 0; }
.proof-cell span { font-size: .68rem; display: block; margin-bottom: 4px; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.proof-cell strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.16rem, 1.6vw, 1.5rem); color: var(--navy); }
[data-theme="dark"] .proof-cell strong { color: var(--ink); }

/* Practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.practice-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 255px;
  padding: 27px 23px 21px; border: 1px solid var(--border); background: var(--card);
  color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.practice-card:nth-child(4n+2), .practice-card:nth-child(4n+3) { background: var(--soft); }
.practice-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.practice-card::after, .library-card::after { content: ""; position: absolute; right: 17px; bottom: 15px; width: 27px; height: 27px; border-radius: 50%; background-image: radial-gradient(circle, color-mix(in srgb, var(--gold) 65%, transparent) 1.4px, transparent 1.8px); background-size: 9px 9px; opacity: .38; pointer-events: none; }
.practice-num { font-size: .7rem; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.practice-icon { color: var(--gold-ink); margin: 3px 0 2px; }
.practice-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.practice-card h3 { font-size: 1.28rem; line-height: 1.18; margin: 0; color: var(--navy); }
[data-theme="dark"] .practice-card h3 { color: var(--ink); }
.practice-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.practice-arrow { margin-top: auto; padding-top: 13px; color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Split process / people */
.process-wrap { position: relative; }
.split-shield { position: absolute; left: -26px; bottom: -36px; width: 235px; color: var(--gold); opacity: .075; pointer-events: none; z-index: 0; }
.split-shield .shield-line { width: 100%; height: auto; display: block; }
.process-wrap > *:not(.split-shield) { position: relative; z-index: 1; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 60px); }
.panel { background: var(--card); border: 1px solid var(--border); padding: clamp(24px, 3vw, 42px); }
[data-theme="dark"] .panel { background: var(--card); }
.process-list { margin-top: 4px; }
.process-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 17px; padding: 20px 0; border-top: 1px solid var(--border); }
.process-step:first-child { border-top: 0; padding-top: 0; }
.process-step:last-child { padding-bottom: 0; }
.process-no { font-family: var(--serif); font-size: 1.45rem; color: var(--gold-ink); line-height: 1; }
.process-step h3 { font-family: var(--sans); font-size: .96rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 4px; }
.process-step p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.people-stack { display: grid; gap: 1px; margin-top: 3px; }
.people-stack .partner-row { padding: 14px 0; }
.people-stack .partner-row img { width: 52px; height: 52px; }
.editorial-note { margin-top: 15px; padding: 16px 17px; background: var(--soft); border: 1px solid var(--border); }
.editorial-note p { margin: 0 0 7px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.editorial-note p:last-child { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.social-links a { display: inline-flex; padding: 6px 9px; border: 1px solid var(--border); color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.social-links a:hover { border-color: var(--gold); background: var(--soft); }

/* Insights cards */
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.note-card {
  display: flex; flex-direction: column; gap: 12px; min-height: 285px; padding: 26px 23px 21px;
  border: 1px solid var(--border); background: var(--card); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.note-card:nth-child(2) { background: var(--soft); }
.note-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.note-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.note-band svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.note-card h3 { margin: 0; font-size: 1.34rem; line-height: 1.2; color: var(--navy); }
[data-theme="dark"] .note-card h3 { color: var(--ink); }
.note-card p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.note-meta { font-size: .7rem; margin-top: auto; color: var(--muted); font-size: .68rem; }
.note-arrow { color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #f7f5f0; }
.cta-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; color: var(--gold); opacity: .16; pointer-events: none; }
.cta-skyline svg { width: 100%; height: 100%; display: block; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(64px, 7vw, 102px); }
.cta .kicker { color: var(--gold-2); }
.cta h2 { color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.7rem); margin: 0 0 16px; }
.cta-shield { position: absolute; right: 8%; top: 16%; width: 165px; color: var(--gold); opacity: .16; pointer-events: none; z-index: 0; }
.cta-shield .shield-line { width: 100%; height: auto; display: block; }
.cta p { color: #cfc8b9; max-width: 57ch; margin: 0 0 24px; font-size: .98rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.cta .btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta .btn--outline:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--gold-2); }
.cta-card { border: 1px solid rgba(255,255,255,.2); padding: 24px; background: rgba(255,255,255,.035); }
.cta-card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.cta-card span { display: block; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.13); color: #cfc8b9; font-size: .8rem; }
.cta-card span:first-of-type { border-top: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #f7f5f0; position: relative; overflow: hidden; padding: 58px 0 24px; }
.footer-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; color: var(--gold); opacity: .1; pointer-events: none; }
.footer-skyline svg { width: 100%; height: 100%; display: block; }
.footer-inner { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr .9fr; gap: clamp(22px, 3vw, 46px); }
.footer-brand img { width: 58px; height: 58px; filter: brightness(0) invert(1); margin-bottom: 15px; }
.footer-brand p { color: #cfc8b9; font-size: .84rem; line-height: 1.7; max-width: 30ch; margin: 0; }
.footer-col h3 { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 13px; }
.footer-col p, .footer-col a { display: block; color: #cfc8b9; font-size: .82rem; line-height: 1.65; text-decoration: none; margin: 0 0 7px; }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); color: #a8a397; font-size: .72rem; line-height: 1.65; }
.footer-legal p { margin: 0; max-width: 88ch; }
.footer-legal a { color: var(--gold-2); text-decoration: none; }

/* Article */
.article-hero { position: relative; overflow: hidden; background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); border-bottom: 1px solid var(--border); }
.article-hero-skyline { position: absolute; right: 0; bottom: 0; width: 62%; height: 130px; color: var(--gold); opacity: .22; pointer-events: none; }
.article-hero-skyline svg { width: 100%; height: 100%; display: block; }
.article-hero-inner { position: relative; z-index: 2; padding-block: 46px clamp(48px, 6vw, 74px); display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(28px, 4vw, 70px); align-items: end; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .68rem; letter-spacing: .06em; margin-bottom: 22px; }
.breadcrumb a { color: var(--gold-ink); text-decoration: none; }
.breadcrumb span { color: var(--muted); }
.article-hero h1 { font-size: clamp(2.7rem, 4.8vw, 5rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 20px; max-width: 17ch; }
.article-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.pill { display: inline-flex; padding: 6px 9px; border: 1px solid var(--border); color: var(--gold-ink); background: var(--card); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; }
.byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.byline strong { display: block; color: var(--ink); font-size: .82rem; font-weight: 600; }
.byline span { display: block; margin-top: 2px; }
.docket-card { background: var(--card); border: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow); }
.docket-card .kicker { margin-bottom: 10px; }
.docket-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--border); font-size: .76rem; }
.docket-row:first-of-type { border-top: 0; }
.docket-row span { color: var(--muted); }
.docket-row strong { font-weight: 500; text-align: right; }
.article-band { padding-block: clamp(48px, 6vw, 78px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(290px, 330px); gap: clamp(30px, 5vw, 76px); justify-content: center; align-items: start; }
.article-main { min-width: 0; }
.quick-answer { margin: 0 0 28px; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-left: 2px solid var(--gold); }
.quick-answer strong { display: block; margin-bottom: 5px; color: var(--gold-ink); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.quick-answer p { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.7; }
.clause { padding: clamp(20px, 2.6vw, 30px) 0; border-top: 1px solid var(--border); }
.clause:first-of-type { border-top: 0; padding-top: 0; }
.clause h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.4rem, 1.8vw, 1.8rem); margin: 0 0 9px; }
.clause h2 .clause-no { flex: 0 0 auto; color: var(--gold-ink); font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .1em; }
.clause p { margin: 0 0 10px; color: var(--ink); font-size: .97rem; line-height: 1.76; max-width: 68ch; }
.clause p:last-child { margin-bottom: 0; }
.review-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; padding: 18px 20px; border: 1px solid var(--border); border-left: 2px solid var(--gold); background: var(--card); }
.review-box img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.review-box-copy { flex: 1 1 270px; }
.review-box strong { display: block; font-size: .86rem; font-weight: 600; }
.review-box span { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.review-box-links { display: flex; flex-wrap: wrap; gap: 7px; }
.review-box-links a { color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--border); padding: 6px 8px; }
.notice { margin-top: 17px; padding: 15px 17px; background: var(--soft); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; line-height: 1.67; }
.notice p { margin: 0; }
.side-stack { display: grid; gap: 16px; position: sticky; top: 105px; }
.side-card { padding: 20px; border: 1px solid var(--border); background: var(--card); }
.side-card h2 { font-size: .7rem; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 13px; }
.side-list { margin: 0; padding: 0; list-style: none; }
.side-list li { border-top: 1px solid var(--border); padding: 8px 0; font-size: .8rem; }
.side-list li:first-child { border-top: 0; }
.side-list a { text-decoration: none; color: var(--ink); }
.side-list a:hover { color: var(--gold-ink); }
.side-list .num { color: var(--gold-ink); display: inline-block; width: 22px; font-size: .66rem; }
.side-profile { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; }
.side-profile img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.side-profile strong { display: block; font-size: .82rem; }
.side-profile span { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.side-note { color: var(--muted); font-size: .76rem; line-height: 1.6; margin: 8px 0 0; }
.side-links a { display: flex; justify-content: space-between; gap: 9px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .79rem; color: var(--ink); text-decoration: none; }
.side-links a:first-child { border-top: 0; }
.side-links a span { color: var(--gold-ink); }

/* Library */
.library-hero { position: relative; overflow: hidden; background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); border-bottom: 1px solid var(--border); }
.library-skyline { position: absolute; right: 0; bottom: 0; width: 55%; height: 130px; color: var(--gold); opacity: .22; pointer-events: none; }
.library-skyline svg { width: 100%; height: 100%; display: block; }
.library-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 5vw, 80px); align-items: end; padding-block: clamp(60px, 7vw, 98px); }
.library-hero h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.045em; line-height: .98; margin: 0 0 16px; }
.library-hero p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 1.03rem; line-height: 1.7; }
.library-board { border: 1px solid var(--border); background: var(--card); padding: 22px; box-shadow: var(--shadow); }
.library-board .kicker { margin-bottom: 10px; }
.library-board p { font-size: .82rem; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.library-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--border); padding-top: 13px; }
.library-stats strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--navy); }
[data-theme="dark"] .library-stats strong { color: var(--ink); }
.library-stats span { display: block; color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.library-tools { margin-bottom: 34px; }
.library-tools-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 13px; }
.library-tools .chip-row { gap: 7px; }
.search-box { display: flex; flex: 1 1 300px; max-width: 620px; }
.search-box input { flex: 1 1 auto; min-width: 0; height: 44px; border: 1px solid var(--border); background: var(--card); color: var(--ink); padding: 0 13px; font-size: .86rem; }
.search-box input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.search-box button { height: 44px; padding: 0 18px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold-ink); background: var(--soft); }
.library-count { color: var(--muted); font-size: .7rem; letter-spacing: .05em; white-space: nowrap; }
.library-count strong { color: var(--ink); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-right: 5px; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.library-card { display: flex; flex-direction: column; gap: 12px; min-height: 300px; position: relative; padding: 27px 23px 22px; border: 1px solid var(--border); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.library-card:nth-child(3n+2) { background: var(--soft); }
.library-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.library-art { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--gold-ink); font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.library-art svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.library-card h2 { font-family: var(--serif); font-size: 1.37rem; font-weight: 500; line-height: 1.18; margin: 0; color: var(--navy); }
[data-theme="dark"] .library-card h2 { color: var(--ink); }
.library-card p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.library-meta { margin-top: auto; color: var(--muted); font-size: .68rem; }
.library-read { color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .68rem; letter-spacing: .05em; }
.pages { display: flex; gap: 7px; }
.pages a, .pages span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border: 1px solid var(--border); text-decoration: none; color: var(--ink); font-size: .72rem; }
.pages .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Contact */
.contact-hero { position: relative; overflow: hidden; background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); border-bottom: 1px solid var(--border); }
.contact-skyline { position: absolute; right: 0; bottom: 0; width: 58%; height: 130px; color: var(--gold); opacity: .2; pointer-events: none; }
.contact-skyline svg { width: 100%; height: 100%; display: block; }
.contact-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(30px, 4.5vw, 70px); align-items: start; padding-block: clamp(58px, 7vw, 94px); }
.contact-hero h1 { font-size: clamp(2.55rem, 4.25vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 20px; }
.contact-hero h1 span { color: var(--gold-ink); }
.contact-lead { max-width: 58ch; color: var(--muted); font-size: 1.02rem; line-height: 1.72; margin: 0 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.trust-row span { display: inline-flex; padding: 6px 8px; border: 1px solid var(--border); color: var(--muted); background: var(--card); font-size: .62rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.contact-form { background: var(--card); border: 1px solid var(--border); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact-form::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 11px, color-mix(in srgb, var(--gold) 14%, transparent) 12px 13px, transparent 14px 28px); opacity: .7; pointer-events: none; }
.form-shield { position: absolute; right: -38px; bottom: -28px; width: 155px; color: var(--gold); opacity: .12; pointer-events: none; z-index: 0; }
.form-shield .shield-line { width: 100%; height: auto; display: block; }
.contact-form h2 { font-size: 1.75rem; margin: 0 0 5px; position: relative; z-index: 1; }
.contact-form > p { margin: 0 0 18px; color: var(--muted); font-size: .82rem; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; position: relative; z-index: 1; }
.field label { color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--ink); padding: 10px 11px; font-size: .86rem; }
.field textarea { min-height: 82px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.55; position: relative; z-index: 1; }
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.channel { display: flex; flex-direction: column; gap: 5px; padding: 21px 19px; border: 1px solid var(--border); background: var(--card); text-decoration: none; }
.channel span { color: var(--muted); font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.channel strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--navy); }
[data-theme="dark"] .channel strong { color: var(--ink); }
.channel small { color: var(--gold-ink); font-size: .72rem; }
.contact-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-step { padding: 23px 21px; border: 1px solid var(--border); background: var(--card); }
.contact-step .step-label { color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-step h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 7px 0 5px; }
.contact-step p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.response-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.response-band h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0 0 10px; }
.response-band p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.engagement { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 55px); }
.engagement p { color: var(--muted); font-size: .92rem; line-height: 1.72; }
.engagement h2 { font-size: 1.8rem; margin: 0 0 10px; }
.engagement-side { padding: 22px; border: 1px solid var(--border); background: var(--soft); }
.engagement-side h3 { font-family: var(--sans); font-size: .88rem; font-weight: 600; margin: 0 0 7px; }
.engagement-side p { margin: 0; font-size: .83rem; }
.office-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; }
.office-card { border: 1px solid var(--border); background: var(--card); padding: 25px; }
.office-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; margin: 0 0 8px; }
.office-lines { margin-top: 17px; border-top: 1px solid var(--border); }
.office-line { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .8rem; }
.office-line span { color: var(--muted); }
.map-card { position: relative; overflow: hidden; min-height: 260px; border: 1px solid var(--border); background: var(--soft); background-image: linear-gradient(rgba(17,17,20,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,20,.07) 1px, transparent 1px); background-size: 32px 32px; }
[data-theme="dark"] .map-card { background-image: linear-gradient(rgba(233,231,225,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(233,231,225,.07) 1px, transparent 1px); }
.map-road { position: absolute; left: 8%; top: 58%; width: 86%; height: 1px; background: var(--gold); opacity: .55; transform: rotate(-17deg); }
.map-marker { position: absolute; left: 52%; top: 39%; width: 16px; height: 16px; border: 2px solid var(--gold); background: var(--card); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-label { position: absolute; left: 14px; bottom: 12px; padding: 5px 7px; background: var(--card); border: 1px solid var(--border); color: var(--muted); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.map-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; color: var(--gold); opacity: .2; }
.map-skyline svg { width: 100%; height: 100%; display: block; }

html[data-theme="dark"] .search-box button { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Responsive */
@media (max-width: 1180px) {
  .hero-inner, .contact-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 34px; }
  .hero h1 { font-size: clamp(3.2rem, 6.3vw, 5.8rem); }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .article-hero-inner { grid-template-columns: minmax(0, 1fr) 280px; }
  .site-nav { gap: 14px; }
  .header-actions .header-cta { display: none; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-inner, .contact-hero-inner, .article-hero-inner, .library-hero-inner, .split-grid, .response-band, .engagement, .office-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 54px 64px; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .matter-panel { min-height: 0; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .proof-grid { grid-template-columns: 1fr; padding-block: 14px; }
  .proof-cell { border-left: 0; padding: 10px 0; border-top: 1px solid var(--border); }
  .proof-cell:first-child { border-top: 0; }
  .article-layout { gap: 34px; }
  .side-stack { position: static; }
  .library-hero-inner { padding-block: 54px 64px; }
  .library-hero h1 { font-size: clamp(2.8rem, 10vw, 4.8rem); }
  .article-hero h1 { max-width: 100%; }
  .article-hero-skyline, .library-skyline, .contact-skyline { width: 100%; opacity: .16; }
  .contact-steps, .note-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { display: block; }
  .footer-legal a { display: inline-block; margin-top: 8px; }
  .header-inner { min-height: 74px; gap: 16px; }
  .brand-logo { width: 48px; height: 48px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; border-top: 1px solid var(--border); padding-top: 10px; padding-bottom: 6px; gap: 14px; }
  .site-header { position: static; }
  .hero-skyline { height: 78px; opacity: .2; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --section: 54px; }
  .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; }
  .header-actions { margin-left: auto; }
  .theme-toggle { min-height: 34px; padding: 0 9px; }
  .site-nav { gap: 12px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: .64rem; }
  .hero-inner { padding-block: 44px 54px; }
  .hero h1 { font-size: clamp(2.75rem, 13.5vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .matter-panel { padding: 23px 20px; }
  .matter-seal { display: none; }
  .practice-grid, .library-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 0; }
  .note-card { min-height: 0; }
  .article-hero-inner { padding-block: 30px 40px; }
  .article-hero h1 { font-size: clamp(2.25rem, 10vw, 3.4rem); }
  .article-band { padding-block: 36px 48px; }
  .quick-answer { padding: 16px 17px; }
  .clause { padding: 20px 0; }
  .clause h2 { flex-direction: column; gap: 4px; }
  .review-box { align-items: flex-start; }
  .review-box-links { width: 100%; margin-left: 60px; }
  .library-tools { display: block; }
  .library-tools-top { display: block; }
  .search-box { max-width: 100%; margin-bottom: 12px; }
  .library-count { margin: 14px 0 0; }
  .cta-inner { padding-block: 54px 70px; }
  .cta h2 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .channels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-legal p { max-width: 100%; }
  .contact-form { padding: 22px 19px; }
  .contact-hero h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
}


/* ------------------------------------------------------------
   WordPress integration: menus, page blocks, forms and comments
   ------------------------------------------------------------ */
.site-nav-list { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); margin: 0; padding: 0; list-style: none; }
.site-nav-list li { margin: 0; padding: 0; }
.site-nav-list a { display: inline-block; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--gold-ink); border-bottom-color: var(--gold); }
.footer-logo { width: 58px; height: 58px; filter: brightness(0) invert(1); margin-bottom: 15px; }
.admin-bar .site-header { top: 32px; }
html { scroll-padding-top: 100px; }
body.admin-bar { padding-top: 0; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { left: 16px; top: 12px; }
.page-hero, .article-hero, .library-hero, .contact-hero { border-bottom: 1px solid var(--border); }
.page-hero { position: relative; overflow: hidden; background-color: var(--soft); background-image: repeating-linear-gradient(45deg, rgba(17,17,20,.018) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(17,17,20,.014) 0 1px, transparent 1px 13px); }
.page-hero-skyline { position: absolute; right: 0; bottom: 0; width: 58%; height: 115px; color: var(--gold); opacity: .2; pointer-events: none; }
.page-hero-skyline svg { width: 100%; height: 100%; display: block; }
.page-hero .container { position: relative; z-index: 2; padding-block: 48px clamp(42px, 5vw, 66px); }
.page-hero h1 { font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 12px; max-width: 18ch; }
.page-lead { max-width: 65ch; color: var(--muted); font-size: 1.04rem; line-height: 1.7; margin: 0; }
.page-band { padding-block: clamp(46px, 6vw, 78px); }
.page-content { max-width: 980px; margin-inline: auto; color: var(--ink); }
.page-content > * { max-width: 100%; }
.entry-content { color: var(--ink); font-size: 1rem; line-height: 1.75; }
.entry-content p { margin: 0 0 1.05rem; max-width: 72ch; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--navy); scroll-margin-top: 100px; }
[data-theme="dark"] .entry-content h2, [data-theme="dark"] .entry-content h3, [data-theme="dark"] .entry-content h4 { color: var(--ink); }
.entry-content h2 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); margin: 2.5rem 0 1rem; }
.entry-content h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); margin: 2rem 0 .75rem; }
.entry-content h4 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--gold-ink); text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy); }
[data-theme="dark"] .entry-content a:hover { color: var(--gold-2); }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.6rem 0; }
.entry-content figure img { border: 1px solid var(--border); }
.entry-content blockquote { margin: 1.7rem 0; padding: 18px 20px; border-left: 2px solid var(--gold); background: var(--soft); color: var(--ink); font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 9px 10px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--soft); font-weight: 600; }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; margin-bottom: 1.5rem; }
.entry-content .wp-block-column { flex: 1 1 260px; min-width: 0; }
.entry-content .wp-block-image { margin: 1.4rem 0; }
.entry-content .wp-block-image img { max-width: 100%; height: auto; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 9px; margin: 1.4rem 0; }
.entry-content .wp-block-button__link, .entry-content a.cs-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 17px; background: var(--navy); color: var(--white); border: 1px solid var(--navy); text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.entry-content .wp-block-button__link:hover, .entry-content a.cs-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.entry-content .wp-block-cover { margin: 1.8rem 0; padding: clamp(24px, 4vw, 44px); background: var(--navy); color: #fff; position: relative; min-height: 220px; display: flex; align-items: center; }
.entry-content .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }
.entry-content .wp-block-cover h2, .entry-content .wp-block-cover h3 { color: #fff; }
.entry-content .wp-block-cover p { color: #e8e3d8; }
.entry-content .wp-block-cover__background, .entry-content .wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.entry-content .wp-block-group { margin-bottom: 1.4rem; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .cs-partner-portrait img { width: min(220px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--border); }
.entry-content .cs-partner-monogram { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink); font-family: var(--serif); font-size: 1rem; }
.entry-content .cs-partner-email, .entry-content .cs-partner-posts { font-size: .82rem; }
.entry-content .cs-service-art { width: 38px; height: 38px; color: var(--gold-ink); margin-bottom: 10px; }
.entry-content .cs-service-art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.entry-content .cs-practice-card { padding: 20px; border: 1px solid var(--border); background: var(--card); }
.entry-content .cs-practice-card h3 { margin-top: 0; }
.entry-content .cs-faq { margin: 2rem 0; border-top: 1px solid var(--border); }
.entry-content .cs-faq-item { border-bottom: 1px solid var(--border); }
.entry-content .cs-faq-item summary { cursor: pointer; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 16px 0; font-weight: 600; }
.entry-content .cs-faq-answer { padding: 0 0 16px 46px; color: var(--muted); }
.entry-content .cs-faq-number { color: var(--gold-ink); font-family: var(--serif); }
.entry-content .cs-faq-indicator { display: none; }
.entry-content .cs-faq-art { width: 96px; height: auto; color: var(--gold); opacity: .45; float: right; margin: 0 0 12px 20px; }
.entry-content .cs-contact-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 1.4rem 0; }
.entry-content .cs-contact-item { display: flex; gap: 10px; padding: 15px; border: 1px solid var(--border); background: var(--card); text-decoration: none; }
.entry-content .cs-contact-item svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--gold-ink); stroke-width: 1.5; }
.entry-content .cs-contact-item span { display: block; }
.entry-content .cs-contact-item strong { display: block; font-size: .84rem; }
.entry-content .cs-contact-item em { display: block; margin-top: 3px; color: var(--gold-ink); font-style: normal; font-size: .7rem; }
.entry-content .cs-packages { margin: 2rem 0; }
.entry-content .cs-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.entry-content .cs-package { padding: 18px; border: 1px solid var(--border); background: var(--card); }
.entry-content .cs-package h3 { margin-top: 0; font-size: 1.1rem; }
.entry-content .cs-package ul { padding-left: 1.1rem; font-size: .82rem; }
.entry-content .cs-social-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 1rem 0; }
.entry-content .cs-social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); color: var(--gold-ink); background: var(--card); text-decoration: none; }
.entry-content .cs-social-link svg { width: 16px; height: 16px; }
.entry-content .cs-cta { margin-top: 1rem; }

/* Plugin callback form inside the contact layout. */
.contact-form .cs-portal-card { background: transparent; border: 0; padding: 0; box-shadow: none; max-width: none; }
.contact-form .cs-portal-card h2 { font-family: var(--serif); font-size: 1.75rem; margin: 0 0 5px; color: var(--navy); }
[data-theme="dark"] .contact-form .cs-portal-card h2 { color: var(--ink); }
.contact-form .cs-portal-card > p { margin: 0 0 18px; color: var(--muted); font-size: .82rem; }
.contact-form .cs-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.contact-form .cs-field label { color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-form .cs-field input, .contact-form .cs-field textarea { width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--ink); padding: 10px 11px; font: inherit; font-size: .86rem; }
.contact-form .cs-field textarea { min-height: 82px; resize: vertical; }
.contact-form .cs-field input:focus, .contact-form .cs-field textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.contact-form .cs-field-hint { margin: 3px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.contact-form .cs-field-optional { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form .cs-portal-btn { width: 100%; min-height: 46px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.contact-form .cs-portal-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.contact-form .cs-lead-feedback { margin: 9px 0 0; font-size: .75rem; color: var(--muted); }
.contact-form .cs-portal-note { margin-top: 10px; }
.contact-form .cs-callback .cs-field:last-of-type { margin-bottom: 14px; }

/* Pagination generated by WordPress and by the theme. */
.pagination .pages .page-numbers, .navigation.pagination .page-numbers, .nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-size: .72rem; }
.pagination .pages .current, .navigation.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.navigation.pagination { margin-top: 26px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }

/* Comments. */
.comments-area { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--border); }
.comments-title, .comment-reply-title { font-size: 1.5rem; margin: 0 0 14px; }
.comment-list { list-style: none; margin: 0 0 22px; padding: 0; }
.comment-list .comment { padding: 16px 0; border-top: 1px solid var(--border); }
.comment-list .comment:first-child { border-top: 0; }
.comment-meta { font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
.comment-content { font-size: .92rem; }
.comment-form label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--border); background: var(--card); color: var(--ink); padding: 10px; margin-bottom: 12px; }
.comment-form .submit { min-height: 44px; padding: 10px 16px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.comment-form .submit:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Small definitional details on the article page. */
.article-content > p:first-of-type { font-size: 1.06rem; color: var(--ink); }
.article-content .wp-block-heading { scroll-margin-top: 100px; }
.article-content .cs-article-note, .article-content .notice { margin-top: 1.5rem; }
.article-content .wp-block-image img { border: 1px solid var(--border); }
.article-content ul, .article-content ol { max-width: 70ch; }
.byline a { color: inherit; text-decoration: none; }
.byline a:hover { color: var(--gold-ink); }

/* Staging marker is only printed for a logged-in administrator. */
.cs2-staging-note { background: var(--navy); color: var(--gold-2); border-bottom: 1px solid var(--gold); padding: 5px var(--gutter); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; }

/* Responsive additions. */
@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .site-nav-list { flex-wrap: wrap; }
  .entry-content .cs-package-grid { grid-template-columns: 1fr; }
  .entry-content .cs-contact-details { grid-template-columns: 1fr; }
  .entry-content .cs-faq-art { display: none; }
}
@media (max-width: 640px) {
  .site-nav-list { flex-wrap: nowrap; }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .site-nav { overflow-x: auto; }
}


/* Article title, quick answer and cookie consent */
.article-hero h1 { font-size: clamp(2.4rem, 4.2vw, 4.35rem); max-width: 21ch; }
.article-content .quick-answer { margin: 0 0 26px; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-left: 2px solid var(--gold); }
.article-content .quick-answer strong { display: block; margin-bottom: 5px; color: var(--gold-ink); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.article-content .quick-answer p { margin: 0; max-width: 70ch; color: var(--ink); font-size: .96rem; line-height: 1.7; }
.entry-content .cs-social-row--firm { margin: 1.2rem 0 1.6rem; }
.entry-content .cs-social-link--labelled { width: auto; height: auto; min-height: 34px; padding: 7px 10px; gap: 7px; }
.entry-content .cs-social-link--labelled svg { flex: 0 0 auto; }
.entry-content .cs-social-link--labelled span { display: inline; font-size: .74rem; font-weight: 600; letter-spacing: .03em; }
.cs-hp { display: none !important; }
.cs-consent { position: fixed; left: 18px; bottom: 18px; z-index: 9998; width: min(390px, calc(100vw - 36px)); padding: 16px; background: var(--card); border: 1px solid var(--border); border-left: 2px solid var(--gold); box-shadow: 0 14px 38px rgba(0,0,0,.16); }
.cs-consent[hidden] { display: none; }
.cs-consent-text { margin: 0 0 12px; color: var(--ink); font-size: .82rem; line-height: 1.55; }
.cs-consent-text a { color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.cs-consent-actions { display: flex; gap: 8px; }
.cs-consent-actions button { min-height: 40px; padding: 9px 12px; border: 1px solid var(--border); font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.cs-consent-accept { flex: 1.5; background: var(--navy); border-color: var(--navy); color: var(--white); }
.cs-consent-accept:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.cs-consent-essential { flex: 1; background: transparent; color: var(--muted); }
.cs-consent-essential:hover { border-color: var(--gold); color: var(--gold-ink); }
[data-theme="dark"] .cs-consent-accept { background: var(--gold); border-color: var(--gold); color: var(--navy); }
@media (max-width: 640px) { .cs-consent { left: 10px; right: 10px; bottom: 10px; width: auto; } }


@media (min-width: 901px) {
  .hero h1 { font-size: clamp(3.8rem, 5.65vw, 5.85rem); }
  .hero h1 span { white-space: nowrap; }
}
.partner-row em { white-space: nowrap; }
@media (max-width: 640px) {
  .site-nav-list { flex-wrap: wrap; }
  .site-nav { overflow-x: visible; }
}


/* Newsletter signup band, supplied by the existing suite shortcode. */
.newsletter-band { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 36px; }
.newsletter-band .cs-nl { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.newsletter-band .cs-nl-eyebrow { margin: 0 0 7px; color: var(--gold-ink); font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.newsletter-band .cs-nl-title { margin: 0 0 8px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--navy); }
.newsletter-band .cs-nl-intro { max-width: 58ch; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.newsletter-band .cs-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.newsletter-band .cs-field label { color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.newsletter-band .cs-field input { width: 100%; border: 1px solid var(--border); background: var(--card); color: var(--ink); padding: 9px 10px; font: inherit; font-size: .84rem; }
.newsletter-band .cs-field input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.newsletter-band .cs-field-optional { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.newsletter-band .cs-portal-btn { width: 100%; min-height: 42px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.newsletter-band .cs-portal-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.newsletter-band .cs-lead-feedback { margin: 7px 0 0; font-size: .72rem; color: var(--muted); }
.newsletter-band .cs-nl-privacy { margin: 8px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.newsletter-band .cs-nl-privacy a { color: var(--gold-ink); }
[data-theme="dark"] .newsletter-band .cs-nl-title { color: var(--ink); }

/* Existing floating contact control, restyled for the new surface. */
.cs-float { position: fixed; right: 18px; bottom: 18px; z-index: 9997; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cs-float-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--navy); background: var(--navy); color: var(--white); border-radius: 50%; cursor: pointer; box-shadow: 0 8px 24px rgba(17,17,20,.18); transition: background .2s ease, color .2s ease, transform .2s ease; }
.cs-float-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.cs-float-toggle svg { width: 22px; height: 22px; }
.cs-float-number { display: none; }
.cs-float .cs-quickform-wrap, .cs-float .cs-quickform { display: none !important; }
@media (max-width: 640px) { .cs-float { right: 11px; bottom: 78px; } .cs-float-btn { width: 42px; height: 42px; } }

/* Pages that use the standard content classes. */
.article-content .wp-block-heading { font-family: var(--serif); }
.entry-content .wp-block-table table { width: 100%; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 1px solid var(--border); padding: 9px 10px; text-align: left; vertical-align: top; }
.entry-content .wp-block-table th { background: var(--soft); }
.entry-content .wp-block-quote { margin: 1.7rem 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--soft); }
.entry-content .wp-block-quote p { margin: 0; }
.entry-content .wp-block-image figcaption { color: var(--muted); font-size: .74rem; text-align: center; margin-top: 6px; }
.entry-content .wp-block-embed { margin: 1.4rem 0; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.cs-float-label { display: none !important; }


/* The suite contact dock starts folded and expands on click. */
.cs-float.cs-state-folded .cs-float-btn:not(.cs-float-toggle),
.cs-float.cs-state-folded .cs-float-label { display: none !important; }
.cs-tabbar { display: none !important; }
.cs-quickform { position: fixed; right: 18px; bottom: 92px; z-index: 9997; width: min(350px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow: auto; padding: 18px; background: var(--card); border: 1px solid var(--border); border-left: 2px solid var(--gold); box-shadow: 0 18px 42px rgba(17,17,20,.18); }
.cs-quickform[hidden] { display: none !important; }
.cs-quickform h2, .cs-quickform strong { color: var(--navy); }
.cs-quickform .cs-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.cs-quickform .cs-field label { color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cs-quickform .cs-field input, .cs-quickform .cs-field textarea { width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--ink); padding: 9px 10px; font: inherit; font-size: .84rem; }
.cs-quickform .cs-portal-btn { width: 100%; min-height: 40px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: .66rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.cs-quickform .cs-quickform-email { margin: 0 0 10px; color: var(--muted); font-size: .72rem; }
.cs-quickform .cs-quickform-email a { color: var(--gold-ink); }


/* Generic page: readable article column plus a useful reference rail. */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 58px); align-items: start; }
.page-layout .page-content { max-width: 860px; margin: 0; }
.page-side { display: grid; gap: 14px; position: sticky; top: 105px; }
.side-contact { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 0; }
.side-contact a { color: var(--gold-ink); font-size: .8rem; text-decoration: none; }
.side-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-side .side-card h2 { font-size: .7rem; color: var(--gold-ink); }
.page-layout .entry-content p { max-width: 76ch; }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .page-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-side { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 640px) {
  .site-nav-list { gap: 8px; }
  .site-nav a { font-size: .58rem; letter-spacing: .07em; }
}


/* ------------------------------------------------------------
   Local radius comparison: run the local site with ?radius=0|4|8|14|22.
   Default is the current 0px treatment; circles stay circular.
   ------------------------------------------------------------ */
:root { --cs2-radius: 22px; }
.matter-panel,
.practice-card,
.panel,
.note-card,
.library-board,
.cta-card,
.docket-card,
.side-card,
.contact-form,
.channel,
.contact-step,
.engagement-side,
.office-card,
.map-card,
.quick-answer,
.review-box,
.notice,
.library-card,
.page-side .side-card,
.entry-content .cs-practice-card,
.entry-content .cs-package,
.entry-content .cs-contact-item {
  border-radius: var(--cs2-radius);
}
.btn,
.theme-toggle,
.search-box input,
.search-box button,
.chip,
.pill,
.review-box-links a,
.social-links a,
.tag,
.article-pills .pill,
.contact-form .cs-field input,
.contact-form .cs-field textarea,
.contact-form .cs-portal-btn,
.newsletter-band .cs-field input,
.newsletter-band .cs-portal-btn,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.comment-form .submit {
  border-radius: calc(var(--cs2-radius) * 0.55);
}
.cs-consent { border-radius: var(--cs2-radius); }


/* Theme control: icon plus text in both modes. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.theme-icon { display: inline-flex; width: 15px; height: 15px; flex: 0 0 auto; }
.theme-icon svg { width: 15px; height: 15px; display: block; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }

/* Keep below-the-fold homepage sections out of the first layout pass. */
.home .hero ~ .cta {
  content-visibility: visible;
  contain-intrinsic-size: auto 760px;
}

/* Mobile uses the platform faces so the first render does not wait for a
   second webfont layout. Desktop keeps the brand fonts. */
@media (max-width: 782px) {
  :root {
    --serif: Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  }
}

/* Keep chrome-heavy footer off the first layout pass. */
.newsletter-band, .site-footer { content-visibility: visible; contain-intrinsic-size: auto 640px; }


/* Newsletter must collapse before the 300px form column forces the copy into
   a one-word-per-line column on phones. */
@media (max-width: 760px) {
  .newsletter-band .cs-nl {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .newsletter-band .cs-nl-title {
    font-size: clamp(1.7rem, 7vw, 2rem);
    max-width: 20ch;
  }
  .newsletter-band .cs-nl-intro {
    max-width: 46ch;
  }
}


/* ------------------------------------------------------------------
   Visual QA corrections, 27 Oct 2026
   ------------------------------------------------------------------ */
.theme-icon .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon .theme-icon-sun { display: block; }

.engagement { align-items: start; }

.contact-form .cs-field-hint { text-wrap: pretty; }

.newsletter-band .cs-field input { border-color: #908878; }
[data-theme="dark"] .newsletter-band .cs-field input {
  border-color: #746c5d;
  background: #1d1d23;
}
[data-theme="dark"] .newsletter-band .cs-portal-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }
  .cta-card { width: 100%; }
  .cta-actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .footer-legal { padding-bottom: 58px; }
}


/* QA pass 2: dock viewport, touch targets, partner arrow, comment phone field. */
.partner-row em span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}
.comment-form input[type="tel"],
.comment-form input[type="number"] {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  padding: 10px;
  margin-bottom: 12px;
  border-radius: calc(var(--cs2-radius) * 0.55);
}
@media (max-width: 782px) {
  .cs-float {
    top: auto !important;
    right: 11px;
    bottom: 18px !important;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    overflow-x: visible;
  }
  .cs-float-btn { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .theme-toggle { min-height: 44px; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .cs-float-btn { width: 44px; height: 44px; }
  .footer-legal { padding-bottom: 82px; }
}

.cs-nowrap { white-space: nowrap; }

@media (max-width: 782px) {
  .cs-float { bottom: 8px !important; }
}

/* Keep pagination and consent controls comfortably tappable. */
.pagination .pages a,
.pagination .pages span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cs-consent-actions button { min-height: 44px; }


/* ------------------------------------------------------------------
   Simplified conversion layer, 27 Oct 2026
   ------------------------------------------------------------------ */
.mobile-action-bar { display: none; }

.cs-callback-details {
  margin: 14px 0 2px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cs-callback-details summary {
  cursor: pointer;
  color: var(--gold-ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.cs-callback-details summary::marker { color: var(--gold); }
.cs-callback-details[open] summary { margin-bottom: 12px; }
.cs-callback-details .cs-field:last-child { margin-bottom: 0; }

@media (max-width: 1180px) {
  body.cs2 { padding-bottom: 72px; }
  #newsletter { scroll-margin-top: 92px; }
  .cs-float { display: none !important; }
  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9996;
    display: grid;
    grid-template-columns: 1.25fr 1fr .8fr;
    gap: 6px;
    padding: 8px max(10px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(17,17,20,.08);
  }
  .mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 0 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-action--callback {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }
  .mobile-action--callback:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
  .mobile-action svg { flex: 0 0 auto; }
  .cs-consent { bottom: 78px; }
}

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-item { border: 1px solid var(--border); background: var(--card); padding: 0; }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 16px 44px 16px 18px; color: var(--navy); font-family: var(--sans); font-size: .88rem; font-weight: 600; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 17px; top: 13px; color: var(--gold-ink); font-family: var(--sans); font-size: 1.15rem; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 17px; color: var(--muted); font-size: .84rem; line-height: 1.65; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .chip { flex: 0 0 auto; }
}

.article-cta {
  margin: 28px 0 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  background: var(--soft);
}
.article-cta h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 2.2vw, 2.15rem); }
.article-cta p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 9px; }
@media (max-width: 640px) { .article-cta-actions .btn { width: 100%; } }

.text-link { color: var(--gold-ink); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; }
.text-link:hover { color: var(--navy); border-color: var(--gold); }
.section-more { margin: 18px 0 0; }

/* Compact mobile consent: keep the first-screen call-back clear. */
@media (max-width: 640px) {
  .cs-consent {
    left: 10px;
    right: 10px;
    bottom: 82px;
    width: auto;
    max-height: 96px;
    overflow: auto;
    padding: 10px 12px;
  }
  .cs-consent-text { margin: 0 0 8px; font-size: .7rem; line-height: 1.35; }
  .cs-consent-actions { gap: 6px; }
  .cs-consent-actions button { min-height: 36px; padding: 6px 8px; font-size: .6rem; }
  .cs-field input, .cs-field textarea, .cs-nl-form input { font-size: 16px; }
}
@media (min-width: 783px) and (max-width: 1180px) {
  .mobile-action-bar { grid-template-columns: 1fr 1fr 1fr; }
}

.archive-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--border); background: var(--soft); }
.archive-cta h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
.archive-cta p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.archive-cta-actions { display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }
@media (max-width: 760px) { .archive-cta { align-items: flex-start; flex-direction: column; } .archive-cta-actions .btn { width: 100%; } }

.article-newsletter { margin: 26px 0 8px; }
.article-newsletter .cs-nl { grid-template-columns: minmax(0,1fr); }



/* Dark-mode action visibility: the primary action mirrors the header CTA. */
[data-theme="dark"] .hero-actions .btn:not(.btn--outline),
[data-theme="dark"] .cta-actions .btn:not(.btn--outline),
[data-theme="dark"] .archive-cta-actions .btn:not(.btn--outline),
[data-theme="dark"] .article-cta-actions .btn:not(.btn--outline),
[data-theme="dark"] .mobile-action--callback {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
[data-theme="dark"] .hero-actions .btn:not(.btn--outline):hover,
[data-theme="dark"] .cta-actions .btn:not(.btn--outline):hover,
[data-theme="dark"] .archive-cta-actions .btn:not(.btn--outline):hover,
[data-theme="dark"] .article-cta-actions .btn:not(.btn--outline):hover,
[data-theme="dark"] .mobile-action--callback:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
@media (max-width: 1180px) { .mobile-action { font-size: .7rem; } }

.cs-form-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* Visual QA round 2: dark FAQ, inline newsletter, legible fields/errors. */
[data-theme="dark"] .faq-item summary { color: var(--ink); }
.article-newsletter.newsletter-band { padding: 24px clamp(16px, 3vw, 26px); margin: 26px 0 8px; }
.article-newsletter .cs-nl { grid-template-columns: minmax(0,1fr); gap: 14px; }
.article-newsletter .cs-nl-title { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.article-newsletter .cs-nl-intro { font-size: .86rem; }
.article-newsletter .cs-field { margin-bottom: 10px; }
.article-newsletter .cs-portal-btn { width: 100%; min-height: 48px; }
.cs-form-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.cs-field-error { margin: 4px 0 0; color: #9d1c1c; font-size: .74rem; line-height: 1.4; }
.cs-lead-feedback.is-error, .cs-portal-note.is-error { color: #9d1c1c; }
[data-theme="dark"] .cs-field-error, [data-theme="dark"] .cs-lead-feedback.is-error, [data-theme="dark"] .cs-portal-note.is-error { color: #ffaaaa; }
.contact-form .cs-field input, .contact-form .cs-field textarea,
.newsletter-band .cs-field input, .article-newsletter .cs-field input { border-color: #8b877e; }
[data-theme="dark"] .contact-form .cs-field input, [data-theme="dark"] .contact-form .cs-field textarea,
[data-theme="dark"] .newsletter-band .cs-field input, [data-theme="dark"] .article-newsletter .cs-field input { border-color: rgba(244,241,233,.42); }
@media (max-width: 640px) {
  .contact-form .cs-field input, .contact-form .cs-field textarea,
  .newsletter-band .cs-field input, .article-newsletter .cs-field input,
  .cs-nl-form .cs-field input, .search-box input { font-size: 16px; }
}

/* Accessibility polish after visual QA round 2. */
:root { --border-strong: #8b877e; --focus-ring: #6f531a; --error-ink: #9d1c1c; }
[data-theme="dark"] { --border-strong: rgba(244,241,233,.44); --focus-ring: #e3c98b; --error-ink: #ffb4b4; }
:focus-visible { outline-color: var(--focus-ring); }
.btn--outline, .chip, .trust-row span, .mobile-action:not(.mobile-action--callback), .search-box input, .theme-toggle { border-color: var(--border-strong); }
.cs-callback-details summary { display: flex; align-items: center; min-height: 44px; }
.cs-consent-actions button { min-height: 44px; font-size: .72rem; }
.entry-content p, .article-content p { max-width: 68ch; }
.search-box input::placeholder { color: #6f6a60; }
[data-theme="dark"] .search-box input::placeholder { color: #b8bcc4; }
.side-list a { display: inline-flex; align-items: center; min-height: 44px; }
#wp-comment-cookies-consent { width: 20px; height: 20px; }
.cs-field-error:not([hidden]) { display: block; }
.contact-form .cs-field input[aria-invalid="true"], .contact-form .cs-field textarea[aria-invalid="true"],
.newsletter-band .cs-field input[aria-invalid="true"], .article-newsletter .cs-field input[aria-invalid="true"] { border-color: var(--error-ink); }
@media (max-width: 1180px) {
  .site-nav a { font-size: .7rem; }
  .trust-row span, .contact-form .cs-field label, .newsletter-band .cs-field label { font-size: .7rem; }
  .cs-consent-actions button { font-size: .72rem; }
  .cs-lead-feedback { font-size: .82rem; }
}

@media (min-width: 900px) {
  .article-content p, .article-content li { max-width: 36em; }
}

/* Final visual QA polish: enforce the interactive sizing at the end of the cascade. */
.chip { min-height: 44px; }
.side-list a { min-height: 44px; }
.article-newsletter .cs-portal-btn { min-height: 48px; }
#wp-comment-cookies-consent { width: 20px; height: 20px; }
.proof-cell span { font-size: .7rem; }
.practice-num { font-size: .68rem; }
.note-meta { font-size: .7rem; }
.side-card h2 { font-size: .7rem; }

/* Final small-screen navigation and dock simplification. */
@media (max-width: 1180px) {
  .site-nav { flex-wrap: nowrap; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .66rem; letter-spacing: .05em; }
}
.cs-float { display: none !important; }
