@font-face { font-family: 'Besley'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/besley-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/besley-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/besley-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/besley-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/besley-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/besley-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/besley-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/besley-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/besley-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/besley-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/besley-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Besley'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/besley-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Asap Sharp'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/asap-sharp-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f6f9fb;
  --fg-light-base-body: #132230;
  --fg-light-base-heading: #132230;
  --fg-light-base-muted: #4a5a68;
  --fg-light-base-link: #1b5c9a;
  --fg-light-base-inverse: #132230;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #132230;
  --fg-light-card-heading: #132230;
  --fg-light-card-muted: #4a5a68;
  --fg-light-card-link: #1b5c9a;
  --fg-light-card-inverse: #132230;
  --bg-light-elevated: #e6eef4;
  --fg-light-elevated-body: #132230;
  --fg-light-elevated-heading: #132230;
  --fg-light-elevated-muted: #4a5a68;
  --fg-light-elevated-link: #1b5c9a;
  --fg-light-elevated-inverse: #132230;
  --brand-light-accent: #1b5c9a;
  --brand-light-accent-hover: #14467a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #1b5c9a;
  --border-light-default: #6f7f8d;
  --border-light-subtle: #d0dce5;
}
.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); }

/* Healing Tissue Notes: laboratory-notebook pages */

:root {
  --font-head: 'Besley', Georgia, 'Times New Roman', serif;
  --font-body: 'Asap Sharp', 'Segoe UI', Arial, sans-serif;
  --blue: var(--brand-light-accent);
  --blue-deep: var(--brand-light-accent-hover);
  --ink: var(--fg-light-base-body);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --hair: 1px solid var(--line);
  --hair-soft: 1px solid var(--line-soft);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 38rem;
  --wide: 72rem;
  --grid: 1.5rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

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

.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;
}

/* ---------- Header: static masthead with an index row ---------- */

.site-header {
  position: relative;
  border-bottom: var(--hair);
}

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

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand .site-logo, .brand svg { display: block; width: auto; height: 2.4rem; max-width: 70vw; }

.index-row { display: none; }

.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}
.site-nav > ul > li { position: relative; }
.site-nav > ul > li + li { border-left: var(--hair-soft); }
.site-nav a,
.site-nav-group > summary {
  display: block;
  padding: 0.7rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav > ul > li > a { border-bottom: 2px solid transparent; }
.site-nav > ul > li > a:hover { border-bottom-color: var(--blue); }
.site-nav a[aria-current] { border-bottom-color: var(--ink); }

.site-nav-group > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
}
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}
.site-nav-group[open] > summary::after { transform: translateY(0.05rem) rotate(-135deg); }
.site-nav-group > ul {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bg-light-card);
  border: var(--hair);
  border-top: 2px solid var(--blue);
}
.site-nav-group > ul a { padding: 0.5rem 1rem; }
.site-nav-group > ul a:hover { background: var(--bg-light-elevated); }

/* Small screens: the menu opens as a ruled sheet under the masthead */
.site-menu { flex: none; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border: var(--hair);
  border-radius: 999px;
}
.menu-label { white-space: nowrap; }
.menu-icon {
  position: relative;
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.menu-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.36rem;
  height: 0.36rem;
  margin: -0.18rem 0 0 -0.18rem;
  border-radius: 50%;
  background: var(--blue);
}
.site-menu[open] .menu-icon::after { width: 0.6rem; margin-left: -0.3rem; border-radius: 1px; height: 1.5px; margin-top: -0.75px; }
.site-menu > ul {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none;
  background: var(--bg-light-card);
  border-bottom: var(--hair);
}
.site-menu li { border-top: var(--hair-soft); }
.site-menu li:first-child { border-top: 0; }
.site-menu a { display: block; padding: 0.7rem 0; text-decoration: none; }
.site-menu ul ul { list-style: none; margin: 0; padding: 0 0 0.4rem 1rem; }
.site-menu ul ul li { border-top: 0; }
.site-menu ul ul a { padding: 0.35rem 0; font-size: 0.97rem; }

@media (min-width: 64rem) {
  .site-menu { display: none; }
  .index-row {
    display: block;
    border-top: var(--hair-soft);
  }
  .index-row .site-nav {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
}

/* ---------- Notebook sheet ---------- */

.notebook {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.75rem var(--gutter) 5rem;
}

.breadcrumbs { margin-bottom: 2rem; font-size: 0.92rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.6rem; color: var(--line); }

.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.12;
  max-width: 24ch;
}

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

