@font-face { font-family: 'Eczar'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/eczar-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Eczar'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/eczar-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Eczar'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/eczar-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Eczar'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/eczar-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Eczar'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/eczar-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f5f7f2;
  --fg-light-base-body: #1b2117;
  --fg-light-base-heading: #1b2117;
  --fg-light-base-muted: #495243;
  --fg-light-base-link: #2d6a22;
  --fg-light-base-inverse: #1b2117;
  --bg-light-card: #e9ede3;
  --fg-light-card-body: #1b2117;
  --fg-light-card-heading: #1b2117;
  --fg-light-card-muted: #495243;
  --fg-light-card-link: #2d6a22;
  --fg-light-card-inverse: #1b2117;
  --bg-light-elevated: #dde3d4;
  --fg-light-elevated-body: #1b2117;
  --fg-light-elevated-heading: #1b2117;
  --fg-light-elevated-muted: #495243;
  --fg-light-elevated-link: #2d6a22;
  --fg-light-elevated-inverse: #1b2117;
  --brand-light-accent: #2d6a22;
  --brand-light-accent-hover: #1f5017;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #2d6a22;
  --border-light-default: #5f6958;
  --border-light-subtle: #c9d0bf;
}
.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; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
: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); }

/* Bloomfield Vein Care Reviews: field-tested review almanac */
:root {
  --font-heading: 'Eczar', Georgia, 'Rockwell', serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --leaf: var(--brand-light-accent);
  --leaf-deep: var(--brand-light-accent-hover);
  --ink: #1b2117;
  --rule: var(--border-light-default);
  --hair: var(--border-light-subtle);
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --rail: 17.5rem;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg-heading);
  text-wrap: balance;
}

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

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

.skip-link { position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 0.9rem; background: var(--bg-light-base); z-index: 60; }
.skip-link:focus { top: 1rem; }

/* ---------- Frame: side rail + leaf ---------- */

.almanac { min-height: 100vh; }

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

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; text-decoration: none; }
.brand .site-logo { display: block; width: min(11.5rem, 40vw); max-width: 100%; height: auto; }

.rail-tally { display: none; }

.site-nav { display: none; }

/* Phone menu */
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  color: var(--fg-heading);
  cursor: pointer;
  list-style: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-icon {
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.site-menu[open] > summary { background: var(--leaf); border-color: var(--leaf); color: var(--brand-light-on-accent); }
.site-menu[open] .menu-icon { box-shadow: none; transform: rotate(45deg); }
.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem var(--gutter) 2.5rem;
  list-style: none;
  background: var(--bg-light-card);
  border-bottom: 3px solid var(--leaf);
}
.site-menu > ul > li { border-bottom: 1px solid var(--hair); }
.site-menu a {
  display: block;
  padding: 0.65rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.site-menu ul ul { list-style: none; margin: 0 0 0.6rem; padding: 0 0 0 1rem; border-left: 2px solid var(--rule); }
.site-menu ul ul a { font-family: var(--font-body); font-weight: 400; font-size: 1rem; padding: 0.45rem 0; }

.leaf { padding: 0 var(--gutter); }

@media (min-width: 64rem) {
  .almanac {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    align-items: start;
  }
  .site-header {
    height: 100vh;
    overflow-y: auto;
    border-bottom: 0;
    border-right: 3px double var(--rule);
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  .rail-head { padding: 0; }
  .site-menu { display: none; }
  .site-nav { display: block; }
  .rail-tally { display: block; width: 4rem; height: auto; margin-top: auto; color: var(--leaf); }
  .leaf { padding: 0 clamp(2rem, 4vw, 4rem); }
}

/* Rail tabs */
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-nav > ul > li > a,
.site-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--bg-light-base);
  border: 1.5px solid var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--fg-heading);
  cursor: pointer;
}
.site-nav summary { list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}
.site-nav details[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.site-nav > ul > li > a:hover,
.site-nav summary:hover { background: var(--bg-light-elevated); }
.site-nav details[open] > summary {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--brand-light-on-accent);
}
.site-nav-group > ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.8rem 0.5rem;
  background: var(--bg-light-base);
  border: 1.5px solid var(--leaf);
  border-top: 0;
}
.site-nav-group > ul > li + li { border-top: 1px solid var(--hair); }
.site-nav-group > ul a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}
.site-nav-group > ul a:hover { text-decoration: underline; }

