@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: 'Red Hat Text'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #eef3ee;
  --fg-light-base-body: #14231a;
  --fg-light-base-heading: #14231a;
  --fg-light-base-muted: #47584d;
  --fg-light-base-link: #1b7a3e;
  --fg-light-base-inverse: #14231a;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #14231a;
  --fg-light-card-heading: #14231a;
  --fg-light-card-muted: #47584d;
  --fg-light-card-link: #1b7a3e;
  --fg-light-card-inverse: #14231a;
  --bg-light-elevated: #dfe8e0;
  --fg-light-elevated-body: #14231a;
  --fg-light-elevated-heading: #14231a;
  --fg-light-elevated-muted: #47584d;
  --fg-light-elevated-link: #12592c;
  --fg-light-elevated-inverse: #14231a;
  --brand-light-accent: #1b7a3e;
  --brand-light-accent-hover: #12592c;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #1b7a3e;
  --border-light-default: #6b7d71;
  --border-light-subtle: #c3d1c6;
}
.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); }

/* Diabetic Foot Care Notes: treatment-plan reference sheet */

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

html { -webkit-text-size-adjust: 100%; }

body.sheet {
  margin: 0;
  font-family: 'Red Hat Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* faint screening-form grid behind every page */
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--border-light-subtle) 55%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--border-light-subtle) 55%, transparent) 1px, transparent 1px);
  background-size: 2rem 2rem;
  background-position: -1px -1px;
}

h1, h2, h3, h4 {
  font-family: 'Mohave', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0;
}

.page a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.page a:hover { text-decoration-thickness: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* shared checkbox glyph: empty square */
.home-body > h2::before,
.standards-body > h2::before,
.hub-index li::before,
.next-reading li::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 2px;
  background: var(--bg-light-card);
}

/* ---------- Header (static): boxed form title block on the grid ---------- */

.site-header {
  position: static;
  padding: 1rem 1rem 0;
}

/* title block of a screening form: framed card aligned to the page grid, nav as a checklist row beneath */
.header-sheet {
  max-width: 74rem;
  margin: 0 auto;
  border: 1px solid var(--border-light-default);
  border-top: 5px solid var(--brand-light-accent);
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo { display: block; width: 20rem; max-width: 100%; height: auto; }

.desk-nav {
  border-top: 1px dashed var(--border-light-default);
  padding: 0 1.25rem;
}

.desk-nav .site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
}

.desk-nav .site-nav > ul > li { position: relative; margin: 0; max-width: none; }

/* each nav item is a checklist entry: empty box that fills on hover */
.desk-nav .site-nav > ul > li > a,
.desk-nav .site-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.35rem 0;
  font-family: 'Red Hat Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--fg-heading);
  cursor: pointer;
}

.desk-nav .site-nav > ul > li > a::before,
.desk-nav .site-nav-group > summary::before {
  content: "";
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 2px;
  background: var(--bg-light-card);
}

.desk-nav .site-nav > ul > li > a:hover,
.desk-nav .site-nav-group > summary:hover { color: var(--fg-link); text-decoration: underline; text-underline-offset: 0.25em; }

.desk-nav .site-nav > ul > li > a:hover::before,
.desk-nav .site-nav > ul > li > a[aria-current="page"]::before,
.desk-nav .site-nav-group[open] > summary::before { background: var(--brand-light-accent); box-shadow: inset 0 0 0 2px var(--bg-light-card); }

.desk-nav .site-nav-group > summary { list-style: none; }

.desk-nav .site-nav-group > summary::-webkit-details-marker { display: none; }

.desk-nav .site-nav-group > ul {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  z-index: 30;
  min-width: 19rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-top: 3px solid var(--brand-light-accent);
}

.desk-nav .site-nav-group > ul > li + li { border-top: 1px solid var(--border-light-subtle); }

.desk-nav .site-nav-group > ul a {
  display: block;
  padding: 0.65rem 1rem;
  line-height: 1.35;
  text-decoration: none;
}

