@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/cormorant-sc-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cormorant-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-sc-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-sc-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cormorant-sc-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ece8d9;
  --fg-light-base-body: #33443a;
  --fg-light-base-heading: #26342b;
  --fg-light-base-muted: #545c4c;
  --fg-light-base-link: #97492e;
  --fg-light-base-inverse: #26342b;
  --bg-light-card: #f5f1e4;
  --fg-light-card-body: #33443a;
  --fg-light-card-heading: #26342b;
  --fg-light-card-muted: #545c4c;
  --fg-light-card-link: #97492e;
  --fg-light-card-inverse: #26342b;
  --bg-light-elevated: #fbf8ef;
  --fg-light-elevated-body: #33443a;
  --fg-light-elevated-heading: #26342b;
  --fg-light-elevated-muted: #545c4c;
  --fg-light-elevated-link: #97492e;
  --fg-light-elevated-inverse: #26342b;
  --brand-light-accent: #97492e;
  --brand-light-accent-hover: #773722;
  --brand-light-on-accent: #fbf8ef;
  --focus-light-ring: #97492e;
  --border-light-default: #667a5e;
  --border-light-subtle: #cfc8b0;
}
.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); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Apothecary field guide: cream paper, sage ink, clay for anything you can act on. */

:root {
  --ink: var(--fg-light-base-heading);
  --sage: var(--border-light-default);
  --rule: var(--border-light-subtle);
  --clay: var(--brand-light-accent);
  --clay-deep: var(--brand-light-accent-hover);
  --on-clay: var(--brand-light-on-accent);
  --paper: var(--bg-light-elevated);
  --cream: var(--bg-light-base);
  --cream-card: var(--bg-light-card);
  --book: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --caps: 'Cormorant SC', 'Palatino Linotype', Palatino, serif;
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cg fill='none' stroke='%23667a5e' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M4 10h40M76 10h40'/%3E%3Cpath d='M60 18V3'/%3E%3Cpath d='M60 8c-5 0-9-3-10-6 5 0 9 2 10 6zM60 13c5 0 9-3 10-6-5 0-9 2-10 6z'/%3E%3C/g%3E%3Ccircle cx='60' cy='2.5' r='1.6' fill='%2397492e'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  font-family: var(--book);
  font-size: 1.1875rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-variant-numeric: oldstyle-nums;
}

h1, h2, h3 {
  font-family: var(--book);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p, ul, ol { margin: 0; }

a.text-role-link { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a.text-role-link:hover { color: var(--clay-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: 0.5rem 0.9rem; background: var(--paper); border: 1px solid var(--sage); }

/* ---------- chrome ---------- */

/* The header stays pinned while reading; anchors land clear of it. */
html { scroll-padding-top: 7rem; }

.guide-header { border-bottom: 3px double var(--sage); position: sticky; top: 0; z-index: 5; }

/* Catalog toggle at the far left, the wordmark set on the spine. */
.guide-bar {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.guide-nav { justify-self: start; }

.guide-brand {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
}

.guide-brand .site-logo { width: 2.5rem; height: 2.5rem; flex: none; }

.guide-brand-name {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  max-width: 9rem;
}

@media (min-width: 40rem) {
  .guide-bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-top: 0.9rem; padding-bottom: 0.9rem; }
  .guide-brand { justify-self: center; }
  .guide-brand-name { max-width: none; white-space: nowrap; font-size: 1.6rem; letter-spacing: 0.06em; }
}

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 1rem 0 0.85rem;
  border: 1px solid var(--sage);
  border-left: 4px solid var(--clay);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}

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

.menu-icon {
  flex: none;
  width: 1rem;
  height: 0.7rem;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  position: relative;
}

.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 0.75px);
  border-top: 1.5px solid currentColor;
}

.site-menu[open] > summary { background: var(--cream-card); }

/* The open menu is a full-width catalog drawer pulled out under the header: topic labels filed in rows. */
.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  margin: 0;
  padding: 1.1rem max(var(--gutter), calc((100% - 70rem) / 2 + var(--gutter))) 1.4rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  background: var(--cream-card);
  border-bottom: 3px double var(--sage);
  box-shadow: 0 1rem 1.6rem -1.2rem rgb(38 52 43 / 0.5);
}

@media (min-width: 40rem) {
  .site-menu > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
}

.site-menu > ul a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--clay);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.site-menu > ul a:hover { background: var(--cream); text-decoration: underline; }

.guide-page { flex: 1 0 auto; padding-bottom: 4.5rem; }
.guide-page:has(> .guide-home) { padding-bottom: 0; }

