@font-face { font-family: 'Texturina'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/texturina-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Texturina'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/texturina-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/maven-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/maven-pro-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/maven-pro-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f6f7f3;
  --fg-light-base-body: #1c1f1a;
  --fg-light-base-heading: #1c1f1a;
  --fg-light-base-muted: #4c5348;
  --fg-light-base-link: #4f6911;
  --fg-light-base-inverse: #2a2f27;
  --bg-light-card: #fdfdfb;
  --fg-light-card-body: #1c1f1a;
  --fg-light-card-heading: #1c1f1a;
  --fg-light-card-muted: #4c5348;
  --fg-light-card-link: #4f6911;
  --fg-light-card-inverse: #2a2f27;
  --bg-light-elevated: #e9ebe6;
  --fg-light-elevated-body: #1c1f1a;
  --fg-light-elevated-heading: #1c1f1a;
  --fg-light-elevated-muted: #4c5348;
  --fg-light-elevated-link: #4f6911;
  --fg-light-elevated-inverse: #2a2f27;
  --brand-light-accent: #4f6911;
  --brand-light-accent-hover: #374e09;
  --brand-light-on-accent: #fdfdfb;
  --focus-light-ring: #4f6911;
  --border-light-default: #5d6559;
  --border-light-subtle: #c9cdc3;
}
.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: 'Texturina', Georgia, serif;
  --text: 'Maven Pro', 'Trebuchet MS', sans-serif;
  --ink: var(--fg-light-base-heading);
  --olive: var(--brand-light-accent);
  --lime: #b6e633;
  --lime-soft: #e6f5bd;
  --paper: var(--bg-light-card);
  --bench: var(--bg-light-elevated);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --grid-line: #e1e5da;
  --grid-paper:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 1.5rem 1.5rem,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 1.5rem 1.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 76rem;
  --measure: 40rem;
}

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

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

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

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

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

/* ---------- Header: sticky bench bar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rule-soft);
  box-shadow: inset 0 -3px 0 var(--lime);
}

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

.bench-bar__brand {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
}

.bench-bar__brand .site-logo {
  display: block;
  width: clamp(180px, 56vw, 236px);
  height: auto;
}

.bench-bar__links { display: none; }

/* Desktop mega-panel nav */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav > ul > li { position: static; }

.site-nav > ul > li > a,
.site-nav-group > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  font-family: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 0.4rem;
}

.site-nav > ul > li > a.text-role-link { color: var(--ink); }
.site-nav > ul > li > a.text-role-link:hover { color: var(--olive); background: var(--lime-soft); }

.site-nav-group > summary {
  list-style: none;
  cursor: pointer;
  gap: 0.5rem;
}

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

.site-nav-group > summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--olive);
  border-radius: 50%;
}

.site-nav-group > summary:hover { background: var(--lime-soft); }

.site-nav-group[open] > summary { background: var(--ink); color: var(--paper); }
.site-nav-group[open] > summary::after { background: var(--lime); border-color: var(--lime); }

.site-nav-group > ul {
  position: absolute;
  top: calc(100% - 0.25rem);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) repeat(2, minmax(0, 1.4fr));
  gap: 0 1.5rem;
  padding: 1.5rem 1.75rem 1.75rem;
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--lime);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 22px 36px -28px var(--ink);
}

.site-nav-group > ul > li:first-child {
  grid-row: span 3;
  padding-right: 1.5rem;
  border-right: 1px solid var(--rule-soft);
}

.site-nav-group > ul > li:first-child > a {
  display: block;
  font-family: var(--head);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.site-nav-group > ul > li + li > a {
  display: block;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.35;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--olive);
  border-radius: 0.4rem;
  text-decoration: none;
}

.site-nav-group > ul > li + li > a:hover { border-left-color: var(--lime); text-decoration: underline; }

/* Phone menu */
details.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
}

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

details.site-menu .menu-icon {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.2rem;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat,
    var(--lime);
}

details.site-menu[open] > summary { background: var(--ink); color: var(--paper); }

details.site-menu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem var(--gutter) 1.75rem;
  list-style: none;
  background: var(--grid-paper), var(--paper);
  border-top: 4px solid var(--lime);
  border-bottom: 1px solid var(--rule);
}

details.site-menu > ul > li { border-bottom: 1px solid var(--rule-soft); }

details.site-menu > ul > li > a {
  display: block;
  padding: 0.8rem 0;
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

details.site-menu ul ul {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0 0 0 0.9rem;
  border-left: 3px solid var(--lime);
}

details.site-menu ul ul a {
  display: block;
  padding: 0.45rem 0;
  line-height: 1.35;
}

@media (max-width: 400px) {
  details.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;
  }
}

