@font-face { font-family: 'Mohave'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/mohave-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/mohave-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/mohave-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mohave-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/mohave-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/mohave-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/mohave-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/mohave-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/mohave-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Mohave'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mohave-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/trispace-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/trispace-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/trispace-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/trispace-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/trispace-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/trispace-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/trispace-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Trispace'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/trispace-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f1ead6;
  --fg-light-base-body: #1f2418;
  --fg-light-base-heading: #1f2418;
  --fg-light-base-muted: #575a48;
  --fg-light-base-link: #366b23;
  --fg-light-base-inverse: #1f2418;
  --bg-light-card: #f8f3e4;
  --fg-light-card-body: #1f2418;
  --fg-light-card-heading: #1f2418;
  --fg-light-card-muted: #575a48;
  --fg-light-card-link: #366b23;
  --fg-light-card-inverse: #1f2418;
  --bg-light-elevated: #e6dcc0;
  --fg-light-elevated-body: #1f2418;
  --fg-light-elevated-heading: #1f2418;
  --fg-light-elevated-muted: #575a48;
  --fg-light-elevated-link: #366b23;
  --fg-light-elevated-inverse: #1f2418;
  --brand-light-accent: #366b23;
  --brand-light-accent-hover: #28521a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #366b23;
  --border-light-default: #7d7457;
  --border-light-subtle: #d4c9a8;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* St. Augustine Aesthetic Providers Compared: heritage ledger appraisal */

:root {
  --font-head: 'Mohave', 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
  --font-body: 'Trispace', 'Courier New', monospace;
  --leaf: var(--brand-light-accent);
  --leaf-deep: var(--brand-light-accent-hover);
  --ink-rule: 1px solid var(--border-light-default);
  --soft-rule: 1px solid var(--border-light-subtle);
  --double-rule: 4px double var(--brand-light-accent);
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --sheet: 68rem;
  --measure: 40rem;
  --margin-col: 12.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.78;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

a:focus-visible, summary:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--bg-light-card);
  border: var(--ink-rule);
}
.skip-link:focus { top: 1rem; }

/* ---------- Masthead: sticky, double ledger rule, collapsed menu on every width ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: var(--double-rule);
}

.masthead {
  position: relative;
  max-width: var(--sheet);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.55rem var(--gutter);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand .site-logo { display: block; width: clamp(10.5rem, 52vw, 15rem); height: auto; }

.site-nav { display: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.95rem;
  border: 2px solid var(--leaf);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--bg-light-card), inset 0 0 0 3px var(--leaf);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  color: var(--leaf-deep);
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { background: var(--bg-light-elevated); box-shadow: inset 0 0 0 2px var(--bg-light-elevated), inset 0 0 0 3px var(--leaf); }

.menu-icon {
  display: inline-block;
  width: 1.1rem;
  height: 0.9rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 33% 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 66% 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 2px 100% no-repeat;
}
.site-menu[open] .menu-icon {
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
}

.site-menu > ul {
  position: absolute;
  top: calc(100% + 4px);
  right: var(--gutter);
  width: min(24rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 1.25rem 0.75rem;
  list-style: none;
  background: var(--bg-light-card);
  border: var(--ink-rule);
  border-top: var(--double-rule);
}
.site-menu li { border-bottom: var(--soft-rule); }
.site-menu li:last-child { border-bottom: 0; }
.site-menu ul ul { list-style: none; padding: 0 0 0.4rem 1rem; margin: 0; border-left: 2px solid var(--border-light-subtle); }
.site-menu ul ul li { border-bottom: 0; }
.site-menu a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
}
.site-menu ul ul a { padding: 0.4rem 0; font-size: 1.05rem; }
.site-menu a:hover { text-decoration: underline; }

@media (max-width: 30rem) {
  .site-menu > summary { padding: 0.35rem 0.75rem; min-width: 2.75rem; justify-content: center; }
  .site-menu .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- The sheet: a ledger margin rule down the left on wider screens ---------- */

.ledger-sheet {
  max-width: var(--sheet);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 4.5rem;
}

