/* Hargrove Law — navy and cream.
   Newsreader (headings) + Libre Franklin (text). Both SIL OFL, self-hosted. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/libre-franklin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #162d48;          /* wordmark navy */
  --navy-deep: #0f2035;
  --blue: #2c5a88;          /* links on light grounds */
  --sky: #a9bfd8;           /* links and rules on navy */
  --paper: #fbf8f2;         /* page */
  --cream: #f1ebdf;         /* bands */
  --ink: #1b2a3e;           /* text */
  --muted: #4f5d70;
  --rule: #d8d3c6;
  --rule-navy: rgba(241, 235, 223, .22);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic", "Segoe UI", system-ui, sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #4a7fc0; outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; text-wrap: balance; font-optical-sizing: auto; }
p, ul, ol, dl, address { margin: 0; }
address { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- buttons and links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem; background: var(--navy); color: var(--paper); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1px solid var(--navy); border-radius: 2px; cursor: pointer; }
.button:hover { background: var(--navy-deep); color: #fff; }
.text-link { font-weight: 600; }
.text-button { background: none; border: 0; padding: 0; font: 600 1rem/1.4 var(--sans); color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.text-button:hover { color: var(--navy); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.75rem; }
.brand { display: block; flex: none; }
.brand img { width: 13rem; height: auto; }
#navigation { display: flex; align-items: center; gap: 2rem; }
#navigation a { color: var(--ink); text-decoration: none; font-size: 1rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
#navigation a:hover { border-bottom-color: var(--sky); }
#navigation a[aria-current="page"] { border-bottom-color: var(--navy); }
#navigation .nav-phone { font-weight: 600; color: var(--navy); font-variant-numeric: lining-nums; }
#navigation .nav-contact { padding: .55rem 1.1rem; border: 1px solid var(--navy); border-radius: 2px; color: var(--navy); font-weight: 600; }
#navigation .nav-contact:hover, #navigation .nav-contact[aria-current="page"] { background: var(--navy); color: var(--paper); }
.menu-toggle { display: none; }

/* ---------- bands ---------- */
.band { padding-block: clamp(4rem, 8vw, 6.5rem); }
.band-navy { background: var(--navy); color: #e7e3da; }
.band-navy h2 { color: var(--paper); }
.band-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.band-head h2 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1.05; }
.band-head p { max-width: 34em; color: #cdd6e2; }

.practice-index { list-style: none; padding: 0; border-top: 1px solid var(--rule-navy); }
.practice-index li { border-bottom: 1px solid var(--rule-navy); }
.practice-index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 4rem; align-items: baseline; padding-block: 1.6rem; color: inherit; text-decoration: none; }
.pi-title { font: 400 clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem)/1.15 var(--serif); color: var(--paper); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; text-decoration-thickness: 1px; transition: text-decoration-color .15s; }
.pi-summary { color: #cdd6e2; max-width: 34em; }
.practice-index a:hover .pi-title, .practice-index a:focus-visible .pi-title { text-decoration-color: var(--sky); }
.band-navy :focus-visible { outline-color: var(--sky); }

.owner { background: var(--paper); }
.owner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4rem; }
.owner h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); line-height: 1.1; max-width: 12em; }
.owner-copy { max-width: 38em; }
.owner-copy > p + p { margin-top: 1.1rem; }
.owner-copy > p:last-child { margin-top: 1.75rem; }