.breadcrumbs { max-width: 70rem; margin: 0 auto; padding: 1rem var(--gutter) 0; font-size: 1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.6rem; color: var(--sage); }

.guide-footer { border-top: 3px double var(--sage); }

.guide-footer-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.5rem;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
}

.guide-footer-line { font-style: italic; font-size: 1.25rem; max-width: 32rem; }

.guide-footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
}

.guide-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

.guide-footer-name { font-family: var(--caps); font-size: 1.05rem; letter-spacing: 0.05em; }

/* ---------- shared reading text ---------- */

.guide-prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.guide-prose h3 { font-size: 1.3rem; }
.guide-prose p, .guide-prose li { max-width: var(--measure); }
.guide-prose ul, .guide-prose ol { padding-left: 1.3rem; }
.guide-prose li + li { margin-top: 0.35rem; }
.guide-prose ol li::marker { font-family: var(--caps); font-weight: 600; color: var(--clay); }
.guide-prose * + p, .guide-prose * + ul, .guide-prose * + ol { margin-top: 0.9rem; }

/* Every section break inside a body is a botanical rule. */
.guide-prose * + h2 { margin-top: 2.4rem; padding-top: 2.2rem; background: var(--sprig) center top / 7.5rem 1.25rem no-repeat; }
.guide-prose * + h3 { margin-top: 1.6rem; }

.guide-prose blockquote {
  margin: 1.25rem 0;
  padding: 0.8rem 1.1rem;
  border-left: 3px solid var(--clay);
  background: var(--paper);
  font-style: italic;
}

.photo-hero, .photo-inline { margin: 0; }
.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--sage);
  padding: 0.4rem;
  background: var(--paper);
}
.photo-inline { margin-top: 1.6rem; }
.photo-hero { margin-bottom: 1.8rem; }

section[data-section] {
  margin-top: 2rem;
  padding: clamp(1.25rem, 5vw, 3.25rem);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--sage);
}

section[data-section] > .bg-surface-card { padding: 1.5rem 1.6rem; border: 1px solid var(--sage); }
section[data-section] > .bg-surface-card > :first-child { margin-top: 0; padding-top: 0; background: none; }

.table-scroll { overflow-x: auto; margin-top: 1rem; }
.table-scroll table { border-collapse: collapse; }
.table-scroll th, .table-scroll td { border: 1px solid var(--rule); padding: 0.5rem 0.75rem; text-align: left; }
.table-scroll th { font-family: var(--caps); font-weight: 600; }

.entry-ornament {
  height: 1.25rem;
  margin: 1.4rem auto 0;
  max-width: 9rem;
  background: var(--sprig) center / contain no-repeat;
}

/* ---------- home: the field-guide cover ---------- */

.cover { padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }

.cover-plate {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
  border: 1px solid var(--sage);
  outline: 1px solid var(--sage);
  outline-offset: -0.6rem;
}

.cover-kicker h1 {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
}

.cover-sprig { display: block; width: min(15rem, 70%); height: auto; margin: 1.2rem auto 0.4rem; }

.cover-title {
  font-family: var(--book);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  max-width: 16ch;
  margin: 0 auto;
  text-wrap: balance;
}

.cover-rule { width: 5rem; margin: 1.5rem auto; border-top: 3px double var(--clay); }

.cover-line { max-width: 31rem; margin: 0 auto; font-size: 1.2rem; }
.cover-line + .cover-line { margin-top: 0.6rem; }
.cover-note { max-width: 30rem; margin: 1.3rem auto 0; font-style: italic; font-size: 1.05rem; }

/* Card-catalog cabinet: each drawer front opens a topic, the card pulled from it opens a question. */
.catalog { border-top: 3px double var(--sage); border-bottom: 3px double var(--sage); }

.catalog-inner { max-width: 70rem; margin: 0 auto; padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter); }

.catalog-label {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.catalog-drawers {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr));
  gap: 1.1rem;
}

.drawer {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--sage);
  padding: 0.75rem;
}

.drawer-front {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.9rem 0.75rem 0.8rem;
  border: 1px solid var(--sage);
  text-decoration: none;
}

.drawer-holder {
  display: block;
  min-width: 70%;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid var(--clay);
  border-radius: 2px;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-align: center;
}

/* The brass pull under the label holder. */
.drawer-front::after {
  content: "";
  width: 2.4rem;
  height: 0.6rem;
  border: 1.5px solid var(--clay);
  border-top: 0;
  border-radius: 0 0 1.2rem 1.2rem;
}

.drawer-front:hover .drawer-holder { background: var(--cream-card); }