.prose > * { max-width: var(--measure); }
.prose p { margin: 0 0 1.1rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin: 2.75rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose ul > li::marker { color: var(--blue); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--blue);
  font-family: var(--font-head);
  font-size: 1.2rem;
}
.prose blockquote p { margin: 0; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.5rem; }
.prose table { border-collapse: collapse; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 0.55rem 0.8rem; border-bottom: var(--hair-soft); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; border-bottom: var(--hair); }

.photo-hero, .photo-inline { margin: 0 0 2.25rem; max-width: var(--measure); }
.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: var(--hair-soft);
}
.photo-inline { margin: 2.25rem 0; }

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

/* ---------- Stepped walkthrough: numbered stages on a fibre rail ---------- */

.steps { counter-reset: stage; position: relative; }
.steps > h2 {
  counter-increment: stage;
  position: relative;
  padding-top: 0.15rem;
}
.steps > h2::before {
  content: counter(stage);
  position: absolute;
  left: -3.4rem;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 2.15rem;
  text-align: center;
  color: var(--blue);
  background: var(--bg-light-base);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 48rem) {
  .steps { padding-left: 3.4rem; }
  .steps::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 0.5rem;
    bottom: 0;
    width: 0;
    border-left: 1px dashed var(--line);
  }
}
@media (max-width: 47.99rem) {
  .steps > h2 { padding-left: 3rem; }
  .steps > h2::before { left: 0; }
}

/* ---------- Home: cover with a specimen plate, then the walkthrough ---------- */

.cover {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: var(--hair-soft);
}
.cover-title h1 {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem);
  line-height: 1.08;
  max-width: 16ch;
}
.cover-lines { margin-top: 1.75rem; max-width: 33rem; }
.cover-lines .display-line {
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.25rem;
  border-left: 2px solid var(--line-soft);
  font-size: 1.08rem;
}
.cover-lines .display-line:first-child { border-left-color: var(--blue); }

.specimen {
  margin: 0;
  justify-self: center;
  width: min(100%, 22rem);
  padding: 1rem;
  border-radius: 50%;
  border: var(--hair-soft);
}
.specimen-art { display: block; width: 100%; height: auto; }
.specimen-art .lens { fill: none; stroke: var(--line); stroke-width: 1; }
.specimen-art .lens-inner { fill: none; stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 3 5; }

.specimen-art .fibre, .thanks-art .fibre { fill: none; stroke: var(--line); stroke-width: 1.3; stroke-linecap: round; }
.specimen-art .fibre-accent, .thanks-art .fibre-accent { stroke: var(--blue); stroke-width: 1.8; }
.specimen-art .cell, .thanks-art .cell { fill: var(--bg-light-card); stroke: var(--ink); stroke-width: 1.3; }
.specimen-art .nucleus, .thanks-art .nucleus { fill: var(--blue); }
.specimen-art .platelet { fill: none; stroke: var(--blue); stroke-width: 1.2; }

.walkthrough { max-width: calc(var(--measure) + 3.4rem); }

@media (min-width: 56rem) {
  .cover { grid-template-columns: minmax(0, 7fr) minmax(16rem, 5fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
}

/* ---------- Topic hub: grid of explainer slides ---------- */

.hub-head, .article-head, .about-head, .contact-head, .thanks-head { margin-bottom: 2.25rem; }
.hub-intro { max-width: var(--measure); }

.slide-tray {
  margin-top: 3.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: 0.75rem;
}
.tray-heading { margin: 0 0 1.25rem; font-size: 1.35rem; }
.slide-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
.slide-grid li {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 8.5rem;
  padding: 2.5rem 1.15rem 1.15rem;
  background: var(--bg-light-card);
  border: var(--hair-soft);
  border-radius: 0.5rem;
}
.slide-grid li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0 28%, transparent 30%);
}
.slide-grid li::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 2.6rem;
  right: 1.15rem;
  border-top: 1px dashed var(--line-soft);
}
.slide-grid a {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.3;
  text-decoration: none;
}
.slide-grid a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.slide-grid li > a::after { content: ""; position: absolute; inset: 0; }
.slide-grid li:hover { border-color: var(--blue); }

/* ---------- Article: stepped read ---------- */

.article-head .page-title h1 { max-width: 26ch; }
.article-read { max-width: calc(var(--measure) + 3.4rem); }
@media (min-width: 48rem) {
  .article-head { padding-left: 3.4rem; }
}