@media (min-width: 52rem) {
  .ledger-sheet {
    padding-top: 2.25rem;
    padding-left: calc(var(--gutter) + 1.75rem);
    background:
      linear-gradient(var(--leaf), var(--leaf)) var(--gutter) 0 / 1px 100% no-repeat,
      linear-gradient(var(--leaf), var(--leaf)) calc(var(--gutter) + 4px) 0 / 1px 100% no-repeat;
  }
}

.breadcrumbs { margin-bottom: 1.75rem; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.1rem 0.6rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--border-light-default); }

.page-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  line-height: 0.98;
  max-width: 18ch;
}

/* ---------- Prose ---------- */

.prose > * { max-width: var(--measure); }
.prose p { margin: 0 0 1.15rem; }
.prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem);
  margin: 2.6rem 0 0.85rem;
  padding-top: 0.75rem;
  border-top: var(--ink-rule);
}
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 0.5rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--leaf); font-family: var(--font-head); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: var(--double-rule);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.prose th, .prose td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: var(--soft-rule);
  min-width: 9rem;
}
.prose td + td, .prose th + th { border-left: var(--soft-rule); }
.prose thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-bottom: var(--double-rule);
}

.photo-hero, .photo-inline { margin: 0 0 2rem; max-width: var(--measure); }
.photo-hero img, .photo-inline img { display: block; width: 100%; height: auto; border: var(--ink-rule); padding: 5px; background: var(--bg-light-card); }
.photo-inline { margin: 2.25rem 0; }

section[data-section][style] {
  max-width: none;
  margin: 2.75rem 0;
  padding: clamp(3rem, 10vw, 6.5rem) clamp(1rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  background-size: cover;
  background-position: center;
}
section[data-section][style] > .bg-surface-card {
  max-width: 34rem;
  padding: 1.3rem 1.5rem;
  border-top: var(--double-rule);
}
section[data-section][style] h2 { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- Home: one column, the cover headline over a stamped tally ---------- */

.front-cover { max-width: 46rem; margin-bottom: 2.5rem; }
.front-title h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.4rem); line-height: 0.94; max-width: 16ch; }

.tally-stamp {
  position: relative;
  max-width: 31rem;
  margin: 2rem 0 0 0.25rem;
  padding: 1.15rem 1.35rem 0.6rem 4.6rem;
  border: 3px solid var(--leaf);
  outline: 1px solid var(--leaf);
  outline-offset: 3px;
  transform: rotate(-1.2deg);
  transform-origin: left top;
}
.tally-stamp::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.25rem;
  width: 2.2rem;
  height: 2rem;
  background:
    linear-gradient(var(--leaf), var(--leaf)) 0 0 / 3px 100% no-repeat,
    linear-gradient(var(--leaf), var(--leaf)) 33% 0 / 3px 100% no-repeat,
    linear-gradient(var(--leaf), var(--leaf)) 66% 0 / 3px 100% no-repeat,
    linear-gradient(var(--leaf), var(--leaf)) 100% 0 / 3px 100% no-repeat,
    linear-gradient(-24deg, transparent 45%, var(--leaf) 45%, var(--leaf) 57%, transparent 57%);
}
.tally-stamp .display-line {
  margin: 0 0 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: var(--soft-rule);
  font-size: 0.95rem;
  line-height: 1.55;
}
.tally-stamp .display-line:last-child { border-bottom: 0; }
.tally-stamp:empty { display: none; }

.front-entries > .photo-hero { max-width: 46rem; }
.front-entries > .photo-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.front-entries > p:first-of-type { font-size: 1.06rem; }
.front-entries > h2 { border-top: 2px solid var(--border-light-default); }

/* ---------- Top-N list: two columns, headings and ranks on the left, remarks on the right ---------- */

.ledger-head { margin-bottom: 2rem; }