.drawer-card {
  display: block;
  margin-top: 0.75rem;
  padding: 0.85rem 0.9rem 0.95rem;
  min-height: 44px;
  border-top: 2px solid var(--sage);
  background:
    repeating-linear-gradient(to bottom, transparent 0 1.55rem, var(--rule) 1.55rem calc(1.55rem + 1px)) 0 0.82rem / 100% auto;
  font-size: 1.1rem;
  line-height: 1.55rem;
  text-decoration: none;
}

.drawer-card:hover { text-decoration: underline; }

.home-reading-inner { max-width: 40rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.25rem) var(--gutter) clamp(3rem, 6vw, 4.5rem); }
.home-reading-inner > :first-child { margin-top: 0; }

/* The body's closing section repeats the site disclaimer: set it as a colophon. */
.home-reading-inner > #footer { font-family: var(--caps); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; text-align: center; }
.home-reading-inner > #footer + p { margin-left: auto; margin-right: auto; text-align: center; font-style: italic; font-size: 1.05rem; }

/* ---------- topic cluster: the catalog index ---------- */

.topic-head { max-width: 70rem; margin: 0 auto; padding: 2rem var(--gutter) 0; }

.topic-tab {
  display: inline-block;
  padding: 0.9rem 1.5rem 0.8rem;
  border: 1px solid var(--sage);
  border-bottom: 0;
  border-radius: 0.6rem 0.6rem 0 0;
  position: relative;
  top: 1px;
}

.topic-tab h1 { font-size: clamp(2.1rem, 5.5vw, 3.3rem); max-width: 18ch; }

.topic-drawer { border-top: 1px solid var(--sage); border-bottom: 3px double var(--sage); }

.topic-body { max-width: 70rem; margin: 0 auto; padding: clamp(2rem, 5vw, 3.25rem) var(--gutter); }

.topic-body > h2 {
  font-family: var(--caps);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Sage divider ahead of the filed cards. */
.topic-body > ul {
  list-style: none;
  padding: 1.25rem 0 0;
  margin-top: 1.25rem;
  border-top: 6px solid var(--sage);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0.9rem;
}

.topic-body > ul > li { max-width: none; margin: 0; }

.topic-body > ul > li > a {
  display: block;
  height: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem 1rem;
  background:
    linear-gradient(var(--clay), var(--clay)) left 0.9rem top 0.7rem / 1.5px 1.1rem no-repeat,
    var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--sage);
  padding-left: 1.6rem;
  font-size: 1.15rem;
  line-height: 1.4;
  text-decoration: none;
}

.topic-body > ul > li > a:hover { border-color: var(--sage); text-decoration: underline; }

/* ---------- question detail: one guide entry ---------- */

.entry-wrap { max-width: 44rem; margin: 0 auto; padding: 2.25rem var(--gutter) 0; text-align: center; }

.entry-label {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.entry-title h1 { margin-top: 0.4rem; font-size: clamp(2rem, 5vw, 3rem); }

.entry-body { margin-top: 1.6rem; text-align: left; }
.entry-body > :first-child { margin-top: 0; }

.entry-body > #short-answer {
  width: fit-content;
  margin: 0 auto;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  padding: 0 0.8rem;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.entry-body > #short-answer + p {
  margin-top: -0.85rem;
  max-width: none;
  padding: 1.6rem 1.5rem 1.3rem;
  border: 1px solid var(--sage);
  outline: 1px solid var(--sage);
  outline-offset: -0.45rem;
  background: var(--paper);
  font-size: 1.25rem;
  line-height: 1.55;
}

.entry-body > #short-answer + p + * { margin-top: 2.6rem; }

/* ---------- geo cluster: neighborhood entry ---------- */

.geo-head { max-width: 70rem; margin: 0 auto; padding: 2rem var(--gutter) 1.5rem; display: grid; justify-items: center; text-align: center; }

.geo-outline { width: min(20rem, 85%); height: auto; }

.geo-title h1 { margin-top: 0.6rem; font-size: clamp(2.2rem, 6vw, 3.4rem); }

.geo-board { border-top: 3px double var(--sage); border-bottom: 3px double var(--sage); }

.geo-body { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 5vw, 3.25rem) var(--gutter); }

.geo-body > ol {
  list-style: none;
  padding: 0;
  counter-reset: entry;
  display: grid;
  gap: 0.75rem;
  max-width: none;
}

.geo-body > ol > li {
  counter-increment: entry;
  max-width: none;
  margin: 0;
  padding: 0.85rem 1.1rem 0.9rem 3.1rem;
  background: var(--paper);
  border: 1.5px solid var(--clay);
  position: relative;
}