.reading { background: var(--paper); }
.reading-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.reading-head h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); line-height: 1.1; }
.reading-head p { color: var(--muted); }
.reading-head .text-link { white-space: nowrap; }
.reading-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; }
.reading-list li { padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.reading-list h3 { font-size: 1.5rem; line-height: 1.25; margin-block: .35rem .5rem; }
.reading-list h3 a { color: var(--navy); text-decoration-color: rgba(22, 45, 72, .3); }
.reading-list h3 a:hover { text-decoration-color: var(--navy); }
.reading-list p:last-child { color: var(--muted); }
.topic { font-size: .9375rem; color: var(--muted); }

.contact-band { background: var(--navy); color: #e7e3da; padding-block: clamp(3.5rem, 7vw, 5rem); }
.contact-band-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: center; }
.contact-band h2 { color: var(--paper); font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); line-height: 1.1; margin-bottom: 1rem; }
.contact-band p { color: #cdd6e2; max-width: 36em; }
.contact-band-actions { display: grid; gap: 1.25rem; justify-items: start; }
.contact-band a:not(.button) { color: var(--paper); }
.contact-band .button { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.contact-band .button:hover { background: #fff; color: var(--navy-deep); }
.contact-band :focus-visible { outline-color: var(--sky); }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -.01em; max-width: 18em; }
.page-head .lead { margin-top: 1.5rem; max-width: 40em; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--muted); }
.crumb { margin-bottom: 1.25rem; font-size: 1rem; }
.crumb a { color: var(--muted); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 3rem clamp(3rem, 7vw, 6rem); align-items: start; padding-top: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.prose { max-width: 40em; }
.prose h2 { font-size: 1.85rem; line-height: 1.2; margin-top: 2.75rem; margin-bottom: .75rem; }
.prose > h2:first-child, .prose > section:first-of-type h2 { margin-top: 0; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose ul + p, .prose ol + p, .prose p + ul, .prose p + ol { margin-top: 1rem; }
.checklist { list-style: none; padding: 0 !important; border-top: 1px solid var(--rule); }
.checklist li { margin: 0 !important; padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: .85rem; height: 2px; background: var(--navy); }
.note { margin-top: 1.25rem; font-size: 1rem; color: var(--muted); }
.further { list-style: none; padding: 0 !important; }
.further li { margin: 0 !important; padding-block: .5rem; }

.side-panel { position: sticky; top: 1.5rem; background: var(--cream); padding: 2rem; border-top: 3px solid var(--navy); }
.side-panel h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.side-panel ul { padding-left: 1.1rem; margin-bottom: 1.75rem; }
.side-panel li + li { margin-top: .45rem; }
.side-panel .side-links { list-style: none; padding: 0; }
.side-reach { margin-top: 1.25rem; font-size: 1rem; }

.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.05rem; font-weight: 600; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: .65rem; height: .65rem; margin-top: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: .7rem; }
.faq-list details p { padding-bottom: 1.25rem; max-width: 38em; }

/* practice-areas index */
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
.practice-entry { padding-block: 2rem 2.25rem; border-top: 1px solid var(--rule); }
.practice-entry h2 { font-size: 2rem; line-height: 1.15; margin-bottom: .6rem; }
.practice-entry h2 a { color: var(--navy); text-decoration-color: rgba(22, 45, 72, .3); }
.practice-entry h2 a:hover { text-decoration-color: var(--navy); }
.practice-entry > p { color: var(--muted); margin-bottom: 1rem; }
.practice-entry ul { padding-left: 1.1rem; }
.practice-entry li + li { margin-top: .3rem; }

/* resources */
.resources { padding-bottom: 3rem; }
.resources > h2, .tools-section > h2 { font-size: 1.85rem; margin-bottom: 1.25rem; }
.tools-section { padding-bottom: 3rem; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: end; padding-bottom: 1.5rem; }
.field { display: grid; gap: .4rem; }
.filter-status { font-size: 1rem; color: var(--muted); padding-bottom: .7rem; }
.resource-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; }
.resource-item { padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.resource-item h3 { font-size: 1.5rem; line-height: 1.25; margin-block: .35rem .5rem; }
.resource-item h3 a { color: var(--navy); text-decoration-color: rgba(22, 45, 72, .3); }
.resource-item h3 a:hover { text-decoration-color: var(--navy); }
.resource-item > p:last-child { color: var(--muted); }
.empty-state { padding: 2rem 0; color: var(--muted); }
.official { padding-block: 2rem clamp(4rem, 8vw, 6rem); }
.official h2 { font-size: 1.85rem; margin-bottom: 1rem; }
.official ul { list-style: none; padding: 0; columns: 2; column-gap: 4rem; }
.official li { padding-block: .45rem; break-inside: avoid; }

/* article */
.article-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem clamp(3rem, 7vw, 6rem); padding-top: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.toc { position: sticky; top: 1.5rem; align-self: start; font-size: 1rem; }
.toc h2 { font: 600 1rem/1.4 var(--sans); color: var(--navy); margin-bottom: .75rem; }
.toc ol { padding-left: 1.2rem; margin-bottom: 1.5rem; }
.toc li + li { margin-top: .5rem; }
.toc a { color: var(--ink); }
.byline { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; }
.article-body section + section { margin-top: 2.5rem; }
.article-body h2 { margin-top: 0; }
.note-block { margin-top: 3rem; padding: 1.5rem 1.75rem; background: var(--cream); font-size: 1rem; }
.note-block p + p { margin-top: .6rem; }

/* faq page */
.faq-page { display: grid; gap: 3rem; padding-top: 1rem; padding-bottom: clamp(4rem, 8vw, 6rem); max-width: calc(48rem + var(--gutter) * 2); margin-inline: 0; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.faq-page h2 { font-size: 1.85rem; margin-bottom: 1rem; }

/* contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem clamp(3rem, 7vw, 6rem); align-items: start; padding-top: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.contact-details h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.contact-details h2:not(:first-child) { margin-top: 2.25rem; }
.contact-details p, .contact-details address { margin-bottom: .6rem; }
.contact-link { font-size: 1.25rem; }
.inquiry { background: var(--cream); padding: clamp(1.5rem, 4vw, 2.75rem); border-top: 3px solid var(--navy); }
.inquiry h2 { font-size: 1.85rem; margin-bottom: .6rem; }
.inquiry > p:first-of-type { margin-bottom: 1.75rem; color: var(--muted); }
form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.25rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label { display: grid; gap: .4rem; font-weight: 600; font-size: 1rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #a9b1bd; border-radius: 2px; padding: .7rem .8rem; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--navy); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.hint { font-size: .9375rem; color: var(--muted); }
.deadline { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
fieldset:disabled { opacity: .6; }
dialog { max-width: min(36rem, calc(100vw - 2rem)); border: 0; border-top: 3px solid var(--navy); padding: 2rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(15, 32, 53, .55); }
dialog h2 { font-size: 1.6rem; margin-bottom: .75rem; }
dialog textarea { margin-block: 1.25rem; font-size: .9375rem; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.notice { padding-bottom: clamp(4rem, 8vw, 6rem); padding-top: 2.5rem; background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; max-width: calc(40em + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.not-found { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; padding-bottom: 6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #cdd6e2; font-size: 1rem; }
.site-footer a { color: #e7e3da; text-decoration-color: rgba(231, 227, 218, .35); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer :focus-visible { outline-color: var(--sky); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); gap: 2.5rem 3rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-mark img { width: 12rem; margin-bottom: 1.75rem; }
.footer-id address { margin-bottom: .9rem; }
.footer-nav { display: grid; align-content: start; gap: .55rem; }
.footer-nav h2 { font: 600 1rem/1.4 var(--sans); color: var(--paper); margin-bottom: .35rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 3rem; padding-top: 1.75rem; padding-bottom: 2.5rem; background: linear-gradient(rgba(205, 214, 226, .2), rgba(205, 214, 226, .2)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; font-size: .875rem; color: #aab6c6; }
.footer-legal p:first-child { max-width: 60em; }


/* ---------- buttons: secondary ---------- */
.button-quiet { background: transparent; color: var(--navy); }
.button-quiet:hover { background: var(--navy); color: var(--paper); }
.band-buttons, .about-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-band .button-quiet { background: transparent; color: var(--paper); border-color: rgba(241, 235, 223, .6); }
.contact-band .button-quiet:hover { background: rgba(241, 235, 223, .12); color: #fff; }

/* ---------- home: practice preview on hover (precise pointers only) ---------- */
.pi-focus { grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1), opacity .25s ease; }
.pi-focus > span { overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 2rem; font-size: .9375rem; color: #b9c6d6; }
.pi-focus > span > span { position: relative; padding-left: 1rem; }
.pi-focus > span > span::before { content: ""; position: absolute; left: 0; top: .72em; width: .45rem; height: 1px; background: var(--sky); }
.pi-focus > span > span:first-child, .pi-focus > span > span:nth-child(2) { margin-top: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .practice-index a:hover .pi-focus, .practice-index a:focus-visible .pi-focus { grid-template-rows: 1fr; opacity: 1; }
}
@media not ((hover: hover) and (pointer: fine)) { .pi-focus { display: none; } }

/* ---------- tools strip (home and resources) ---------- */
.tool-strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.tool-strip a { display: grid; gap: .4rem; height: 100%; padding: 1.25rem 1.4rem 1.4rem; background: var(--paper); border-top: 3px solid var(--navy); color: var(--muted); text-decoration: none; font-size: 1rem; }
.reading .tool-strip a { background: var(--cream); }
.tools-section .tool-strip a { background: var(--cream); }
.tool-name { font: 400 1.35rem/1.2 var(--serif); color: var(--navy); text-decoration: underline; text-decoration-color: rgba(22, 45, 72, .3); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.tool-strip a:hover .tool-name { text-decoration-color: var(--navy); }
.tool-callout { margin-bottom: 2.5rem; padding: 1.1rem 1.25rem; background: var(--cream); border-left: 3px solid var(--navy); }
.tool-callout a { font-weight: 600; display: block; margin-bottom: .2rem; }
.side-fee { margin-bottom: 1.25rem; font-weight: 600; color: var(--navy); }

/* ---------- about: profile band ---------- */
.profile { background: var(--navy); color: #dfe5ee; }
.profile-inner, .about-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 6vw, 5.5rem); }
.profile-inner { align-items: end; padding-top: clamp(3rem, 6vw, 4.5rem); }
.profile .portrait { margin: 0 0 -5rem; position: relative; z-index: 1; background: var(--cream); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.profile-text { padding-bottom: 3.25rem; }
.profile h1 { color: var(--paper); font-size: clamp(2.8rem, 1.6rem + 3.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.012em; }
.profile .role { margin-top: .9rem; color: #b9c6d6; font-size: 1.125rem; }
.profile-lead { margin-top: 1.5rem; max-width: 34em; font-size: 1.2rem; line-height: 1.55; color: #e7e3da; }
.contact-row { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.75rem; }
.contact-row a { color: var(--paper); font-weight: 600; text-decoration-color: rgba(241, 235, 223, .4); }
.contact-row a:hover { color: #fff; text-decoration-color: #fff; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.tags a { display: inline-block; padding: .35rem .75rem; border: 1px solid rgba(241, 235, 223, .35); border-radius: 2px; color: #e7e3da; font-size: .9375rem; text-decoration: none; }
.tags a:hover { border-color: var(--paper); color: #fff; }
.profile :focus-visible { outline-color: var(--sky); }
.about-body { padding-top: 3.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
.about-side { padding-top: 5rem; font-size: 1rem; }
.about-side h2 { font: 600 1rem/1.4 var(--sans); color: var(--navy); margin-bottom: .35rem; }
.about-side p, .about-side address { margin-bottom: 1.5rem; }
.about-cta { margin-top: 2.25rem; }

/* ---------- tools ---------- */
.tool-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem clamp(3rem, 7vw, 6rem); align-items: start; padding-top: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.tool { position: sticky; top: 1.5rem; background: var(--cream); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 3px solid var(--navy); }
.tool-form { display: grid; gap: 1.25rem; justify-items: start; }
.tool-form .field { width: 100%; max-width: 20rem; }
.tool-form .field label { font-weight: 600; color: var(--navy); }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: .45rem; width: 100%; }
.choice + .choice { margin-top: .35rem; }
.choice legend { font-weight: 600; color: var(--navy); margin-bottom: .5rem; padding: 0; line-height: 1.45; }
.choice label { display: flex; align-items: center; gap: .6rem; font-weight: 400; color: var(--ink); }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--navy); flex: none; }
.tool-result:empty { display: none; }
.tool-result { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.result-label { font-weight: 600; color: var(--navy); }
.result-date, .result-title { font: 400 clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem)/1.15 var(--serif); color: var(--navy); margin-block: .35rem .6rem; }
.result-steps { margin-top: 1.25rem; font-size: .9375rem; border-top: 1px solid var(--rule); }
.result-steps div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding-block: .5rem; border-bottom: 1px solid var(--rule); }
.result-steps dt { font-weight: 600; }
.result-warning { margin-top: 1rem; padding: .9rem 1rem; background: #fff; border-left: 3px solid #8a4b16; }
.result-error { color: #8a2a16; font-weight: 600; }
.tool-result p + p { margin-top: .5rem; }
.result-list { padding-left: 1.1rem; margin: .5rem 0 .75rem; }
.result-list li + li { margin-top: .5rem; }
.result-list strong { color: var(--navy); }
.tool > .hint { margin-top: 1.25rem; }
.steps { padding-left: 1.3rem; }
.tool-notes .note-block { margin-top: 2.5rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.toc a[aria-current] { color: var(--navy); font-weight: 600; text-decoration-thickness: 2px; }

/* ---------- reference guide pages ---------- */
.guide-section { padding-bottom: 3rem; }
.guide-section h2 { font-size: 1.85rem; line-height: 1.2; margin-bottom: 1rem; }
.guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(3rem, 6vw, 5rem); }
.guide-columns ul { padding-left: 1.2rem; margin-top: .75rem; }
.guide-columns li + li { margin-top: .4rem; }
.guide-columns p + p { margin-top: 1rem; }
.table-scroll { overflow-x: auto; border-top: 3px solid var(--navy); }
.table-scroll:focus-visible { outline-offset: 4px; }
.routes { width: 100%; min-width: 52rem; border-collapse: collapse; font-size: 1rem; }
.routes th, .routes td { text-align: left; vertical-align: top; padding: 1rem 1.1rem 1rem 0; border-bottom: 1px solid var(--rule); }
.routes thead th { font-weight: 600; color: var(--muted); font-size: .9375rem; padding-top: .8rem; }
.routes tbody th { font: 400 1.2rem/1.3 var(--serif); color: var(--navy); width: 15rem; }

/* ---------- motion ---------- */
:root { interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(*) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .28s cubic-bezier(.2, .7, .2, 1), content-visibility .28s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
  .tool-result.is-new { animation: settle .45s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }


/* ---------- home: navy hero with the swash H ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #dfe5ee; padding-top: clamp(4rem, 9vw, 7rem); }
.hero-mark { position: absolute; right: 2vw; top: 50%; width: min(56vw, 46rem); height: auto; transform: translateY(-46%); pointer-events: none; }
.hero-inner { position: relative; }
.hero h1 { color: var(--paper); font-size: clamp(2.6rem, 1.3rem + 3.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.014em; font-weight: 360; max-width: 13em; }
.hero-lead { margin-top: 1.75rem; max-width: 34em; color: #cdd6e2; font-size: 1.25rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero .quiet-link { color: var(--paper); font-weight: 600; }
.button-light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.button-light:hover { background: #fff; color: var(--navy-deep); }
.hero-areas { list-style: none; padding: 0; margin-top: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule-navy); }
.hero-areas li { flex: 1 1 auto; }
.hero-areas a { display: block; padding: 1.15rem 1.5rem 1.4rem 0; color: #e7e3da; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.hero-areas a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.hero :focus-visible { outline-color: var(--sky); }
.band-paper { background: var(--paper); }
.band-paper .band-head p, .band-paper .pi-summary { color: var(--muted); }
.band-paper .practice-index, .band-paper .practice-index li { border-color: var(--rule); }
.band-paper .pi-title { color: var(--navy); }
.band-paper .practice-index a:hover .pi-title, .band-paper .practice-index a:focus-visible .pi-title { text-decoration-color: var(--navy); }
.band-paper .pi-focus > span { color: var(--muted); }
.band-paper .pi-focus > span > span::before { background: var(--navy); }
.home .owner { background: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  /* One opening moment: the H settles into place while the text fades in. */
  .hero-mark { animation: mark-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > * { animation: settle .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > h1 { animation-delay: .15s; }
  .hero-inner > .hero-lead { animation-delay: .3s; }
  .hero-inner > .hero-actions { animation-delay: .4s; }
  .hero-inner > .hero-areas { animation-delay: .5s; }
}
@keyframes mark-in { from { opacity: 0; transform: translateY(-44%) scale(1.03); } to { opacity: 1; transform: translateY(-46%) scale(1); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; font: 600 1rem/1 var(--sans); color: var(--navy); background: transparent; border: 1px solid var(--navy); border-radius: 2px; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] { background: var(--navy); color: var(--paper); }
  .header-inner { position: relative; flex-wrap: wrap; min-height: 4.75rem; }
  .brand img { width: 11rem; }
  #navigation { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  #navigation.is-open { display: flex; }
  #navigation a { padding: .85rem 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; }
  #navigation a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 600; color: var(--navy); }
  #navigation .nav-contact { margin-top: 1rem; text-align: center; }
  .band-head, .owner-grid, .reading-head, .contact-band-inner { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
  .guide-columns { grid-template-columns: 1fr; }
  .hero-mark { width: 120vw; right: -38vw; top: auto; bottom: -10rem; transform: none; animation: none !important; }
  .tool { position: static; }
  .tool-strip { grid-template-columns: 1fr; }
  .profile-inner, .about-body { grid-template-columns: 1fr; }
  .profile .portrait { margin: 0 0 2rem; max-width: 18rem; }
  .profile-text { padding-bottom: 3rem; }
  .about-side { padding-top: 0; order: 2; border-top: 1px solid var(--rule); padding-top: 2rem; margin-top: 2.5rem; }
  .practice-index a { grid-template-columns: 1fr; }
  .detail, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .side-panel, .toc { position: static; }
  .toc { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-id { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .reading-list, .resource-list, .practice-grid { grid-template-columns: 1fr; }
  .result-steps div { grid-template-columns: 1fr; gap: .2rem; }
  .filter-bar, .form-row { grid-template-columns: 1fr; }
  .official ul { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .hero-areas li { flex: 1 1 50%; }
  .hero-areas a { white-space: normal; padding-right: 1rem; }
}

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

@media print {
  .site-header, .site-footer, .contact-band, .toc, .side-panel, .menu-toggle, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .article-layout, .detail { display: block; border: 0; padding: 0; }
  a { color: inherit; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .table-scroll { overflow: visible; border-top-width: 2px; }
  .routes { min-width: 0; font-size: 9pt; }
  .routes th, .routes td { padding: .35rem .5rem .35rem 0; }
  .routes tbody th { width: auto; font-size: 10pt; }
  .contact-band, .note-block { break-inside: avoid; }
}

/* generated: practice title transitions */
.vt-civil-litigation { view-transition-name: pa-civil-litigation; }
.vt-business-law { view-transition-name: pa-business-law; }
.vt-insurance-distribution { view-transition-name: pa-insurance-distribution; }
.vt-estate-planning-and-probate { view-transition-name: pa-estate-planning-and-probate; }
.vt-consumer-law { view-transition-name: pa-consumer-law; }
.vt-social-security-disability { view-transition-name: pa-social-security-disability; }
