@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/saira-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/fira-sans-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/fira-sans-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/fira-sans-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/fira-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/fira-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/fira-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/fira-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/fira-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/fira-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/fira-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/fira-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/fira-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/fira-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/fira-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/fira-sans-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/fira-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/fira-sans-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/fira-sans-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ecebe4;
  --fg-light-base-body: #1d1b16;
  --fg-light-base-heading: #1d1b16;
  --fg-light-base-muted: #554f40;
  --fg-light-base-link: #7a5100;
  --fg-light-base-inverse: #1d1b16;
  --bg-light-card: #e2dfd2;
  --fg-light-card-body: #1d1b16;
  --fg-light-card-heading: #1d1b16;
  --fg-light-card-muted: #554f40;
  --fg-light-card-link: #7a5100;
  --fg-light-card-inverse: #1d1b16;
  --bg-light-elevated: #f8f7f2;
  --fg-light-elevated-body: #1d1b16;
  --fg-light-elevated-heading: #1d1b16;
  --fg-light-elevated-muted: #554f40;
  --fg-light-elevated-link: #7a5100;
  --fg-light-elevated-inverse: #1d1b16;
  --brand-light-accent: #7a5100;
  --brand-light-accent-hover: #5c3d00;
  --brand-light-on-accent: #fbf8ef;
  --focus-light-ring: #7a5100;
  --border-light-default: #8c7d5a;
  --border-light-subtle: #cfc9b5;
}
.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); }

:root {
  --head: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --text: 'Fira Sans', 'Segoe UI', Tahoma, sans-serif;
  --stone: var(--bg-light-base);
  --slate: var(--bg-light-card);
  --sheet: var(--bg-light-elevated);
  --ochre: var(--brand-light-accent);
  --ochre-deep: var(--brand-light-accent-hover);
  --on-ochre: var(--brand-light-on-accent);
  --amber: #e2b04a;
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --measure: 39rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --wide: 76rem;
}

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

html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

body.bg-surface-base {
  background-image:
    linear-gradient(color-mix(in srgb, var(--rule-soft) 40%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--rule-soft) 40%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

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

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--ochre);
}

.ledger-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.55rem var(--gutter);
}

.ledger-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  text-decoration: none;
}
.ledger-brand .site-logo { display: block; width: 2.5rem; height: 2.5rem; flex: none; }
.ledger-name {
  font-family: var(--head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  max-width: 10rem;
}

.site-nav { display: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--fg-heading);
  border-radius: 0.35rem;
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--fg-heading);
}
.site-menu .menu-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--ochre);
  border-radius: 0.15rem;
  background:
    linear-gradient(var(--ochre), var(--ochre)) 50% 30% / 60% 2px no-repeat,
    linear-gradient(var(--ochre), var(--ochre)) 50% 70% / 60% 2px no-repeat;
}
.site-menu[open] .menu-icon { background: var(--ochre); }

.site-menu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none;
  background: var(--sheet);
  border-bottom: 3px solid var(--ochre);
}
.site-menu > ul > li { border-top: 1px solid var(--rule-soft); }
.site-menu li a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.site-menu li a:hover { text-decoration: underline; }
.site-menu ul ul { margin: 0; padding: 0 0 0.6rem 1rem; list-style: none; border-left: 2px solid var(--rule-soft); }
.site-menu ul ul a { padding: 0.4rem 0; font-family: var(--text); font-size: 1rem; font-weight: 400; }

/* ---------- Page frame and footer ---------- */

.ledger-page { min-height: 70vh; }

.breadcrumbs {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.1rem var(--gutter) 0;
  font-size: 0.92rem;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.55rem; color: var(--rule); }

.ledger-foot { margin-top: clamp(3rem, 8vw, 5.5rem); border-top: 3px solid var(--ochre); }
.ledger-foot-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
}
.ledger-foot-name { margin: 0; font-family: var(--head); font-size: 1.5rem; font-weight: 700; }
.ledger-foot-line { margin: 0.35rem 0 0; max-width: 34rem; }

