/* ==========================================================================
   Supple Law Office, PLLC: site styles
   Palette: deep river navy, warm paper, aged brass.
   Type: Newsreader (display serif) + Public Sans (text).
   ========================================================================== */

:root {
  --ink: #0e1d30;
  --ink-2: #15283f;
  --ink-3: #213a5a;
  --ink-deep: #09141f;
  --paper: #f8f5ef;
  --paper-2: #f0eadf;
  --white: #fff;
  --brass: #b08d57;
  --brass-light: #d6bd8f;
  --brass-dark: #7a5c2c;
  --text: #1c2532;
  --muted: #566070;
  --line: #e3dacb;
  --line-dark: rgba(255, 255, 255, 0.13);
  --error: #b42318;

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 29, 48, 0.05), 0 2px 10px rgba(14, 29, 48, 0.05);
  --shadow: 0 2px 4px rgba(14, 29, 48, 0.04), 0 18px 40px rgba(14, 29, 48, 0.1);
  --container: 1200px;
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--ink-3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--brass-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-light); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 600 .75rem/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase;
  color: var(--brass-dark); margin: 0 0 1.15rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--brass-light); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.text-link:hover { color: var(--brass-dark); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 .9375rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); color: #fff; }
.btn-gold { background: var(--brass); color: var(--ink-deep); }
.btn-gold:hover { background: var(--brass-light); color: var(--ink-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--ink-deep); color: rgba(255, 255, 255, .72); font-size: .8125rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 40px; }
.utility-note { display: flex; align-items: center; gap: .55rem; margin: 0; }
.utility-note .icon { color: var(--brass-light); width: 1.1em; height: 1.1em; }
.utility-phones { display: flex; gap: 1.75rem; }
.utility-phones a { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.utility-phones a span { color: rgba(255, 255, 255, .55); font-weight: 400; margin-right: .3rem; }
.utility-phones a:hover { color: var(--brass-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 245, 239, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 29, 48, .06); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.bm-bg { fill: var(--ink); }
.bm-ring { fill: none; stroke: var(--brass); stroke-width: 1; opacity: .85; }
.bm-letter { fill: var(--brass-light); font-family: var(--serif); font-size: 24px; font-weight: 500; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.brand-sub { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.primary-nav li > a {
  position: relative; display: block; padding: .55rem .75rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.primary-nav li > a:hover { color: var(--ink); background: var(--paper-2); }
.primary-nav li > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.primary-nav li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; background: var(--brass);
}
.nav-mobile-extra { display: none; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 1.75px; margin-left: -10px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem max(1.25rem, calc((100% - var(--container)) / 2)) 1.75rem;
  }
  .nav-open .primary-nav { display: block; animation: navIn .22s ease-out; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li > a { padding: 1rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .primary-nav li > a:hover { background: transparent; }
  .primary-nav li > a[aria-current="page"] { color: var(--brass-dark); }
  .primary-nav li > a[aria-current="page"]::after { display: none; }
  .nav-mobile-extra { display: grid; gap: .7rem; margin-top: 1.5rem; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-white { background: #fff; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }
.split-head + * { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.deco-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--brass-light); opacity: .13; pointer-events: none;
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .8);
  padding: clamp(4rem, 8vw, 6.75rem) 0 clamp(8rem, 12vw, 9.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(176, 141, 87, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(33, 58, 90, .9), transparent 70%);
}
.hero .deco-lines { opacity: .16; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--brass-light); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 36em; color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.1rem 0 1.4rem; }
.hero-note { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: rgba(255, 255, 255, .6); margin: 0; }
.hero-note .icon { color: var(--brass-light); }

.relief-card {
  position: relative; background: #fff; color: var(--text);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .28);
}
.relief-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--brass); }
.relief-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .6rem; }
.relief-card h2 { font-size: 1.65rem; margin-bottom: .55rem; }
.relief-card > p { color: var(--muted); font-size: .975rem; margin-bottom: 0; }
.relief-card-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.25rem; font-size: .8125rem; color: var(--muted);
}
.relief-card-foot a { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); text-decoration: none; margin-top: .1rem; }
.relief-card-foot a:hover { color: var(--brass-dark); }

.check-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { color: var(--brass-dark); margin-top: .22em; width: 1.1em; height: 1.1em; stroke-width: 2; }
.on-dark .check-list .icon, .practice-feature .check-list .icon { color: var(--brass-light); }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 560px) { .check-list.two-col { grid-template-columns: 1fr; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .relief-card { max-width: 560px; }
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4rem, 7vw, 4.75rem)); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.stat { padding: 1.85rem 1.75rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-value { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; color: var(--ink); margin-bottom: .5rem; }
.stat-label { display: block; font-size: .875rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stat { padding: 1.35rem 1.1rem; }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: .8125rem; }
}

