/* jmr-site — serious, spare, modern. One accent, lots of white space, serif headings, sans body. */
:root { --accent: #b8551f; --ink: #1a1a1a; --muted: #5f6368; --rule: #e3e1dc; --paper: #fff; --wash: #f6f4f0; --footer: #1d1c1a;
  --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif; --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --maxw: 1080px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.012em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); } h2 { font-size: clamp(1.5rem, 3vw, 2rem); } h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 99; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .76rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 44ch; }
.muted { color: var(--muted); }
section { padding: 56px 0; }
@media (min-width: 760px) { section { padding: 84px 0; } }
section + section { border-top: 1px solid var(--rule); }
.alt { background: var(--wash); }

/* header */
.site-head { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); z-index: 30; }
.head-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { height: 34px; width: auto; display: block; }
/* Brand: the circle badge (inline SVG, currentColor → accent) beside the firm name; the wordmark sits in the footer. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-badge { width: 34px; height: 34px; color: var(--accent); }
.logo-badge svg { display: block; width: 100%; height: 100%; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; letter-spacing: .005em; white-space: nowrap; }
.hint.is-error { color: #b3261e; }
.foot-name.foot-wordmark { color: var(--accent); }
.foot-wordmark svg { display: block; height: 28px; width: auto; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--rule); padding: 12px 20px 18px; flex-direction: column; gap: 10px; }
.nav.is-open { display: flex; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; }
.nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
.nav a.btn-primary { color: #fff; padding: 8px 16px; }
.nav-toggle { font: inherit; background: none; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
@media (min-width: 760px) { .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0; border: 0; background: none; } .nav-toggle { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--wash); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(.92); background: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero */
.hero { padding: 64px 0 56px; }
@media (min-width: 760px) { .hero { padding: 110px 0 90px; } }
.hero h1 { max-width: 18ch; }
.hero .lede { margin-bottom: 28px; }
.search { display: flex; gap: 8px; max-width: 600px; flex-wrap: wrap; }
.search input { flex: 1 1 260px; font: inherit; padding: 13px 14px; border: 1px solid #c9c4bb; border-radius: 8px; min-width: 0; }
.search input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.search .hint { flex-basis: 100%; color: var(--muted); font-size: .86rem; margin-top: 2px; }

/* grids */
.three { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .three { grid-template-columns: repeat(3, 1fr); } }
.tile { border: 1px solid var(--rule); border-radius: 12px; padding: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.tile h3 { margin: 0; }
.tile p { margin: 0; color: var(--muted); }
.tile a.more { margin-top: auto; font-weight: 600; text-decoration: none; }
.tile a.more:hover { text-decoration: underline; }
.tile .num { font-family: var(--font-heading); font-size: 2rem; color: var(--accent); line-height: 1; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { counter-increment: s; padding-top: 14px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-heading); font-size: 1.4rem; color: var(--accent); display: block; margin-bottom: 6px; }
.cred { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.4; max-width: 36ch; }
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .split { grid-template-columns: 1.1fr .9fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.blocks { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .blocks { grid-template-columns: 1fr 1fr; } }
.block { padding: 20px 0; border-top: 1px solid var(--rule); }
.block h3 { margin-bottom: .2em; }
.block p { margin: 0; color: var(--muted); }
.cta-band { background: var(--footer); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #c9c4bb; }
.cta-band .btn-primary { border-color: #fff; background: #fff; color: var(--ink); }

/* about */
.headshot { width: 100%; max-width: 360px; border-radius: 12px; display: block; background: var(--wash); }
.prose p, .prose li { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose ul, .prose ol { padding-left: 22px; }
.post time { color: var(--muted); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 22px 0; border-top: 1px solid var(--rule); }
.post-list time { font-size: .85rem; color: var(--muted); }
.post-list h2 { font-size: 1.4rem; margin: .2em 0 .3em; } .post-list h2 a { color: var(--ink); text-decoration: none; } .post-list h2 a:hover { color: var(--accent); }
.post-list p { margin: 0; color: var(--muted); }
.post-foot { margin-top: 36px; }

/* forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 13px; border: 1px solid #c9c4bb; border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.form-status { font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1f6f43; } .form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.contact-aside { color: var(--muted); }
.contact-aside strong { color: var(--ink); }

/* footer */
.site-foot { background: var(--footer); color: #c9c4bb; padding: 48px 0 28px; font-size: .92rem; margin-top: 40px; }
.foot-inner { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-name { color: #fff; font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 6px; }
.foot-line { color: #fff; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.site-foot a { color: #e7e3dc; text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
.foot-copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid #3a3835; font-size: .8rem; color: #9a958d; }

/* Fee table (Renewals) — rendered from fees.json by build.mjs */
.table-wrap { overflow-x: auto; margin: 24px 0 16px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.fee-table th, .fee-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.fee-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fee-table tbody th { font-weight: 600; }
.fee-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table tbody td.num { font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); }
.fee-note { color: var(--muted); font-size: .92rem; max-width: 70ch; }
@media (max-width: 700px) { .fee-table { min-width: 620px; } .fee-table th, .fee-table td { padding-right: 12px; } }