/* ---------- Shared prose ---------- */

.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-top: 2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.55em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li + li { margin-top: 0.55em; }
.prose ul > li { position: relative; padding-left: 1.9rem; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--ochre);
  border-radius: 0.2rem;
  background: var(--sheet);
}
.prose ol { counter-reset: tick; }
.prose ol > li {
  position: relative;
  padding: 0.8rem 1rem 0.8rem 3.1rem;
  background: var(--sheet);
  border: 1px solid var(--rule-soft);
  border-radius: 0.4rem;
  counter-increment: tick;
}
.prose ol > li::before {
  content: counter(tick);
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.25rem;
  background: var(--ochre);
  color: var(--on-ochre);
  font-family: var(--head);
  font-weight: 700;
  line-height: 1;
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 0.9rem 1.1rem;
  background: var(--sheet);
  border-left: 4px solid var(--ochre);
}
.prose figure, .steps figure { margin-left: 0; margin-right: 0; }
.prose figure img, .steps figure img { display: block; width: 100%; height: auto; object-fit: cover; }
.photo-inline img { aspect-ratio: 3 / 2; border: 1px solid var(--rule); border-radius: 0.4rem; }
.photo-hero img { aspect-ratio: 16 / 9; border-radius: 0.4rem; }

/* ---------- Stepped spine (home, article, about) ---------- */

.steps {
  position: relative;
  counter-reset: stage;
  padding-left: 3.4rem;
}
.steps::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: repeating-linear-gradient(var(--rule) 0 6px, transparent 6px 11px);
}
.steps > h2 {
  position: relative;
  counter-increment: stage;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.steps > h2::before {
  content: counter(stage);
  position: absolute;
  left: -3.4rem;
  top: -0.05em;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ochre);
  border-radius: 0.35rem;
  background: var(--sheet);
  color: var(--ochre-deep);
  font-size: 1.25rem;
  line-height: 1;
}
.steps-dotted > h2::before {
  content: "";
  top: 0.15em;
  left: -2.95rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border-width: 3px;
  background: var(--amber);
}
.steps > h2 ~ p, .steps > h2 ~ ul, .steps > h2 ~ ol { max-width: var(--measure); }

/* ---------- Home: clinic dashboard ---------- */

.dash { max-width: var(--wide); margin: 0 auto; padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) 0; }