/* ---------- Feature cards ---------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.85rem; }
.feature-icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.35rem;
  border-radius: 50%; background: var(--paper-2); color: var(--brass-dark);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: .975rem; margin: 0; }

/* ---------- Practice areas (home) ---------- */
.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 1.5rem; }
.practice-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--ink); color: rgba(255, 255, 255, .78); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 2.75rem);
}
.practice-feature .deco-lines { opacity: .12; }
.practice-feature > :not(.deco-lines) { position: relative; }
.practice-feature .feature-icon { background: rgba(255, 255, 255, .08); color: var(--brass-light); }
.practice-feature h3 { color: #fff; font-size: clamp(1.75rem, 2.6vw, 2.1rem); }
.practice-feature .check-list { margin-bottom: 2rem; }
.practice-feature .btn { margin-top: auto; align-self: flex-start; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.practice-item {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.practice-item:hover { border-color: var(--brass); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--text); }
.practice-item > .icon { width: 28px; height: 28px; color: var(--brass-dark); margin-top: .1rem; }
.practice-item h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.practice-item p { font-size: .9375rem; line-height: 1.55; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .practice-layout { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .practice-grid { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; position: relative; }
.step { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.step-num { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-style: italic; color: var(--brass-light); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { font-size: .975rem; margin: 0; color: rgba(255, 255, 255, .72); }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Chapter comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3.5vw, 2.5rem); }
.compare-card header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.compare-card h3 { font-size: 1.85rem; margin: 0; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-dark); background: var(--paper-2); padding: .38rem .7rem; border-radius: 99px; white-space: nowrap; }
.compare dl { display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); gap: 1rem 1.25rem; margin: 0; }
.compare dt { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding-top: .15rem; }
.compare dd { margin: 0; font-size: .975rem; color: var(--muted); }
.compare-note { text-align: center; color: var(--muted); font-size: .9375rem; margin: 2rem auto 0; max-width: 44rem; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .compare dl { grid-template-columns: 1fr; gap: .2rem; } .compare dd { margin-bottom: .9rem; } }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; margin: 0; padding: 2.1rem 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stars { display: flex; gap: 3px; margin-bottom: 1.3rem; color: var(--brass); }
.star { width: 18px; height: 18px; fill: currentColor; }
.quote-card blockquote { margin: 0 0 1.75rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.28; color: var(--ink); }
.quote-card figcaption { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.quote-card figcaption strong { display: block; color: var(--ink); font-size: .9375rem; }

/* ---------- People ---------- */
.person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; align-items: start; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.monogram {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(150deg, var(--ink-3), var(--ink)); color: var(--brass-light);
  font-family: var(--serif); font-size: 1.85rem; letter-spacing: .03em;
}
.monogram::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(214, 189, 143, .38); }
.role { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .45rem; }
.person h3 { margin-bottom: .55rem; }
.person p { color: var(--muted); font-size: .975rem; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* ---------- Offices ---------- */
.office-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.office-card-head { position: relative; overflow: hidden; padding: 1.6rem 2rem; background: var(--ink); color: rgba(255, 255, 255, .7); }
.office-card-head .deco-lines { opacity: .14; }
.office-card-head > :not(.deco-lines) { position: relative; }
.office-card-head p { margin: 0 0 .2rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }
.office-card-head h3 { color: #fff; margin: 0; font-size: 1.65rem; }
.office-card-body { display: grid; gap: 1.1rem; padding: 1.75rem 2rem 2rem; flex: 1; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; font-size: .975rem; }
.info-row > .icon { color: var(--brass-dark); margin-top: .18em; }
.info-row a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-row a:hover { color: var(--brass-dark); }
.info-row small { display: block; font-size: .8125rem; color: var(--muted); }
.office-card .office-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.map-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(176, 141, 87, .07) 14px 15px), var(--paper-2);
}
.map-fallback .icon { width: 30px; height: 30px; color: var(--brass-dark); }
.map-frame { position: relative; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .78); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 50%, rgba(176, 141, 87, .16), transparent 70%); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; padding: clamp(3.75rem, 7vw, 5.5rem) 0; }
.cta-copy h2 { color: #fff; margin-bottom: .4rem; }
.cta-copy p:last-child { margin: 0; font-size: 1.1rem; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none; }
@media (max-width: 900px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .76); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.25rem, 6.5vw, 5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 90% 10%, rgba(176, 141, 87, .15), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.35rem, 4.8vw, 3.6rem); max-width: 20ch; margin-bottom: .4em; }
.page-hero p.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 44rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.75rem; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .3); }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-light); }