/* ---------- Leaf, breadcrumbs ---------- */

.breadcrumbs { max-width: 70rem; padding-top: 1.25rem; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.55rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.55rem; color: var(--fg-muted); }

.page { max-width: 70rem; padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }

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

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1rem; }
.prose h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
}
.prose h3 { margin: 1.8rem 0 0.5rem; font-size: 1.2rem; }
.prose a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--leaf-deep); text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }

/* Checklist bullets: ruled rows with a leaf-green check box */
.prose ul { margin: 0 0 1.6rem; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.prose ul li {
  position: relative;
  margin: 0;
  padding: 0.65rem 0 0.65rem 2.1rem;
  border-bottom: 1px solid var(--hair);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid var(--ink);
  background: var(--bg-light-base);
}
.prose ul li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.92rem;
  width: 0.38rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--leaf);
  border-bottom: 2.5px solid var(--leaf);
  transform: rotate(40deg);
}

/* Ordered entries: stacked ruled boxes */
.prose ol { margin: 0 0 1.75rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.prose ol > li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 0.9rem;
  align-items: baseline;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ink);
}
.prose ol > li::before {
  content: counter(list-item);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--leaf);
}
.prose ol > li > * { grid-column: 2; }

.prose blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: 4px;
}
.prose blockquote p:last-child { margin: 0; }

.table-scroll { overflow-x: auto; margin: 0 0 2rem; border: 1.5px solid var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; line-height: 1.45; }
.prose th, .prose td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.prose th + th, .prose td + td { border-left: 1px solid var(--hair); }
.prose thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  background: var(--bg-light-elevated);
  border-bottom: 1.5px solid var(--ink);
}
.prose tbody tr:last-child td { border-bottom: 0; }

.photo-hero, .photo-inline, .prose figure { margin: 0 0 2rem; }
.photo-hero img, .photo-inline img, .prose img { display: block; width: 100%; height: auto; border: 1.5px solid var(--ink); }

/* ---------- Home: two-column almanac front ---------- */

.front-split { display: grid; gap: 2.5rem; }
.season-box {
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border: 2px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
}
.season-mark { display: block; width: 3.5rem; height: auto; color: var(--leaf); margin-bottom: 1.1rem; }
.season-title h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  line-height: 1.02;
}
.display-line { margin: 0 0 0.85rem; font-size: 1.08rem; line-height: 1.55; }
.display-line + .display-line { padding-top: 0.85rem; border-top: 1px solid var(--hair); }
.season-index { margin-top: 1.5rem; }
.season-index ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.season-index li { border-bottom: 1px solid var(--hair); }
.season-index a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}
.season-index a::before {
  content: "";
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid currentColor;
}
.season-index a:hover { text-decoration: underline; }