.desk-nav .site-nav-group > ul a:hover { background: var(--bg-light-base); text-decoration: underline; }

/* collapsed toggle: narrow screens only */
.menu-toggle { display: flex; align-items: center; flex: none; }

.site-menu { position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-light-default);
  border-radius: 2px;
  font-family: 'Red Hat Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.site-menu .menu-icon {
  position: relative;
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 2px;
}

.site-menu .menu-icon::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  top: 50%;
  border-top: 2px solid var(--brand-light-accent);
  transform: translateY(-50%);
}

.site-menu[open] .menu-icon { background: var(--brand-light-accent); }

.site-menu[open] .menu-icon::after { border-top-color: var(--brand-light-on-accent); }

.site-menu > ul {
  position: absolute;
  right: -1.25rem;
  top: calc(100% + 0.9rem);
  z-index: 30;
  width: min(20rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-top: 3px solid var(--brand-light-accent);
}

.site-menu ul a { display: block; padding: 0.6rem 1rem; text-decoration: none; line-height: 1.35; }

.site-menu > ul > li + li { border-top: 1px solid var(--border-light-subtle); }

.site-menu > ul > li > a { font-weight: 700; }

.site-menu ul ul { list-style: none; margin: 0; padding: 0 0 0.4rem 1rem; }

.site-menu ul ul a { padding: 0.35rem 1rem; font-size: 0.9375rem; }

@media (min-width: 62rem) {
  .menu-toggle { display: none; }
}

@media (max-width: 61.99rem) {
  .desk-nav { display: none; }
  .brand .site-logo { width: 15rem; }
}

@media (max-width: 30rem) {
  .header-title { padding: 0.7rem 0.8rem; gap: 0.6rem; }
  .site-menu > ul { right: -0.8rem; top: calc(100% + 0.7rem); width: min(20rem, calc(100vw - 1.5rem)); }
}

/* ---------- Page frame ---------- */

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  font-size: 0.875rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--border-light-default);
}

main p, main li { max-width: 68ch; }

main h2 { font-size: 1.85rem; margin: 2.25rem 0 0.75rem; }

main h3 { font-size: 1.4rem; margin: 1.5rem 0 0.5rem; }

main ul, main ol { padding-left: 1.3rem; }

main li + li { margin-top: 0.45rem; }

main li::marker { color: var(--brand-light-accent); font-weight: 700; }

.photo-hero, .photo-inline { margin: 0 0 1.75rem; }

.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  border: 1px solid var(--border-light-default);
}

/* ---------- Home: modular grid of screening tiles ---------- */

.screen {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-light-default);
  border-left: 1px solid var(--border-light-default);
}

.display-lines, .home-body { display: contents; }

/* every tile closes its own right and bottom rule so the sheet reads as one ruled grid */
.screen > .cover-title,
.screen .display-line,
.home-body > * {
  margin: 0;
  max-width: none;
  border-right: 1px solid var(--border-light-default);
  border-bottom: 1px solid var(--border-light-default);
  background: var(--bg-light-card);
}

.cover-title {
  grid-column: 1 / 5;
  grid-row: 1;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: flex-end;
}

.cover-title h1 {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.98;
  font-weight: 600;
  max-width: 16ch;
}

.screen .display-line {
  grid-row: 2;
  grid-column: span 2;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* checked box: these are the points the sheet starts from */
.screen .display-line::before,
.screen .display-line::after {
  content: "";
  position: absolute;
}

.screen .display-line::before {
  left: 1.25rem;
  top: 1.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 2px;
  background: var(--brand-light-accent);
}

.screen .display-line::after {
  left: 1.62rem;
  top: 1.58rem;
  width: 0.36rem;
  height: 0.66rem;
  border-right: 2px solid var(--brand-light-on-accent);
  border-bottom: 2px solid var(--brand-light-on-accent);
  transform: rotate(45deg);
}

.home-body > .photo-hero {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
  padding: 0.75rem;
}

.home-body > .photo-hero img { height: 100%; object-fit: cover; }

.home-body > :is(p, ul, ol, h3) {
  grid-column: span 3;
  padding: 1.25rem 1.5rem;
}

.home-body > h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.8rem 1.5rem 0.7rem;
  font-size: 1.6rem;
  background: var(--bg-light-elevated);
}