.geo-body > ol > li::before {
  content: counter(entry);
  position: absolute;
  left: 1.05rem;
  top: 0.8rem;
  font-family: var(--caps);
  font-weight: 700;
  color: var(--clay);
}

/* ---------- about: the preface ---------- */

.preface-wrap { max-width: 38rem; margin: 0 auto; padding: 2.5rem var(--gutter) 0; }

.preface-title { text-align: center; }
.preface-title h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-style: italic; font-weight: 400; }

.preface-body { margin-top: 1.8rem; }
.preface-body > :first-child { margin-top: 0; }
.preface-body > h2:first-child + p::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.85;
  padding: 0.3rem 0.5rem 0 0;
  color: var(--clay);
}

.preface-signature {
  margin-top: 2.5rem;
  text-align: right;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.preface-signature::before { content: ""; display: inline-block; width: 3rem; margin-right: 0.75rem; vertical-align: middle; border-top: 1px solid var(--sage); }

/* ---------- contact: the index card ---------- */

.contact-wrap { max-width: 70rem; margin: 0 auto; padding: 2.25rem var(--gutter) 0; }

.contact-title h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); }

.contact-grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 1.75rem;
  align-items: start;
}

@media (min-width: 58rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
}

.contact-body > :first-child { margin-top: 0; }

.index-card {
  display: grid;
  gap: 1.15rem;
  padding: 1.6rem clamp(1.1rem, 4vw, 2rem) 1.75rem;
  border: 2px solid var(--clay);
  background:
    linear-gradient(var(--clay), var(--clay)) 0 3.2rem / 100% 1px no-repeat,
    var(--paper);
}

.card-field { display: grid; gap: 0.3rem; }

.card-label {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.index-card input, .index-card textarea {
  width: 100%;
  min-height: 44px;
  font: inherit;
  color: inherit;
  padding: 0.45rem 0.6rem;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--sage);
  border-radius: 0;
}

.index-card textarea {
  resize: vertical;
  border: 1.5px solid var(--sage);
  line-height: 1.75rem;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(1.75rem - 1px), var(--rule) calc(1.75rem - 1px) 1.75rem) 0 0.45rem / 100% auto;
}

.index-card input:focus-visible, .index-card textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.card-send {
  justify-self: start;
  min-height: 44px;
  padding: 0.5rem 1.6rem;
  border: 0;
  border-radius: 2px;
  background: var(--clay);
  color: var(--on-clay);
  font-family: var(--caps);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.card-send:hover { background: var(--clay-deep); }

/* ---------- thank you and not found ---------- */

.thanks-wrap { max-width: 36rem; margin: 0 auto; padding: 2.5rem var(--gutter) 0; text-align: center; }

/* Thank you: a herbarium sheet. The pressed leaf is taped to the mount, the title sits on its collection label, the note reads beside it. */
.specimen {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 0;
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .specimen { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3.25rem; padding-top: 3rem; }
}

.specimen-sheet {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.25rem 1.25rem;
  border: 1px solid var(--sage);
  box-shadow: 0.45rem 0.45rem 0 -1px var(--cream), 0.45rem 0.45rem 0 0 var(--sage);
}

.pressed-leaf { display: block; width: 8.5rem; height: auto; }

.specimen-label {
  justify-self: stretch;
  padding: 0.75rem 0.95rem 0.8rem;
  border: 1px solid var(--sage);
  border-top: 3px double var(--sage);
}

.specimen-label .thanks-title h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); font-style: normal; font-weight: 500; }

.specimen-site { margin-top: 0.35rem; font-family: var(--caps); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.05em; }

.specimen-notes { padding-left: 1.25rem; border-left: 1px solid var(--sage); }

.specimen-notes .thanks-body { margin-top: 0; }

.specimen-notes .thanks-body h2 { font-family: var(--caps); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.04em; }

.specimen-notes .thanks-body * + h2 { margin-top: 1.9rem; background: none; border-top: 1px solid var(--rule); padding-top: 1.4rem; }

.specimen-notes .thanks-next { margin-top: 1.75rem; }

.thanks-title h1 { font-size: clamp(2.1rem, 5.5vw, 3.1rem); font-style: italic; font-weight: 400; }

.thanks-body { margin-top: 1.5rem; text-align: left; }
.thanks-body > :first-child { margin-top: 0; }

.thanks-next { margin-top: 2rem; font-family: var(--caps); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.05em; }
.thanks-next a { display: inline-flex; align-items: center; min-height: 44px; }

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