@media (min-width: 1024px) {
  .bench-bar {
    flex-wrap: wrap;
    row-gap: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .bench-bar__links { display: block; flex: 1 0 100%; }
  .bench-bar__toggle { display: none; }
  html { scroll-padding-top: 8.5rem; }
}

@media (min-width: 1280px) {
  .bench-bar { flex-wrap: nowrap; }
  .bench-bar__links { flex: 0 0 auto; }
  html { scroll-padding-top: 5.5rem; }
}

/* ---------- Frame and breadcrumbs ---------- */

.lab-frame {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  font-size: 0.9rem;
}

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

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

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) {
  overflow-wrap: break-word;
}

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) > * {
  margin: 0 0 1.1rem;
}

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  margin: 2.4rem 0 0.85rem;
}

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) h3 {
  font-size: 1.3rem;
  margin: 1.8rem 0 0.6rem;
}

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) li { margin-bottom: 0.5rem; }

:is(.specimen__bench, .finder__body, .report__sheet, .bench-profile__method, .intake__checklist, .slip__body) li::marker { color: var(--olive); }

blockquote {
  margin: 1.8rem 0;
  padding: 0.5rem 0 0.5rem 1.2rem;
  border-left: 4px solid var(--lime);
}

figure { margin: 2rem 0; }
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: 0.9rem; margin-top: 0.5rem; }

.photo-hero {
  position: relative;
  padding: 0.6rem;
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
}

.photo-hero img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.4rem; }

/* ---------- Home: specimen grid ---------- */

.specimen { padding-top: clamp(1rem, 3vw, 2rem); }

.specimen__hero {
  display: grid;
  gap: 0.75rem;
}

.specimen__title {
  padding: clamp(1.75rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
}

.specimen__title h1 {
  max-width: 17ch;
  font-size: clamp(2.2rem, 6.2vw, 4.6rem);
  line-height: 1.04;
}

.specimen__title h1::after {
  content: "";
  display: block;
  width: min(11rem, 45%);
  height: 0.65rem;
  margin-top: 1.4rem;
  background: var(--lime);
  border-radius: 0.35rem;
}

.specimen__notes {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 0.9rem;
}

.specimen__notes .display-line { margin: 0; font-size: 1.1rem; line-height: 1.55; }

.specimen__notes .display-line + .display-line {
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
  color: var(--fg-muted);
}

.specimen__bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0.75rem;
}

.specimen__bench > .photo-hero { margin: 0 0 clamp(2rem, 5vw, 3rem); }
.specimen__bench > .photo-hero img { aspect-ratio: 21 / 9; }

.specimen__bench > p:first-of-type { font-size: 1.22rem; line-height: 1.55; }

.specimen__bench > ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--paper);
}

.specimen__bench > ul > li {
  margin: 0;
  padding: 1.25rem 1.35rem 1.35rem;
  border-bottom: 1px solid var(--rule-soft);
}

.specimen__bench > ul > li:last-child { border-bottom: 0; }

.specimen__bench > ul > li > strong:first-child {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--head);
  font-size: 1.25rem;
  padding-left: 0.85rem;
  border-left: 0.4rem solid var(--lime);
}

@media (min-width: 900px) {
  .specimen__hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .specimen__bench {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
  .specimen__bench > * { grid-column: 1 / span 8; }
  .specimen__bench > .photo-hero,
  .specimen__bench > ul { grid-column: 1 / -1; }
  .specimen__bench > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen__bench > ul > li:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
  .specimen__bench > ul > li:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* ---------- Topic hub: swatch finder ---------- */

.finder { padding-top: clamp(1rem, 3vw, 2rem); }

.finder__head {
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.75rem);
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
}

.finder__head h1 { max-width: 20ch; font-size: clamp(2.1rem, 5.6vw, 4rem); }

.finder__head h1::after {
  content: "";
  display: block;
  width: 7rem;
  height: 0.5rem;
  margin-top: 1.1rem;
  background: var(--lime);
  border-radius: 0.25rem;
}

.finder__body { max-width: 46rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.finder__body > p:first-of-type { font-size: 1.2rem; line-height: 1.55; }
.finder__body > .photo-hero { margin-top: 0; }

.finder__swatches ul {
  list-style: none;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.finder__swatches li {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  overflow: hidden;
}

.finder__swatches li::before {
  content: "";
  display: block;
  height: 6.5rem;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle, var(--ink) 0 1.6px, transparent 2.2px) 0 0 / 0.75rem 0.75rem,
    var(--lime-soft);
}

.finder__swatches li:nth-child(4n + 2)::before {
  background: repeating-linear-gradient(45deg, var(--olive) 0 2px, transparent 2px 0.6rem), var(--bench);
}

.finder__swatches li:nth-child(4n + 3)::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 0.45rem, var(--olive) 0.5rem 0.6rem, transparent 0.65rem) 0 0 / 1.6rem 1.6rem,
    var(--lime-soft);
}

.finder__swatches li:nth-child(4n + 4)::before {
  background: var(--grid-paper), repeating-linear-gradient(0deg, var(--lime) 0 3px, transparent 3px 1.5rem), var(--paper);
}