/* a section with a single block takes the full row */
.home-body > h2 + :is(p, ul, ol):is(:last-child, :has(+ h2)) { grid-column: 1 / -1; }

.home-body > .photo-hero + p {
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
}

@media (max-width: 47.99rem) {
  .screen { grid-template-columns: minmax(0, 1fr); }
  .screen > .cover-title,
  .screen .display-line,
  .home-body > *,
  .home-body > :is(p, ul, ol, h3),
  .home-body > .photo-hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .home-body > .photo-hero img { height: auto; }
}

/* ---------- Topic hub: dense reference grid ---------- */

.hub-title {
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 3px double var(--border-light-default);
}

.hub-title h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 20ch; }

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: 2.5rem;
  align-items: start;
}

.hub-body > p:first-of-type { font-size: 1.15rem; }

.hub-body > h2 {
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-light-default);
}

/* the body's ordered article list as tabular rows */
.hub-body > ol {
  list-style: none;
  counter-reset: row;
  padding: 0;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border-light-default);
  background: var(--bg-light-card);
}

.hub-body > ol > li {
  counter-increment: row;
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0.7rem 1rem 0.7rem 4rem;
  line-height: 1.5;
}

.hub-body > ol > li + li { border-top: 1px solid var(--border-light-subtle); }

.hub-body > ol > li::before {
  content: counter(row);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
  display: flex;
  justify-content: center;
  padding-top: 0.6rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg-link);
  border-right: 1px solid var(--border-light-subtle);
  background: var(--bg-light-elevated);
}

.hub-index {
  border: 1px solid var(--border-light-default);
  margin-top: 0.25rem;
}

.index-caption {
  margin: 0;
  padding: 0.7rem 1rem 0.6rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-light-accent);
  background: var(--bg-light-elevated);
}

.hub-index > ul { list-style: none; margin: 0; padding: 0; }

.hub-index li,
.next-reading li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: none;
  margin: 0;
  padding: 0.75rem 1rem;
  line-height: 1.4;
}

.hub-index li::before,
.next-reading li::before { margin-top: 0.15rem; }

.hub-index li + li,
.next-reading li + li { margin-top: 0; border-top: 1px solid var(--border-light-subtle); }

.hub-index li a,
.next-reading li a { text-decoration: none; font-weight: 600; }

.hub-index li a:hover,
.next-reading li a:hover { text-decoration: underline; }

@media (max-width: 55.99rem) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* ---------- Article: stepped protocol ---------- */

.protocol { max-width: 50rem; margin: 0 auto; }

.protocol-title { margin-bottom: 2rem; }

.protocol-title h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); max-width: 20ch; }

.protocol-steps {
  counter-reset: step;
  position: relative;
  padding-left: 4rem;
}

/* the protocol rail joining every step */
.protocol-steps::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--border-light-default);
}

.protocol-steps > p { line-height: 1.7; }

.protocol-steps > h2 {
  counter-increment: step;
  position: relative;
  margin-top: 2.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--brand-light-accent);
  font-size: 1.85rem;
}

.protocol-steps > h2::before {
  content: counter(step);
  position: absolute;
  left: -4rem;
  top: 0.55rem;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--fg-link);
  background: var(--bg-light-card);
  border: 2px solid var(--brand-light-accent);
  border-radius: 2px;
}

/* thin check rule: a short tick where the step rule meets the rail */
.protocol-steps > h2::after {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: -1px;
  width: 1.6rem;
  border-top: 1px solid var(--brand-light-accent);
}