.dash-head { max-width: 54rem; }
.dash-title h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
}
.dash-lines {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.35rem;
  max-width: 40rem;
}
.display-line { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.display-line + .display-line { color: var(--fg-muted); font-size: 1.02rem; }

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.9rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.tile { border: 1px solid var(--rule); border-radius: 0.45rem; border-top: 6px solid var(--ochre); }
.tile-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "name name"
    "stat unit"
    "gauge gauge"
    "rank rank";
  align-items: end;
  column-gap: 0.5rem;
  height: 100%;
  padding: 1rem 1.1rem 1.1rem;
  text-decoration: none;
  border-radius: inherit;
}
.tile-name { grid-area: name; font-family: var(--head); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.tile-stat { grid-area: stat; margin-top: 0.6rem; font-family: var(--head); font-size: 3rem; font-weight: 800; line-height: 0.9; }
.tile-unit { grid-area: unit; padding-bottom: 0.2rem; font-size: 0.95rem; }
.tile-gauge { grid-area: gauge; display: flex; align-items: flex-end; gap: 4px; height: 1.6rem; margin-top: 0.85rem; }
.tile-gauge span { flex: 1; border-radius: 2px 2px 0 0; background: var(--rule-soft); }
.tile-gauge span:nth-child(1) { height: 100%; }
.tile-gauge span:nth-child(2) { height: 75%; }
.tile-gauge span:nth-child(3) { height: 50%; }
.tile-gauge span:nth-child(4) { height: 25%; }
.tile-gauge-4 span:nth-child(-n+4),
.tile-gauge-3 span:nth-child(-n+3),
.tile-gauge-2 span:nth-child(-n+2),
.tile-gauge-1 span:nth-child(-n+1) { background: var(--amber); }
.tile-rank { grid-area: rank; margin-top: 0.4rem; font-size: 0.92rem; }
.tile-link:hover .tile-name { text-decoration: underline; text-decoration-thickness: 2px; }
.tile:hover { border-top-color: var(--ochre-deep); }

.dash-steps { margin-top: clamp(2.5rem, 6vw, 4rem); }
.dash-steps > * { margin-top: 0; margin-bottom: 0; }
.dash-steps > * + * { margin-top: 1em; }
.dash-steps > h2 { margin-top: 2em; }
.dash-steps > h2 + * { margin-top: 0.55em; }
.dash-steps > .photo-hero { margin: 0 0 2rem; }
.dash-steps > .photo-hero img { aspect-ratio: 3 / 2; border: 1px solid var(--rule); }
.dash-steps > .photo-hero + * { margin-top: 0; }
.dash-steps > p { max-width: var(--measure); }

/* ---------- Topic hub: field-log board ---------- */

.board { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0; }
.board-head { padding-bottom: 1.25rem; border-bottom: 2px solid var(--fg-heading); }
.board-title h1 { margin: 0; font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; line-height: 1; }

.board-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-top: 2rem; }
.board-notes { max-width: var(--measure); }
.board-notes > .photo-hero img { aspect-ratio: 2 / 1; border: 1px solid var(--rule); }

.board-cards-label { margin: 0 0 0.75rem; font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.board-grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.board-grid li {
  display: flex;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
  box-shadow: 3px 3px 0 var(--rule-soft);
}
.board-grid li a {
  position: relative;
  display: block;
  width: 100%;
  min-height: 7rem;
  padding: 2.6rem 1.1rem 1.1rem;
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  border-radius: inherit;
}
.board-grid li a::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--ochre);
  border-radius: 0.2rem;
}
.board-grid li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.board-grid li a:hover::before { background: var(--amber); }

/* ---------- Article: numbered stages ---------- */

.entry { max-width: 52rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0; }
.entry-head { padding-left: 3.4rem; }
.entry-title h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.02; }
.entry-filed { margin: 0.75rem 0 0; font-size: 0.95rem; }
.entry-steps { margin-top: 2rem; }
.entry-steps > p:first-child { font-size: 1.15rem; }
.entry-steps > .photo-inline { margin-top: 1.6rem; margin-bottom: 0.4rem; max-width: var(--measure); }

/* ---------- About: logbook ---------- */

.logbook { max-width: 52rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0; }
.logbook-head { padding: 0 0 1.5rem 3.4rem; }
.logbook-title h1 { margin: 0; font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1; }
.logbook-steps > p:first-child { font-size: 1.15rem; }

/* ---------- Contact: intake slip ---------- */

.intake { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0; }
.intake-title h1 { margin: 0 0 1.5rem; font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1; }
.intake-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.intake-notes { display: grid; gap: 1.75rem; align-content: start; max-width: var(--measure); }
.intake-check { padding: 1.25rem 1.35rem; border: 1px solid var(--rule); border-radius: 0.4rem; }
.intake-check-label { margin: 0 0 0.75rem; font-family: var(--head); font-size: 1.3rem; font-weight: 700; }
.intake-check-list { margin: 0; padding: 0; list-style: none; }
.intake-check-list li { position: relative; padding-left: 1.9rem; }
.intake-check-list li + li { margin-top: 0.5rem; }
.intake-check-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.2em;
  width: 0.55rem;
  height: 0.95rem;
  border-right: 3px solid var(--ochre);
  border-bottom: 3px solid var(--ochre);
  transform: rotate(45deg);
}