@media (min-width: 60rem) {
  .front-split { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
}

/* ---------- Ranked list: stepped ruled boxes ---------- */

.ranked-head h1 {
  margin: 0;
  max-width: 22ch;
  padding-bottom: 1rem;
  border-bottom: 3px double var(--rule);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}
.ranked-prose { margin-top: 2rem; max-width: 44rem; }
@media (min-width: 48rem) {
  .ranked-prose ol > li:nth-child(2) { margin-left: 1.5rem; }
  .ranked-prose ol > li:nth-child(3) { margin-left: 3rem; }
  .ranked-prose ol > li:nth-child(4) { margin-left: 4.5rem; }
  .ranked-prose ol > li:nth-child(n+5) { margin-left: 6rem; }
}
.ranked-reports { max-width: 44rem; margin-top: 2.5rem; padding: 1rem 1.25rem; border: 2px solid var(--ink); }
.ranked-reports ul { list-style: none; margin: 0; padding: 0; }
.ranked-reports li { border-bottom: 1px solid var(--hair); }
.ranked-reports li:last-child { border-bottom: 0; }
.ranked-reports a { display: block; padding: 0.6rem 0; font-weight: 600; text-decoration: none; }
.ranked-reports a:hover { text-decoration: underline; }
.ranked-reports:has(ul:empty) { display: none; }

/* ---------- Provider review: field report (one-column) ---------- */

.report-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--measure);
  padding-bottom: 1.25rem;
  border-bottom: 3px double var(--rule);
}
.report-verdict { flex-shrink: 0; width: 4.25rem; height: auto; color: var(--leaf); }
.report-title h1 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.report-prose { margin-top: 2rem; }
.report-prose ul:nth-of-type(2) li::after {
  left: 0.42rem;
  top: 1.3rem;
  width: 0.55rem;
  height: 0;
  border-right: 0;
  border-bottom: 2.5px solid var(--fg-muted);
  transform: none;
}

/* ---------- Comparison: two-column tally board ---------- */

.board-split { display: grid; gap: 2rem; }
.board-title h1 { margin: 0; font-size: clamp(1.9rem, 1.35rem + 2vw, 2.7rem); }
.board-tally { display: block; width: 100%; max-width: 11rem; height: auto; margin-top: 1.4rem; color: var(--leaf); }
.board-prose { max-width: none; }
.board-prose tbody td:first-child { font-family: var(--font-heading); font-weight: 600; }
@media (min-width: 60rem) {
  .board-split { grid-template-columns: minmax(0, 19.5rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .board-title h1 { font-size: clamp(1.75rem, 1rem + 1.2vw, 2.3rem); }
  .board-side { position: sticky; top: 2rem; padding-right: 1.5rem; border-right: 3px double var(--rule); }
}

/* ---------- About: testing notes (one-column) ---------- */

.notes-head h1 {
  margin: 0;
  max-width: 22ch;
  padding-bottom: 1rem;
  border-bottom: 3px double var(--rule);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
}
.notes-prose { margin-top: 2rem; }
.notes-prose > p:first-child { font-size: 1.18rem; line-height: 1.55; }

/* ---------- Contact: field-note form (one-column) ---------- */

.fieldnote-head h1 { margin: 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.fieldnote-prose { margin-top: 1.75rem; }
.fieldnote-form {
  max-width: var(--measure);
  margin-top: 2.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
}
.note-row { display: grid; gap: 0 1.5rem; }
.note-field { margin-bottom: 1.4rem; }
.note-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
}
.note-field input {
  width: 100%;
  min-height: 2.75rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 1.5px solid var(--ink);
  border-radius: 0;
  padding: 0.5rem 0.7rem;
}
.note-field input:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.note-button {
  min-height: 2.9rem;
  padding: 0.6rem 1.6rem;
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.note-button.text-role-inverse { color: var(--brand-light-on-accent); background: var(--leaf); }
.note-button.text-role-inverse:hover { background: var(--leaf-deep); }
@media (min-width: 40rem) {
  .note-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Thank you: tally confirmation (one-column) ---------- */

.tallied-box {
  max-width: var(--measure);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 2px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
}
.tallied-mark { display: block; width: 7rem; height: auto; color: var(--leaf); margin-bottom: 1.1rem; }
.tallied-title h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
.tallied-link { margin: 0; }
.tallied-link a { display: inline-block; padding: 0.4rem 0; font-weight: 700; }
.tallied-prose { margin-top: 2.5rem; }

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

.site-footer { margin: 1rem 0 2rem; border: 1.5px solid var(--ink); }
.footer-box {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer-name { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-links a { display: inline-block; padding: 0.45rem 0; }

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