@media (min-width: 60rem) {
  .ledger-columns { padding-left: var(--margin-col); }
  .ledger-columns > h2 {
    float: left;
    clear: left;
    width: calc(var(--margin-col) - 1.75rem);
    margin: 0.1rem 0 1.5rem calc(-1 * var(--margin-col));
    padding-top: 0.6rem;
    font-size: 1.45rem;
    line-height: 1.08;
  }
  .ledger-columns > h2 + * { margin-top: 0; padding-top: 0.6rem; border-top: var(--ink-rule); }
  .ledger-columns > h2 + .photo-inline { padding-top: 0.6rem; }
  .ledger-columns > :not(h2) { clear: none; }
  .ledger-columns > h2 ~ h2 { margin-top: 2.25rem; }
  .ledger-columns > h2 ~ h2 + * { margin-top: 2.25rem; }
}

.ledger-columns > ol {
  list-style-position: outside;
  margin: 0.5rem 0 2rem;
  padding-left: 3.75rem;
}
.ledger-columns > ol > li {
  margin: 0;
  padding: 0.65rem 0 0.7rem 0.6rem;
  border-bottom: var(--soft-rule);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.25;
}
.ledger-columns > ol > li::marker {
  font-size: 1.9rem;
  color: var(--leaf);
}

.ledger-children {
  clear: both;
  margin-top: 3rem;
  max-width: 50rem;
  padding: 1.35rem 1.5rem 1.1rem;
  border-top: var(--double-rule);
}
.children-label { margin: 0 0 0.75rem; font-size: 1.4rem; }
.children-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.75rem; }
.children-links li { border-bottom: var(--soft-rule); }
.children-links a { display: block; padding: 0.6rem 0; font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; line-height: 1.25; }
.ledger-children:has(.children-links ul:empty) { display: none; }

/* ---------- Provider review: split, fact sheet beside the written appraisal ---------- */

.appraisal-head { margin-bottom: 1.75rem; padding-bottom: 1.1rem; border-bottom: var(--double-rule); max-width: 46rem; }
.appraisal-split > p:first-of-type { font-size: 1.06rem; }

.appraisal-split > h2:first-of-type,
.appraisal-split > h2:first-of-type ~ :not(h2):not(h2:nth-of-type(2) ~ *) {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 1.25rem 0.9rem;
  background: var(--bg-light-card);
  border-left: var(--ink-rule);
  border-right: var(--ink-rule);
}
.appraisal-split > h2:first-of-type {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: var(--double-rule);
  font-size: 1.45rem;
}
.appraisal-split > h2:first-of-type ~ :has(+ h2:nth-of-type(2)) {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: var(--ink-rule);
}
.appraisal-split > ul { list-style: square; }

@media (min-width: 62rem) {
  .appraisal-split { display: flow-root; }
  .appraisal-split > * { max-width: 37rem; }
  .appraisal-split > h2:first-of-type,
  .appraisal-split > h2:first-of-type ~ :not(h2):not(h2:nth-of-type(2) ~ *) {
    float: right;
    clear: right;
    width: 20rem;
    margin-left: 2.5rem;
    font-size: 0.9rem;
  }
  .appraisal-split > h2:first-of-type { margin-top: 0; font-size: 1.45rem; }
  .appraisal-split > .photo-hero { max-width: 37rem; }
}

/* ---------- Comparison: stepped, criterion by criterion with a stamped tally per step ---------- */

.walk-head { margin-bottom: 2rem; }
.walk-steps { counter-reset: criterion; }
.walk-steps > h2 {
  counter-increment: criterion;
  position: relative;
  padding-left: 3.6rem;
  border-top: 0;
  padding-top: 0;
  min-height: 2.8rem;
}
.walk-steps > h2::before {
  content: counter(criterion);
  position: absolute;
  left: 0;
  top: -0.15rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--leaf);
  outline: 1px solid var(--leaf);
  outline-offset: 2px;
  color: var(--leaf);
  font-size: 1.45rem;
  line-height: 1;
  transform: rotate(-4deg);
}
.walk-steps > h2 ~ * { border-left: 2px solid var(--border-light-subtle); padding-left: 1.85rem; margin-left: 1.3rem; }
.walk-steps > h2 ~ h2 { border-left: 0; margin-left: 0; padding-left: 3.6rem; }
.walk-steps > h2 ~ ol, .walk-steps > h2 ~ ul { padding-left: 3.25rem; }
.walk-steps > h2 ~ table { margin-left: 1.3rem; border-left: 2px solid var(--border-light-subtle); padding-left: 0; }

