/* Suite 200 Solutions · shared styles
   Designed pages carry most styling inline (from the design canvas); these classes
   cover the shared shell and the generated pages (advisors, studies, news, service pages). */
:root {
  --ink: #14171C;
  --paper: #FBFBF8;
  --panel: #F0EFEA;
  --accent: #8A1C1C;
  --soft: #3F454E;
  --muted: #565C66;
  --rule: #D9D9D3;
  --rule-strong: #14171C;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }

/* Shell */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule-strong); }
html { scroll-padding-top: 96px; scroll-behavior: smooth; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { flex: none; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14px; font-weight: 500; }
.nav a[aria-current="page"], .nav .nav-contact { color: var(--accent); }
.site-footer { margin-top: 128px; border-top: 1px solid var(--rule-strong); }
.site-footer .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 72px; }
.site-footer .name { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.site-footer p { margin: 12px 0 0; font-size: 15px; color: var(--soft); }
.site-footer .col { font-size: 15px; line-height: 1.9; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label.accent { color: var(--accent); }
.footer-base { border-top: 1px solid var(--rule); padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Generated pages */
.crumbs { padding-top: 48px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 36px; }
.page-head > div + div, .page-head > div + p { margin-top: 24px; max-width: 760px; }
.page-head h1 { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.dek { margin: 0; font-size: 19px; line-height: 1.6; color: var(--soft); }
.layout { display: flex; flex-wrap: wrap; gap: 56px 80px; padding-top: 56px; }
.layout > .main { flex: 999 1 560px; min-width: 0; }
.layout > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.prose > * + * { margin-top: 18px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 0; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin: 40px 0 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.prose h3 { margin: 32px 0 0; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; color: var(--ink); }
.prose h4 { margin: 24px 0 0; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 22px; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
.prose figure { margin: 24px 0 0; }
.logo { display: inline-flex; align-items: center; min-height: 64px; padding: 12px 0; }
.logo img { max-height: 72px; width: auto; max-width: 280px; }
.side-card { border-top: 2px solid var(--accent); padding-top: 16px; }
.side-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--soft); }
.side-list { list-style: none; margin: 10px 0 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--rule); }
.side-list a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.side-list a[aria-current="page"] { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--ink); color: var(--paper); font-weight: 600; }
.btn:hover { color: var(--paper); background: #2A2F37; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.panel { background: var(--panel); padding: 28px; }
.panel p { margin: 10px 0 0; color: var(--soft); font-size: 15px; line-height: 1.6; }

/* Advisor profile */
.person-head { padding-top: 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; }
.person-head img { flex: 0 0 auto; width: 280px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); background: #E4E4DF; }
.person-head .txt { flex: 1 1 480px; min-width: 0; }
.person-head h1 { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.5vw, 88px); line-height: 0.96; letter-spacing: -0.03em; }
.person-head .line { margin: 20px 0 0; max-width: 640px; font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--soft); }
.contact-line { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.contact-line a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.peers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; margin-top: 28px; }
.peer { display: flex; gap: 16px; align-items: center; }
.peer img { width: 72px; height: 90px; object-fit: cover; filter: grayscale(1); background: #E4E4DF; }
.peer .n { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.peer .g { margin-top: 4px; font-size: 13px; color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 18px; margin-top: 104px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.section-head a { font-size: 15px; font-weight: 600; }

/* News */
.article { max-width: 880px; }
.article-title { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.article-head { max-width: 1216px; }
.article .prose { max-width: none; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.byline { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.byline img { width: 60px; height: 75px; object-fit: cover; filter: grayscale(1); }
.byline .r { font-size: 14px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; padding-top: 32px; }
.news-grid a { display: block; border-top: 2px solid var(--accent); padding-top: 16px; }
.news-grid .d { font-size: 13px; color: var(--muted); }
.news-grid .t { margin-top: 8px; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.year-head { margin: 56px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong); font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.news-row { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid #E4E4DF; }
.news-row .d { flex: 0 0 150px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.news-row .b { flex: 1 1 420px; min-width: 0; }
.news-row .t { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.news-row .x { margin-top: 6px; font-size: 15px; color: var(--soft); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Homepage services band: five practices side by side; swipeable on narrow screens */
.svc-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.svc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-left: 1px solid var(--rule); min-width: 0; transition: background-color .15s ease; }
.svc:first-child { border-left: 0; padding-left: 0; }
.svc:hover { background: var(--panel); color: var(--ink); }
.svc:first-child:hover { padding-left: 0; }
.svc-for { display: flex; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1.35; min-height: 30px; }
.svc-n { font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.svc-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.svc-d { font-size: 14px; line-height: 1.5; color: var(--soft); }
.svc-go { margin-top: auto; color: var(--accent); font-size: 18px; line-height: 1; }
@media (max-width: 1080px) {
  .svc-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .svc { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
}

/* Compact sticky header on phones: one scrollable nav row */
@media (max-width: 719px) {
  .site-header .wrap { min-height: 0; padding-top: 10px; padding-bottom: 0; gap: 4px; }
  .brand { font-size: 22px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 22px; padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
}
.svc-more { display: flex; justify-content: flex-end; padding-top: 14px; font-size: 15px; font-weight: 600; }

/* Homepage: conversations we are leading (each links to its topic in In the Field) */
.convos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.convos a { display: flex; flex-direction: column; gap: 10px; padding: 26px 20px 24px; border-left: 1px solid var(--rule); min-width: 0; transition: background-color .15s ease; }
.convos a:first-child { border-left: 0; padding-left: 0; }
.convos a:hover { background: var(--panel); color: var(--ink); }
.cv-t { font-family: var(--serif); font-size: 23px; line-height: 1.15; }
.cv-d { font-size: 15px; line-height: 1.5; color: var(--soft); }
.cv-go { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 1080px) { .convos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); } .convos a { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--rule); } }
