/* TBG — coastal Annapolis theme */
:root {
  --navy: #0F2A44;
  --sand: #F7F3EA;
  --brass: #C9A86A;
  --brass-dark: #7A5C2E;
  --bay: #E6EDF2;
  --line: #E2DACB;
  --muted: #4B5868;
  --body: #34404F;
  --on-navy: #D9DEE6;
  --on-navy-quiet: #AEB8C6;
  --input-line: #A9B2BE;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Libre Franklin', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: var(--navy); }
a:hover { color: var(--brass-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0; }
.eyebrow { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-dark); }
.on-navy .eyebrow { color: var(--brass); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--navy); color: var(--sand); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--sand); text-decoration: none; }
.logo:hover { color: var(--sand); }
.logo-word { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; }
.logo-mark { width: 10px; height: 10px; background: var(--brass); display: inline-block; }
.logo-sub { font-size: 14px; color: var(--on-navy-quiet); border-left: 1px solid var(--muted); padding-left: 10px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { color: var(--on-navy); text-decoration: none; }
.nav a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn-brass { background: var(--brass); color: var(--navy) !important; }
.btn-brass:hover { background: #d6b77c; }
.btn-navy { background: var(--navy); color: var(--sand) !important; }
.btn-outline-light { border: 2px solid var(--sand); color: var(--sand) !important; padding: 10px 20px; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy) !important; padding: 10px 20px; }
.nav .btn { min-height: 44px; padding: 10px 18px; }

/* Sections */
.on-navy { background: var(--navy); color: var(--sand); }
.on-navy p { color: var(--on-navy); }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bay { background: var(--bay); }
.hero { padding: 64px 0 96px; }
.hero .wrap { display: flex; flex-direction: column; gap: 24px; }
.hero-split .wrap { flex-direction: row; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-lead { font-size: 19px; max-width: 640px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.crumbs { font-size: 14px; color: var(--on-navy-quiet); }
.crumbs a { color: var(--on-navy-quiet); }

/* Cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--navy); }
a.card:hover { border-color: var(--brass); color: var(--navy); }
.card .more { font-weight: 600; font-size: 15px; margin-top: auto; }
.hub-cards { margin-top: -48px; position: relative; }
.hub-cards .card { box-shadow: 0 12px 30px rgba(15, 42, 68, 0.10); }
.card-img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.step { border-top: 2px solid var(--brass); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head p { max-width: 440px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.quote { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; }
.quote-box { border: 1px solid var(--muted); border-radius: 12px; padding: 26px; }
.cta-band { background: var(--brass); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }

/* Forms */
form.lead { background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.on-navy form.lead { border: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.on-navy form.lead p { color: var(--muted); }
.hero-split form.lead { flex: 1 1 380px; min-width: 0; }
form.lead h2 { font-size: 26px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1px solid var(--input-line); border-radius: 6px; background: #fff; min-height: 46px; color: var(--navy); }
textarea { resize: vertical; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > label { flex: 1 1 160px; }
.fine { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--muted); }
.consent input { min-height: 0; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Service page */
.service-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 56px 0 88px; }
.service-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.service-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.scope p { padding: 14px 0; border-bottom: 1px solid var(--line); }
.numbered { display: flex; flex-direction: column; gap: 20px; }
.numbered > div { display: flex; gap: 20px; }
.numbered .step-num { font-size: 28px; min-width: 44px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 12px; color: var(--muted); }

/* Table */
.table-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th { text-align: left; background: var(--bay); padding: 14px 20px; font-weight: 600; }
td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; }
code, .mono { font-family: var(--mono); font-size: 14px; }

/* Prose pages */
.prose { max-width: 760px; padding: 56px 0 96px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 26px; margin-top: 16px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-quiet); font-size: 14px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; }
.site-footer a { color: var(--on-navy-quiet); }
.site-footer a:hover { color: #fff; }
.foot-cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-head { color: var(--sand); font-weight: 600; }
.disclosure { max-width: 900px; line-height: 1.6; }

@media (max-width: 940px) {
  .service-aside { order: -1; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 80px; }
  .nav { gap: 8px 18px; }
}