.intake-slip {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--ochre);
  border-radius: 0.4rem;
  box-shadow: 4px 4px 0 var(--rule-soft);
}
.slip-field { display: grid; gap: 0.3rem; }
.slip-label { font-family: var(--head); font-size: 1.1rem; font-weight: 600; }
.slip-field input, .slip-field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-bottom: 2px solid var(--rule);
  border-radius: 0.25rem 0.25rem 0 0;
  background: var(--stone);
  color: inherit;
  font: inherit;
}
.slip-field textarea { resize: vertical; }
.slip-field input:focus-visible, .slip-field textarea:focus-visible { border-bottom-color: var(--ochre); }
.slip-submit {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.55rem 1.4rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--ochre);
  color: var(--on-ochre);
  font-family: var(--head);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.slip-submit:hover { background: var(--ochre-deep); }

/* ---------- Thank you ---------- */

.done { max-width: 44rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--gutter) 0; }
.done-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--ochre);
  border-radius: 0.4rem;
}
.done-check {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.25rem;
  border-radius: 0.45rem;
  background: var(--ochre);
  position: relative;
}
.done-check::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.55rem;
  width: 0.85rem;
  height: 1.55rem;
  border-right: 0.35rem solid var(--on-ochre);
  border-bottom: 0.35rem solid var(--on-ochre);
  transform: rotate(45deg);
}
.done-title h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4.8vw, 3rem); font-weight: 800; line-height: 1.02; }

/* ---------- Wider screens ---------- */

@media (min-width: 48rem) {
  .board-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .board-cards { position: sticky; top: 5.5rem; }
  .board-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intake-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
}

@media (min-width: 64rem) {
  .site-menu { display: none; }
  .site-nav { display: block; }
  .site-nav > ul { display: flex; align-items: center; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a,
  .site-nav-group > summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.75rem;
    font-family: var(--head);
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
  }
  .site-nav > ul > li > a { color: var(--fg-heading); }
  .site-nav > ul > li > a:hover { color: var(--ochre-deep); text-decoration: underline; text-decoration-color: var(--ochre); }
  .site-nav-group > summary { list-style: none; cursor: pointer; color: var(--fg-heading); }
  .site-nav-group > summary::-webkit-details-marker { display: none; }
  .site-nav-group > summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-top: -0.2rem;
    border-right: 2px solid var(--ochre);
    border-bottom: 2px solid var(--ochre);
    transform: rotate(45deg);
  }
  .site-nav-group[open] > summary::after { margin-top: 0.2rem; transform: rotate(225deg); }
  .site-nav-group[open] > summary { color: var(--ochre-deep); }
  .site-nav-group > ul {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: -1rem;
    z-index: 50;
    width: 19rem;
    margin: 0;
    padding: 0.6rem 1rem 0.8rem;
    list-style: none;
    background: var(--sheet);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--ochre);
    border-radius: 0 0 0.4rem 0.4rem;
    box-shadow: 4px 4px 0 var(--rule-soft);
  }
  .site-nav-group > ul > li + li { border-top: 1px solid var(--rule-soft); }
  .site-nav-group > ul a { display: block; padding: 0.5rem 0; line-height: 1.3; text-decoration: none; }
  .site-nav-group > ul > li:first-child a { font-family: var(--head); font-size: 1.1rem; font-weight: 700; }
  .site-nav-group > ul a:hover { text-decoration: underline; }

  .dash-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .dash-steps > * { grid-column: 1; }
  .dash-steps > .photo-hero {
    grid-column: 2;
    grid-row: 1 / span 12;
    position: sticky;
    top: 6rem;
    margin: 0;
  }
  .dash-steps > .photo-hero img { aspect-ratio: 4 / 5; transform: rotate(1.2deg); box-shadow: 6px 6px 0 var(--rule-soft); }
}

@media (min-width: 64rem) and (max-width: 74rem) {
  .site-nav > ul { gap: 0.85rem; }
  .site-nav > ul > li > a, .site-nav-group > summary { font-size: 1rem; }
  .ledger-name { max-width: 7.5rem; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
