@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/teachers-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/teachers-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/teachers-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/teachers-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/teachers-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/teachers-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/teachers-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/teachers-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/teachers-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/teachers-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Semi Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/encode-sans-semi-condensed-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f1ecdd;
  --fg-light-base-body: #231e16;
  --fg-light-base-heading: #231e16;
  --fg-light-base-muted: #5c5040;
  --fg-light-base-link: #944a0d;
  --fg-light-base-inverse: #3b2a14;
  --bg-light-card: #fbf8f0;
  --fg-light-card-body: #231e16;
  --fg-light-card-heading: #231e16;
  --fg-light-card-muted: #5c5040;
  --fg-light-card-link: #944a0d;
  --fg-light-card-inverse: #3b2a14;
  --bg-light-elevated: #ebe4d2;
  --fg-light-elevated-body: #231e16;
  --fg-light-elevated-heading: #231e16;
  --fg-light-elevated-muted: #5c5040;
  --fg-light-elevated-link: #944a0d;
  --fg-light-elevated-inverse: #3b2a14;
  --brand-light-accent: #944a0d;
  --brand-light-accent-hover: #733909;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #944a0d;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #837259;
  --border-light-subtle: #d9cfb7;
}
.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; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-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-ring); }

:root {
  --font-head: 'Teachers', 'Trebuchet MS', sans-serif;
  --font-body: 'Encode Sans Semi Condensed', 'Arial Narrow', Arial, sans-serif;
  --ink: #231e16;
  --orange: var(--brand-light-accent);
  --wash: color-mix(in srgb, var(--brand-light-accent) 16%, #fbf8f0);
  --paper: #fbf8f0;
  --rule: 1px solid var(--border-light-subtle);
  --rule-strong: 2px solid var(--border-light-default);
  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rail: 18rem;
}

*, *::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.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.guide { flex: 1 0 auto; display: flex; flex-direction: column; }

.leaf {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--fg-heading);
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing: -0.01em; }

/* ---------- Line drawings ---------- */

.ink { stroke: var(--ink); }
.ink-thin { stroke: var(--border-light-default); }
.orange { stroke: var(--orange); }
.ink-fill { stroke: var(--ink); }
.wash { fill: var(--wash); }
.paper { fill: var(--paper); }
.solid-orange { fill: var(--orange); }
.spore { fill: var(--orange); }

.plate-art, .cluster-draw, .side-draw, .side-notes, .towns-pin, .method-art, .check-draw, .breathe-art {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Header: sticky bar on phone, sticky rail on desktop ---------- */

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

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

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

.brand .site-logo { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.brand:hover .brand-name { color: var(--brand-light-accent-hover); }

.rail-index, .rail-sprig { display: none; }

/* phone menu: renderer-owned details.site-menu */

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--bg-light-card);
  color: var(--fg-heading);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
}

.site-menu > summary:hover { background: var(--brand-light-accent); color: var(--brand-light-on-accent); border-color: var(--brand-light-accent); }

.menu-icon {
  display: inline-block;
  width: 1.05rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-menu[open] .menu-icon { width: 0.7rem; }

.site-menu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem var(--gutter) 1.5rem;
  list-style: none;
  background: var(--bg-light-card);
  border-bottom: var(--rule-strong);
}

.site-menu ul ul { list-style: none; margin: 0 0 0.5rem; padding-left: 1rem; border-left: 3px solid var(--wash); }

.site-menu li a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: var(--rule);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
}

.site-menu ul ul a { font-family: var(--font-body); font-weight: 400; font-size: 1rem; }

.site-menu li a:hover { color: var(--brand-light-accent-hover); text-decoration: underline; }