/* ---------- About: purpose beside the method panel ---------- */

.about-split { display: grid; gap: 2.5rem; }
.purpose p:first-of-type { font-size: 1.15rem; }
.method {
  align-self: start;
  padding: 1.5rem 1.6rem;
  border-radius: 0.75rem;
  border-top: 3px solid var(--blue);
}
.method-heading { margin: 0 0 1rem; font-size: 1.25rem; }
.method-list { margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-list li {
  counter-increment: method;
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  border-top: var(--hair-soft);
}
.method-list li:first-child { border-top: 0; }
.method-list li::before {
  content: counter(method);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35rem;
  text-align: center;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
}

@media (min-width: 56rem) {
  .about-split { grid-template-columns: minmax(0, 7fr) minmax(16rem, 4fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .method { position: static; }
}

/* ---------- Contact: checklist and note beside the form ---------- */

.contact-columns { display: grid; gap: 2.5rem; }
.contact-side { display: grid; gap: 2rem; align-content: start; }
.prep {
  padding: 1.4rem 1.5rem;
  border-radius: 0.75rem;
}
.prep-heading { margin: 0 0 0.8rem; font-size: 1.2rem; }
.prep-list { margin: 0; padding: 0; list-style: none; }
.prep-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
}
.prep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid var(--blue);
  border-radius: 0.2rem;
  background: var(--bg-light-card);
}

.contact-form {
  display: grid;
  gap: 1.3rem;
  align-self: start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: var(--hair-soft);
  border-radius: 0.75rem;
}
.field { display: grid; gap: 0.4rem; }
.field-label { font-weight: 500; font-size: 0.97rem; }
.field-input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg-light-base);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.field-area { min-height: 10rem; resize: vertical; }
.form-button {
  justify-self: start;
  min-height: 2.85rem;
  padding: 0.65rem 1.5rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.form-button:hover { background: var(--blue-deep); }

@media (min-width: 56rem) {
  .contact-columns { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
}

/* ---------- Thank you: single column ---------- */

.thanks { max-width: var(--measure); }
.thanks-art { display: block; width: 10rem; height: auto; margin-bottom: 1.5rem; }
.grid-links {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  border: var(--hair-soft);
  border-radius: 0.75rem;
}
.grid-links-heading { margin: 0 0 0.75rem; font-size: 1.2rem; }
.grid-link-list { margin: 0; padding: 0; list-style: none; }
.grid-link-list li { padding: 0.5rem 0; border-top: var(--hair-soft); }
.grid-link-list li:first-child { border-top: 0; }

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

.site-footer { border-top: var(--hair); }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2rem;
}
.footer-name { margin: 0 0 0.35rem; font-family: var(--font-head); font-size: 1.2rem; }
.footer-line { margin: 0; max-width: 34rem; }
.footer-strap { margin: 1.25rem 0 0; padding-top: 1rem; border-top: var(--hair-soft); font-size: 0.92rem; }

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

/* Home stages: a small line drawing under each stage number */
@media (min-width: 48rem) {
  .home .steps > h2::after {
    content: "";
    position: absolute;
    left: -3.15rem;
    top: 2.9rem;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--blue);
    -webkit-mask: var(--stage-art) center / contain no-repeat;
    mask: var(--stage-art) center / contain no-repeat;
  }
  .home .steps > h2:nth-of-type(4n+1) { --stage-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='13' r='8'/%3E%3Cpath d='M19 19l8 8'/%3E%3Cellipse cx='13' cy='13' rx='4' ry='3'/%3E%3C/svg%3E"); }
  .home .steps > h2:nth-of-type(4n+2) { --stage-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 26l4-4'/%3E%3Cpath d='M9 23l13-13 4 4-13 13z'/%3E%3Cpath d='M20 8l4 4M24 4l4 4M26 6l-4 4'/%3E%3C/svg%3E"); }
  .home .steps > h2:nth-of-type(4n+3) { --stage-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11c6-4 10-4 13 0s7 4 13 0'/%3E%3Cpath d='M3 17c6-4 10-4 13 0s7 4 13 0'/%3E%3Cpath d='M3 23c6-4 10-4 13 0s7 4 13 0'/%3E%3C/svg%3E"); }
  .home .steps > h2:nth-of-type(4n+0) { --stage-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='5' width='16' height='23' rx='2'/%3E%3Cpath d='M12 5v-1h8v1M12 13l2 2 4-4M12 21h8'/%3E%3C/svg%3E"); }
}