.finder__swatches a {
  display: block;
  padding: 1rem 1.1rem 1.2rem;
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.finder__swatches a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.finder__swatches li:hover { border-color: var(--olive); box-shadow: inset 0 -4px 0 var(--lime); }

/* ---------- Article: split lab report ---------- */

.report {
  display: grid;
  gap: 1.25rem;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.report__label {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 0.9rem;
  border-top: 0.5rem solid var(--lime);
}

.report__label h1 { font-size: clamp(1.95rem, 4.6vw, 3rem); line-height: 1.1; }

.report__sheet {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
}

.report__sheet > p:first-of-type {
  padding: 1rem 1.2rem;
  font-size: 1.15rem;
  line-height: 1.55;
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-left: 0.45rem solid var(--olive);
  border-radius: 0.5rem;
}

.report__sheet h2 {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  position: relative;
}

.report__sheet h2::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  left: 0;
  width: 3.5rem;
  height: 0.55rem;
  background: var(--lime);
  border-radius: 0.3rem;
}

.report__sheet > .photo-hero,
.report__sheet > figure { margin: 1.75rem 0; }

.report__sheet > ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.report__sheet > ul > li {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--bench);
  border-radius: 0.5rem;
  border-left: 4px solid var(--olive);
}

.report__sheet > ol { padding-left: 1.4rem; }

@media (min-width: 960px) {
  .report {
    grid-template-columns: minmax(15rem, 1fr) minmax(0, 2.4fr);
    align-items: start;
    gap: 2rem;
  }
  .report__label { position: sticky; top: 8.5rem; }
  .report__sheet > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- About: split bench profile ---------- */

.bench-profile {
  display: grid;
  gap: 1.25rem;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.bench-profile__head {
  padding: clamp(1.75rem, 5vw, 3rem);
  border-radius: 0.9rem;
  background: var(--grid-paper), var(--bench);
}

.bench-profile__head h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }

.bench-profile__head h1::after {
  content: "";
  display: block;
  width: 6rem;
  height: 0.5rem;
  margin-top: 1rem;
  background: var(--lime);
  border-radius: 0.25rem;
}

.bench-profile__method {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
}

.bench-profile__method > p:first-of-type {
  font-family: var(--head);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
}

.bench-profile__method h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.bench-profile__method h2::before {
  content: "";
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--olive);
  border-radius: 0.2rem;
  background: linear-gradient(var(--lime), var(--lime)) 50% 50% / 0.4rem 0.4rem no-repeat;
}

@media (min-width: 960px) {
  .bench-profile {
    grid-template-columns: minmax(16rem, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 2rem;
  }
  .bench-profile__head { position: sticky; top: 8.5rem; min-height: 18rem; }
}

/* ---------- Contact: two-column intake ---------- */

.intake {
  display: grid;
  gap: 1.25rem;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.intake__head h1 { font-size: clamp(2.3rem, 6vw, 4rem); }

.intake__head h1::after {
  content: "";
  display: block;
  width: 6rem;
  height: 0.5rem;
  margin-top: 0.9rem;
  background: var(--lime);
  border-radius: 0.25rem;
}

.intake__checklist {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 0.9rem;
}

.intake__checklist > p:first-child { font-size: 1.15rem; }

.intake__checklist h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  padding-left: 1.6rem;
  position: relative;
}

.intake__checklist h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--olive);
  border-radius: 0.2rem;
  background: var(--lime-soft);
}

.intake__form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--grid-paper), var(--paper);
  border: 1px solid var(--rule);
  border-top: 0.5rem solid var(--lime);
  border-radius: 0.9rem;
}

.intake__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.intake__field input,
.intake__field textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: 0.45rem;
  padding: 0.7rem 0.8rem;
}

.intake__field textarea { resize: vertical; min-height: 10rem; }

.intake__field input:focus-visible,
.intake__field textarea:focus-visible {
  outline: 3px solid var(--focus-light-ring);
  outline-offset: 2px;
}

.intake__submit {
  justify-self: start;
  min-height: 48px;
  padding: 0.7rem 2rem;
  font: inherit;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--olive);
  border: 0;
  border-radius: 0.5rem;
  box-shadow: inset 0 -4px 0 var(--lime);
  cursor: pointer;
}

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

@media (min-width: 900px) {
  .intake {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "head head" "list form";
    align-items: start;
    column-gap: 2rem;
  }
  .intake__head { grid-area: head; }
  .intake__checklist { grid-area: list; }
  .intake__form { grid-area: form; }
}

/* ---------- Thank you: two-column lab slip ---------- */

.slip {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.slip__stub {
  position: relative;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border-radius: 0.9rem;
  border: 2px dashed var(--rule);
  background: var(--grid-paper), var(--bench);
}

.slip__stub h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-top: 1.25rem; }

.slip__stamp {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 4px double var(--olive);
  background:
    radial-gradient(circle, var(--lime) 0 1.1rem, transparent 1.15rem),
    var(--lime-soft);
  transform: rotate(-12deg);
}

.slip__body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
}

@media (min-width: 860px) {
  .slip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; gap: 2rem; }
}

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

.site-footer {
  margin-top: clamp(2rem, 6vw, 4rem);
  border-top: 3px solid var(--lime);
}

.site-footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) var(--gutter);
  display: grid;
  gap: 0.5rem;
}

.site-footer__name { margin: 0; font-family: var(--head); font-size: 1.35rem; font-weight: 700; }
.site-footer__line { margin: 0; max-width: 40rem; }

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