@media (max-width: 440px) {
  .brand-name { font-size: 1.02rem; }
  .brand .site-logo { width: 2rem; height: 2rem; }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .guide { flex-direction: row; align-items: flex-start; }
  .site-header {
    flex: 0 0 var(--rail);
    width: var(--rail);
    height: 100vh;
    overflow-y: auto;
    border-bottom: 0;
    border-right: var(--rule-strong);
    padding: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
  }
  .rail-head { padding: 0 1.25rem; }
  .brand { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
  .brand .site-logo { width: 3rem; height: 3rem; }
  .brand-name { font-size: 1.3rem; }
  .rail-toggle { display: none; }
  .rail-index { display: block; margin-top: 2rem; }
  .rail-sprig { display: block; width: 8rem; height: auto; margin: auto 1.25rem 0; padding-top: 2rem; }
  .leaf { padding-left: clamp(2rem, 4vw, 4.5rem); padding-right: clamp(2rem, 4vw, 4.5rem); }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav > ul > li > a,
.site-nav-group > summary {
  display: block;
  padding: 0.55rem 1.25rem 0.55rem 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  border-left: 5px solid transparent;
}

.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: "+";
  display: inline-block;
  margin-left: 0.45rem;
  font-weight: 700;
  color: var(--brand-light-accent);
}

.site-nav-group[open] > summary::after { content: "\2212"; }

.site-nav > ul > li > a:hover,
.site-nav-group > summary:hover { color: var(--brand-light-accent-hover); border-left-color: var(--brand-light-accent); background: var(--bg-light-base); }

.site-nav a[aria-current="page"] { border-left-color: var(--brand-light-accent); }

.site-nav-group[open] > summary { border-left-color: var(--brand-light-accent); }

.site-nav-group > ul {
  margin: 0.15rem 0 0.6rem 1.5rem;
  padding: 0.2rem 0;
  border-left: 2px solid var(--border-light-subtle);
}

.site-nav-group > ul a {
  display: block;
  padding: 0.35rem 1rem 0.35rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

.site-nav-group > ul li:first-child a { font-weight: 600; }

.site-nav-group > ul a:hover { color: var(--brand-light-accent-hover); text-decoration: underline; }

/* ---------- Breadcrumbs ---------- */

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

.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--fg-muted); }
.breadcrumbs a { text-underline-offset: 0.2em; }
.breadcrumbs a:hover { color: var(--brand-light-accent-hover); }

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

.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin: 1.9em 0 0.5em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 0.4em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose a:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brand-light-accent); }
.prose strong { font-weight: 700; color: var(--fg-heading); }

.prose blockquote {
  margin: 1.6em 0;
  padding: 0.9rem 1.2rem;
  border-left: 5px solid var(--brand-light-accent);
  background: var(--bg-light-card);
}

.prose blockquote p:last-child { margin-bottom: 0; }

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

.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0.4rem;
}

/* ---------- Home: cover grid with three condition plates ---------- */

.cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.cover-words { padding-bottom: 1rem; }
.cover-title h1 { max-width: 16ch; }

.cover-lines {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  margin-top: 1.5rem;
}

.display-line {
  margin: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--brand-light-accent);
  font-size: 1.1rem;
  line-height: 1.55;
}

.plate {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  text-decoration: none;
}

.plate-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--brand-light-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.plate:hover { border-color: var(--brand-light-accent); }
.plate:hover .plate-name { color: var(--brand-light-accent-hover); }

@media (min-width: 720px) {
  .cover { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .cover-words { grid-column: 1 / -1; }
  .plate { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 1.25rem 1.25rem 1.1rem; }
  .plate-art { width: 100%; }
  .plate-name { font-size: 1.3rem; }
}

.home-text { max-width: none; }
.home-text > * { max-width: var(--measure); }
.home-text > .photo-hero { max-width: 62rem; }
.home-text > .photo-hero img { max-height: 24rem; object-fit: cover; }
.home-text > p:first-of-type { font-size: 1.18rem; line-height: 1.6; }

/* ---------- Topic cluster: stepped questions ---------- */

.cluster-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.75rem, 5vw, 3.25rem) 0 1.75rem;
}

.cluster-art {
  flex: 0 0 auto;
  width: clamp(6.5rem, 18vw, 11rem);
  padding: 0.5rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
}

.cluster-draw, .side-draw { display: none; }
.cluster:not(:has(.cluster-steps a[href^="/lyme-"], .cluster-steps a[href^="/mold-"])) .draw-lungs { display: block; }
.cluster:has(.cluster-steps a[href^="/lyme-"]) .draw-tick { display: block; }
.cluster:has(.cluster-steps a[href^="/mold-"]) .draw-spores { display: block; }

.cluster-text > p:has(> strong:first-child) {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 4px solid var(--wash);
}

.cluster-text > p:has(> strong:first-child):nth-of-type(odd) { border-left-color: var(--brand-light-accent); }

.cluster-steps ul {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  max-width: 48rem;
  display: grid;
  gap: 0.6rem;
}

.cluster-steps ul:empty { display: none; }

.cluster-steps li {
  padding: 0.7rem 1rem;
  background: var(--bg-light-card);
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
}