@media (min-width: 52rem) {
  .walk-steps > h2:nth-of-type(2), .walk-steps > h2:nth-of-type(2) ~ * { translate: 1.75rem 0; }
  .walk-steps > h2:nth-of-type(3), .walk-steps > h2:nth-of-type(3) ~ * { translate: 3.5rem 0; }
  .walk-steps > h2:nth-of-type(n+4), .walk-steps > h2:nth-of-type(n+4) ~ * { translate: 5.25rem 0; }
  .walk-steps > * { max-width: calc(var(--measure) - 1rem); }
}

/* ---------- About: two columns of criteria, a ledger rule between them ---------- */

.criteria-head { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: var(--double-rule); max-width: 46rem; }
@media (min-width: 64rem) {
  .criteria-columns {
    column-count: 2;
    column-gap: 3.25rem;
    column-rule: 1px solid var(--border-light-default);
  }
  .criteria-columns > * { max-width: none; break-inside: avoid-column; }
  .criteria-columns > h2 { break-after: avoid-column; }
  .criteria-columns > h2:first-of-type { margin-top: 0; }
  .criteria-columns > .photo-hero, .criteria-columns > .photo-inline { break-inside: avoid; }
}

/* ---------- Contact: a grid of stamped cards ---------- */

.contact-head { margin-bottom: 2rem; }
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
  align-items: start;
}
.stamp-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
  border: var(--ink-rule);
  border-top: var(--double-rule);
}
.stamp-card::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid var(--leaf);
  border-radius: 50%;
  outline: 1px solid var(--leaf);
  outline-offset: 2px;
  opacity: 0.55;
  transform: rotate(-8deg);
}
.note-card > * { max-width: none; }
.note-card > p:first-child { margin-right: 3rem; }
.note-card > h2 { font-size: 1.4rem; }

.form-card {
  display: grid;
  gap: 1.05rem 1.25rem;
  padding-top: 3.5rem;
}
@media (min-width: 40rem) {
  .form-card { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 0.3rem; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; }
.field-input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 0;
  border-bottom: 2px solid var(--border-light-default);
  border-radius: 0;
}
.field-input:focus { border-bottom-color: var(--leaf); }
.field-area { min-height: 9rem; resize: vertical; border: var(--ink-rule); border-bottom: 2px solid var(--border-light-default); }
.stamp-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.55rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--brand-light-on-accent);
  background: var(--leaf);
  border: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 0 3px var(--leaf), inset 0 0 0 4px var(--brand-light-on-accent);
  cursor: pointer;
}
.stamp-button:hover { background: var(--leaf-deep); box-shadow: inset 0 0 0 3px var(--leaf-deep), inset 0 0 0 4px var(--brand-light-on-accent); }

/* ---------- Thank you: stepped ledger rows ---------- */

.closing-head { margin-bottom: 1.5rem; }
.closing-steps > h2 { font-size: 1.45rem; }
.next-rows {
  counter-reset: row;
  list-style: none;
  max-width: var(--measure);
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: var(--double-rule);
}
.next-rows li {
  counter-increment: row;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: var(--ink-rule);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
}
.next-rows li::before {
  content: counter(row);
  flex-shrink: 0;
  width: 1.8rem;
  color: var(--leaf);
  font-size: 1.6rem;
}
@media (min-width: 48rem) {
  .next-rows li:nth-child(2) { padding-left: 2rem; }
  .next-rows li:nth-child(3) { padding-left: 4rem; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: var(--double-rule); }
.footer-ledger { max-width: var(--sheet); margin: 0 auto; padding: 2rem var(--gutter) 2.5rem; display: grid; gap: 0.45rem; }
.footer-name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.footer-line { margin: 0 0 0.5rem; max-width: 36rem; font-size: 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.75rem; }
.footer-links a { display: inline-block; padding: 0.35rem 0; }

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