/* ---------- Content + sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
@media (max-width: 980px) { .with-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-top: 2.6em; }
.prose > h2:first-child, .prose > section:first-child h2 { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin-top: 1.9em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brass); }
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }

.callout { margin: 2rem 0; padding: 1.35rem 1.6rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--radius); font-size: .975rem; }
.callout p:last-child { margin: 0; }
.callout strong { color: var(--ink); }

.side-card { padding: 1.85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-card h2, .side-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.side-card p { font-size: .9375rem; color: var(--muted); }
.side-card.dark { position: relative; overflow: hidden; background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); }
.side-card.dark > :not(.deco-lines) { position: relative; }
.side-card.dark h2, .side-card.dark h3 { color: #fff; }
.side-card.dark p { color: rgba(255, 255, 255, .72); }
.side-card .btn { width: 100%; }
.side-phones { display: grid; gap: .75rem; margin: 1.25rem 0; }
.side-phones a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line-dark); color: #fff; text-decoration: none; font-weight: 600; }
.side-phones a span { font-weight: 400; font-size: .875rem; color: rgba(255, 255, 255, .6); }
.side-phones a:hover { color: var(--brass-light); }

.toc { list-style: none; padding: 0; margin: 0; display: grid; }
.toc a { display: block; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 500; color: var(--text); text-decoration: none; }
.toc li:first-child a { border-top: 0; }
.toc a:hover { color: var(--brass-dark); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .45rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: .875rem; color: var(--ink); }
.section-dark .chips li { background: transparent; border-color: var(--line-dark); color: #fff; }

.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.mini-card { padding: 1.35rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mini-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: .7rem 0 .3rem; }
.mini-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.mini-card .icon { width: 26px; height: 26px; color: var(--brass-dark); }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- Practice areas page ---------- */
.area { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.85rem; padding: 2.75rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.area:first-child { border-top: 0; padding-top: 0; }
.area-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brass-dark); }
.area-icon .icon { width: 32px; height: 32px; }
.area h2 { font-size: clamp(1.65rem, 2.6vw, 2.05rem); margin-bottom: .55rem; }
.area p { color: var(--muted); }
.area .check-list { margin: 1.25rem 0 1.25rem; }
@media (max-width: 620px) { .area { grid-template-columns: 1fr; gap: 1.1rem; } .area-icon { width: 60px; height: 60px; } }

/* ---------- Team page ---------- */
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.profile:first-child { border-top: 0; padding-top: 0; }
.portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--brass-light); font-family: var(--serif); font-size: 4.75rem; letter-spacing: .03em;
}
.portrait .deco-lines { opacity: .18; }
.portrait span { position: relative; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.creds { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.creds li { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.creds li:first-child { border-top: 0; padding-top: 0; }
.creds span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .25rem; }
.profile-body h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: .2rem; }
.profile-body .role { margin-bottom: 1.6rem; }
.profile-body p { color: var(--text); }
.profile-body h3 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 2rem 0 .8rem; }
.profile-contact { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--ink); }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile-aside { position: static; max-width: 340px; }
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group > h2 { font-size: clamp(1.55rem, 2.4vw, 1.9rem); margin-bottom: 1.1rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s, background-color .2s;
}
.faq summary:hover { color: var(--brass-dark); }
.faq[open] summary::after {
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 0 0 no-repeat;
  background-color: var(--paper-2); transform: rotate(180deg);
}
.faq-answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 1.25rem; }
@media (max-width: 560px) { .faq-answer { padding-right: 0; } }