.cluster-steps a { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.3; text-decoration-color: var(--brand-light-accent); text-underline-offset: 0.2em; }
.cluster-steps a:hover { color: var(--brand-light-accent-hover); }

@media (min-width: 720px) {
  .cluster-steps li:nth-child(3n+2) { margin-left: 2.5rem; }
  .cluster-steps li:nth-child(3n) { margin-left: 5rem; }
}

/* ---------- Geo cluster: grid of question cards ---------- */

.towns-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.75rem, 5vw, 3.25rem) 0 1.75rem;
}

.towns-pin { flex: 0 0 auto; width: clamp(3.5rem, 10vw, 5.5rem); }

.towns-text { max-width: none; }
.towns-text > * { max-width: var(--measure); }

.towns-text > ul {
  max-width: none;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.towns-text > ul > li {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--bg-light-card);
  border: 2px solid var(--ink);
  border-top: 6px solid var(--brand-light-accent);
  border-radius: 0.5rem;
}

.towns-cards ul {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.towns-cards ul:empty { display: none; }
.towns-cards li { padding: 1rem 1.1rem; background: var(--bg-light-card); border: 2px solid var(--ink); border-radius: 0.5rem; }
.towns-cards a { font-family: var(--font-head); font-weight: 700; }
.towns-cards a:hover { color: var(--brand-light-accent-hover); }

/* ---------- Question detail: answer beside a side panel ---------- */

.answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
}

.answer-title { margin-bottom: 1.5rem; }
.answer-title h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 22ch; }
.answer-text > p:first-child { font-size: 1.16rem; line-height: 1.6; }

.answer-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  align-self: start;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
}

.leaf:not(:has(.breadcrumbs a[href="/lyme-disease-and-tick-borne-illness"], .breadcrumbs a[href="/mold-and-mycotoxin-illness"])) .answer-side .draw-lungs { display: block; }
.leaf:has(.breadcrumbs a[href="/lyme-disease-and-tick-borne-illness"]) .answer-side .draw-tick { display: block; }
.leaf:has(.breadcrumbs a[href="/mold-and-mycotoxin-illness"]) .answer-side .draw-spores { display: block; }

@media (min-width: 1100px) {
  .answer { grid-template-columns: minmax(0, 1fr) 15rem; gap: clamp(2rem, 4vw, 4rem); }
  .answer-side { grid-template-columns: minmax(0, 1fr); position: sticky; top: 2rem; margin-top: 5rem; }
}

/* ---------- About: one column under the lens ---------- */

.method { max-width: var(--measure); padding-top: clamp(1.75rem, 5vw, 3.25rem); }
.method-art { width: clamp(9rem, 26vw, 14rem); margin-bottom: 1.5rem; }
.method-title { margin-bottom: 1.5rem; }
.method-text > p:first-child { font-size: 1.16rem; line-height: 1.6; }

/* ---------- Contact: split form and tick-check card ---------- */

.write {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
}

.write-title { margin-bottom: 1.25rem; }

.check-card {
  max-width: 17rem;
  padding: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  transform: rotate(-2deg);
}

.write-form {
  align-self: start;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  box-shadow: 6px 6px 0 var(--brand-light-accent);
}

.ask-form { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1rem; }

.field { display: grid; gap: 0.3rem; padding: 0.6rem 0; }

.field-label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }

.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 1px solid var(--border-light-default);
  border-radius: 0.35rem;
  padding: 0.6rem 0.75rem;
}

.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--ink); }

.ask-button {
  justify-self: start;
  margin-top: 0.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 2px solid var(--ink);
  border-radius: 0.4rem;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
}

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

@media (min-width: 560px) {
  .ask-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-wide, .ask-button { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .write { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); }
}

/* ---------- Thank you: calm breathing lungs ---------- */

.breathe { max-width: 44rem; padding-top: clamp(2rem, 6vw, 4rem); }
.breathe-art { width: clamp(8rem, 24vw, 12rem); margin-bottom: 1.5rem; }
.breathe-title { margin-bottom: 1.25rem; }
.breathe-title h1 { font-size: clamp(2rem, 5vw, 3rem); }

.breathe-lungs { transform-origin: 100px 90px; animation: breath 6s ease-in-out infinite; }

@keyframes breath {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.03); }
}

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

.site-footer { border-top: var(--rule-strong); }

.footer-row {
  padding: 2rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-row p { margin: 0; }
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.footer-line { font-size: 0.95rem; max-width: 52ch; }

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