.protocol-steps > .photo-inline { margin: 1.5rem 0; }

@media (max-width: 40rem) {
  .protocol-steps { padding-left: 3.25rem; }
  .protocol-steps::before { left: 1rem; }
  .protocol-steps > h2::before { left: -3.25rem; width: 2.1rem; height: 2.1rem; font-size: 1.2rem; }
  .protocol-steps > h2::after { left: -1.15rem; width: 1.15rem; }
}

/* ---------- About: purpose statement beside editorial checklist ---------- */

.standards-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 3rem;
  row-gap: 0;
  grid-auto-flow: dense;
}

.standards-body { display: contents; }

.standards-title { grid-column: 1 / -1; padding-bottom: 1.25rem; margin-bottom: 2rem; border-bottom: 3px double var(--border-light-default); }

.standards-title h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 18ch; }

/* the opening paragraph is the purpose statement and spans the whole checklist */
.standards-body > p:first-child,
.standards-body > .photo-hero + p {
  grid-column: 1;
  grid-row: 2 / span 40;
  align-self: start;
  margin: 0;
  padding: 1.5rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.3;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-top: 4px solid var(--brand-light-accent);
}

.standards-body > * { grid-column: 2; }

.standards-body > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light-default);
  font-size: 1.6rem;
}

.standards-body > h2:first-of-type { padding-top: 0; border-top: 0; }

.standards-body > p { margin: 0 0 1rem; }

.standards-body > p + h2 { margin-top: 1.25rem; }

@media (max-width: 55.99rem) {
  .standards-split { display: block; }
  .standards-body > p:first-child,
  .standards-body > .photo-hero + p { margin-bottom: 2rem; }
}

/* ---------- Contact: one-column intake sheet ---------- */

.intake { max-width: 40rem; margin: 0 auto; }

.intake-title h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }

.intake-note > :first-child { margin-top: 0; }

.intake-form {
  margin-top: 2rem;
  border: 1px solid var(--border-light-default);
  border-top: 4px solid var(--brand-light-accent);
}

.intake-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--border-light-default);
}

.intake-row label {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  border-right: 1px solid var(--border-light-subtle);
  background: var(--bg-light-elevated);
}

.intake-row input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.6rem 1rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.intake-row input:focus-visible {
  outline: 2px solid var(--brand-light-accent);
  outline-offset: -3px;
}

.intake-actions { padding: 1.25rem 1rem; }

.intake-submit {
  min-height: 44px;
  padding: 0.6rem 1.75rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.intake-submit:hover { background: var(--brand-light-accent-hover); }

.intake-submit:focus-visible { outline: 2px solid var(--brand-light-accent); outline-offset: 3px; }

@media (max-width: 30rem) {
  .intake-row { grid-template-columns: minmax(0, 1fr); }
  .intake-row label { border-right: 0; border-bottom: 1px solid var(--border-light-subtle); padding: 0.45rem 1rem; }
}

/* ---------- Thank you: confirmation beside next reading ---------- */

.receipt-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: start;
}

.receipt-title h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }

.next-reading { border: 1px solid var(--border-light-default); }

.next-caption {
  margin: 0;
  padding: 0.7rem 1rem 0.6rem;
  font-family: 'Mohave', 'Arial Narrow', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-light-accent);
  background: var(--bg-light-elevated);
}

.next-reading > ul { list-style: none; margin: 0; padding: 0; }

@media (max-width: 47.99rem) {
  .receipt-split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

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

.site-footer { border-top: 3px double var(--border-light-default); }

.footer-grid {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.75rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 0.5rem 2rem;
  align-items: baseline;
}

.footer-name { margin: 0; font-family: 'Mohave', 'Arial Narrow', sans-serif; font-size: 1.35rem; font-weight: 600; }

.footer-line { margin: 0; font-size: 0.9375rem; max-width: 52ch; }

@media (max-width: 47.99rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

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