/* ---------- Forms ---------- */
.form-card { padding: clamp(1.6rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card > h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: .4rem; }
.form-card > p { color: var(--muted); margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: .875rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--brass-dark); margin-left: .15rem; }
.field .opt { font-weight: 400; color: var(--muted); margin-left: .25rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cdbfa8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(176, 141, 87, .28); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1d30' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); background: #fff; }
.field-error { font-size: .8125rem; color: var(--error); }
.field-error:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.05rem; border: 1px solid var(--line); border-radius: 99px; font-size: .9375rem; font-weight: 500; background: var(--paper); transition: all .15s; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: .12rem 0 0; flex: none; accent-color: var(--ink); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-fineprint { display: flex; gap: .5rem; align-items: center; margin: 0; font-size: .8125rem; color: var(--muted); }
.form-fineprint .icon { color: var(--brass-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 1.5rem; padding: 1.35rem 1.5rem; border-radius: var(--radius); font-size: .975rem; }
.form-status h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 .35rem; color: inherit; }
.form-status p { margin: 0; }
.form-status.is-success { background: #eef6f0; border: 1px solid #bfdcc6; color: #1d4a2a; }
.form-status.is-error { background: #fdf0ee; border: 1px solid #f1c3bd; color: #7a1d14; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.steps-mini { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
.steps-mini li { display: grid; grid-template-columns: 30px 1fr; gap: .85rem; font-size: .9375rem; color: var(--muted); counter-increment: s; }
.steps-mini li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); color: var(--brass-dark); font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.steps-mini strong { display: block; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.25em; }
.legal h2:first-of-type { margin-top: 0; }
.legal .updated { font-size: .875rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound .code { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--brass); margin-bottom: 1rem; }
.notfound p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .62); font-size: .9375rem; padding-top: clamp(3.75rem, 7vw, 5.25rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.25rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-brand .bm-bg { fill: var(--ink-3); }
.footer-brand p { max-width: 22rem; }
.site-footer .text-link { color: var(--brass-light); }
.site-footer .text-link:hover { color: #fff; }
.footer-heading { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 1.1rem; }
.site-footer address { margin-bottom: .5rem; line-height: 1.6; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-hours { font-size: .85rem; color: rgba(255, 255, 255, .45); margin: .35rem 0 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { overflow-wrap: anywhere; }
.footer-legal { display: grid; gap: .65rem; padding: 1.85rem 0 2.25rem; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255, 255, 255, .48); }
.footer-legal p { margin: 0; }
.footer-legal strong { color: rgba(255, 255, 255, .75); }
.footer-legal-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: .6rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar { display: none; }
@media (max-width: 640px) {
  .utility-bar { display: none; }
  .header-cta { display: none; }
  :root { --header-h: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .mobile-call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-call-bar a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .7rem .5rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.2; }
  .mobile-call-bar a + a { border-left: 1px solid var(--line-dark); }
  .mobile-call-bar .icon { color: var(--brass-light); }
  .mobile-call-bar small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Reveal on scroll (only when JS enabled) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .utility-bar, .site-header, .mobile-call-bar, .cta-band, .deco-lines, .nav-toggle { display: none !important; }
  .hero, .page-hero, .section-dark { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
  body { background: #fff; }
}
.stats-grid dd { margin: 0; }

/* ---------- Small utilities (replace inline styles; required by the strict CSP) ---------- */
.layer { position: relative; }
.flush { margin: 0; }
.serve-grid { align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.req { color: var(--brass-dark); }
.side-hours { margin: 0; font-size: .85rem; }
.info-row.spaced { margin-bottom: 1rem; }

/* Top bar on tablets: keep phone numbers on one line, drop the note */
.utility-phones a { white-space: nowrap; }
@media (max-width: 920px) { .utility-note { display: none; } .utility-inner { justify-content: center; } }
