:root {
	--ink: #101828;
	--muted: #556070;
	--line: #e3e7ec;
	--tint: #f3f5f8;
	--paper: #ffffff;
	--accent: #1d4ed8;
	--radius: 6px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.container { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1.5rem; }
.site-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.custom-logo { max-height: 2.75rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .menu { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--ink); text-decoration: none; font-size: .975rem; }
.site-nav .menu a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 2.75rem; height: 2.75rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.2rem; height: 2px; background: var(--ink); position: relative; margin: auto; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }

/* Buttons and links */
.button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: .85rem 1.5rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter .15s; }
.button:hover { filter: brightness(.92); color: #fff; }
.button-small { padding: .5rem 1rem; font-size: .925rem; }
.text-link { margin-left: 1.25rem; font-weight: 600; }

/* Hero */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-title { max-width: 16ch; margin-bottom: .4em; }
.hero-text { font-size: 1.3rem; color: var(--muted); max-width: 52ch; }
.hero-actions { margin-top: 2rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: .5rem 3rem; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
.crumb { font-size: .95rem; margin-bottom: 1rem; }

/* Services: a ruled index list */
.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; border-top: 1px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--line); }
.service-link { display: grid; gap: .35rem; padding: 1.5rem .25rem; color: inherit; text-decoration: none; position: relative; }
.service-name { margin: 0; transition: color .15s; }
.service-text { margin: 0; color: var(--muted); font-size: .98rem; max-width: 52ch; }
.service-meta { display: flex; gap: 1rem; align-items: center; margin-top: .35rem; font-size: .9rem; }
.service-group { color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .05rem .65rem; }
.service-more { color: var(--accent); font-weight: 600; }
.service-link:hover .service-name { color: var(--accent); }
.service-link:hover .service-more { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .5rem; }
.contact-form { display: grid; gap: .5rem; }
.contact-form label { font-weight: 600; font-size: .95rem; margin-top: .75rem; }
.contact-form input, .contact-form select, .contact-form textarea, .search-form input { width: 100%; font: inherit; color: inherit; background: var(--paper); border: 1px solid #c7cfd9; border-radius: var(--radius); padding: .75rem .9rem; }
.contact-form .button { justify-self: start; margin-top: 1.25rem; }
.field-trap { position: absolute; left: -9999px; }
.notice { padding: .85rem 1rem; border-radius: var(--radius); margin: 0 0 1rem; }
.notice-success { background: #e8f6ee; color: #14532d; }
.notice-error { background: #fdecec; color: #7f1d1d; }

/* Content */
.entry-content { padding-bottom: 5rem; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-cta { margin-top: 2.5rem; }
.post-summary { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.post-summary h2 { font-size: 1.6rem; margin-bottom: .2em; }
.post-summary h2 a { color: var(--ink); text-decoration: none; }
.post-date { color: var(--muted); font-size: .95rem; }
.search-form { display: flex; gap: .5rem; margin: 1.5rem 0; max-width: 28rem; }
.comments { margin-top: 3rem; }
.comment-list { padding-left: 1.25rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { margin: 0; }
.footer-nav .menu { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); }

/* Small screens */
@media (max-width: 860px) {
	.section-head, .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
	.contact-grid { gap: 2.5rem; }
	.service-list { grid-template-columns: 1fr; }
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
