@font-face { font-family: 'IM Fell English'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'IM Fell English'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/im-fell-english-latin-400-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: #dfe4d3;
  --fg-light-base-body: #2b1e14;
  --fg-light-base-heading: #2b1e14;
  --fg-light-base-muted: #5a4636;
  --fg-light-base-link: #7a3b1d;
  --fg-light-base-inverse: #2b1e14;
  --bg-light-card: #f6f0e2;
  --fg-light-card-body: #2b1e14;
  --fg-light-card-heading: #2b1e14;
  --fg-light-card-muted: #5a4636;
  --fg-light-card-link: #7a3b1d;
  --fg-light-card-inverse: #2b1e14;
  --bg-light-elevated: #ebe1cc;
  --fg-light-elevated-body: #2b1e14;
  --fg-light-elevated-heading: #2b1e14;
  --fg-light-elevated-muted: #5a4636;
  --fg-light-elevated-link: #7a3b1d;
  --fg-light-elevated-inverse: #2b1e14;
  --brand-light-accent: #7a3b1d;
  --brand-light-accent-hover: #5a2812;
  --brand-light-on-accent: #f6f0e2;
  --focus-light-ring: #7a3b1d;
  --border-light-default: #7f6a55;
  --border-light-subtle: #cdbfa5;
}
.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); }

/* Botanical field notebook: sage pages, a linen spine rail with a vertical wordmark, sepia ink, IM Fell English titles over EB Garamond text, hanging specimen tags and pressed-leaf rules. */

:root {
  --display: 'IM Fell English', Georgia, 'Times New Roman', serif;
  --text: 'EB Garamond', Garamond, Georgia, serif;
  --ink: var(--brand-light-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --linen: var(--bg-light-base);
  --linen-card: var(--bg-light-card);
  --kraft: var(--bg-light-elevated);
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rail: 17rem;
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24'%3E%3Cg fill='none' stroke='%237f6a55' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M2 12 H62 M98 12 H158'/%3E%3Cpath d='M66 12 C72 4 80 3 88 6 C82 12 74 14 66 12 Z'/%3E%3Cpath d='M66 12 C72 20 80 21 88 18 C82 12 74 10 66 12 Z'/%3E%3Cpath d='M66 12 H94'/%3E%3C/g%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.62;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

img {
  max-width: 100%;
  height: auto;
}

.leaf-rule {
  height: 24px;
  max-width: 10rem;
  margin: 1.1rem 0 1.6rem;
  background: var(--leaf) left center / contain no-repeat;
}

/* ---------- Spine rail (header) ---------- */

.site-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  height: 4rem;
  padding: 0 clamp(0.75rem, 4vw, 3rem);
  border-bottom: 3px double var(--rule);
}

.brand {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}

.menu-slot {
  flex: none;
  margin-left: auto;
}

.brand .site-logo,
.brand svg,
.brand img {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.wordmark,
.footer-name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.wordmark {
  font-family: var(--display);
  font-size: 0.8125rem;
  line-height: 1.12;
  max-width: 16rem;
  text-wrap: balance;
}

@media (min-width: 30rem) {
  .brand .site-logo,
  .brand svg,
  .brand img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .wordmark {
    font-size: 1rem;
  }

  .site-menu > summary {
    gap: 0.55rem;
    padding: 0 0.85rem;
    font-size: 1.15rem;
  }
}

.spine-index .site-nav {
  display: none;
}

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

.site-nav li {
  position: relative;
  padding-left: 1.1rem;
}

.site-nav li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--rule);
}

.site-nav li + li {
  margin-top: 0.55rem;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem 0.35rem 0.9rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  background: var(--linen-card);
  border: 1px solid var(--rule);
  border-radius: 3px 0.9rem 0.9rem 3px;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 50%;
  width: 1.1rem;
  border-top: 1px dashed var(--rule);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0.45rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--kraft);
}

.site-nav a:hover {
  border-color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 2px;
}

.site-menu {
  position: relative;
}

.site-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.6rem;
  cursor: pointer;
  border: 1px solid var(--rule);
  border-radius: 3px 0.9rem 0.9rem 3px;
  background: var(--linen-card);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  white-space: nowrap;
}

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

.menu-icon {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--kraft);
}

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

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  width: min(18rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.4rem 1rem;
  list-style: none;
  background: var(--linen-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.site-menu ul ul {
  list-style: none;
  padding-left: 1rem;
}

.site-menu a {
  display: block;
  padding: 0.6rem 0;
  min-height: 44px;
  text-decoration: none;
}

.site-menu li + li {
  border-top: 1px dotted var(--rule);
}

@media (min-width: 60rem) {
  body {
    grid-template-columns: var(--rail) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
  }

  .site-header {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    align-items: start;
    gap: 0;
    height: auto;
    padding: 0;
    border-bottom: 0;
    border-right: 3px double var(--rule);
  }

  .brand {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.5rem 0 2rem;
    border-right: 1px solid var(--rule);
    background: var(--linen-card);
  }

  .brand .site-logo,
  .brand svg,
  .brand img {
    width: 1.9rem;
    height: 1.9rem;
  }

  .wordmark {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    max-width: none;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .menu-slot {
    display: none;
  }

  .spine-index {
    grid-column: 2;
    grid-row: 1;
    padding: 1.6rem 1rem 2rem 0.9rem;
  }

  .spine-index .site-nav {
    display: block;
  }

  .leaf-page,
  .site-footer {
    grid-column: 2;
  }
}

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

.leaf-page {
  width: 100%;
  max-width: 64rem;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0;
  padding: 1.25rem 0 0;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

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

.breadcrumbs a {
  text-underline-offset: 0.2em;
}

main {
  display: block;
  padding-top: clamp(1.75rem, 4vw, 3rem);
}

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

.prose {
  max-width: var(--measure);
}

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

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.05rem;
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
}

.prose ul {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--ink);
}

.prose a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 1px solid var(--rule);
  font-style: italic;
}

.prose figure {
  margin: 1.8rem 0;
}

.prose figure img,
.photo-hero img {
  display: block;
  width: 100%;
  border: 1px solid var(--rule-soft);
  padding: 0.5rem;
  background: var(--linen-card);
}

.photo-hero {
  margin: 0 0 1.8rem;
}

.prose figcaption {
  margin-top: 0.5rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
}

.table-scroll {
  overflow-x: auto;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.7rem 0.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.prose th {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.03em;
  font-weight: 500;
  border-bottom-color: var(--rule);
}

section[data-section][style] {
  margin: 2rem 0;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(0.75rem, 3vw, 1.5rem);
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

section[data-section][style] > .bg-surface-card {
  max-width: 30rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

section[data-section][style] > .bg-surface-card h2 {
  margin-top: 0;
}

/* ---------- Specimen tag (shared) ---------- */

.display-line,
.field-entries li a {
  position: relative;
  display: block;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  background: var(--linen-card);
  border: 1px solid var(--rule);
  border-radius: 1.4rem 3px 3px 1.4rem;
}

.display-line::before,
.field-entries li a::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.3rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--linen);
}

/* ---------- Home: one notebook column ---------- */

.notebook {
  max-width: 40rem;
}

.entry-open {
  padding-bottom: 1.6rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule-soft);
}

.entry-locality {
  margin: 0 0 0.6rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
}

.entry-title h1 {
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem);
  line-height: 1.08;
}

.tag-list:empty {
  display: none;
}

.tag-list {
  display: grid;
  gap: 0.6rem;
  max-width: 34rem;
}

.display-line {
  margin: 0;
  line-height: 1.4;
}

.entry-body > p:first-child {
  font-size: 1.32rem;
  line-height: 1.5;
}

.entry-body h2 {
  font-variant-caps: normal;
}

/* ---------- Article: margin-annotated entry ---------- */

.annotated-head h1 {
  max-width: 34ch;
}

@media (min-width: 72rem) {
  .annotated-body {
    max-width: calc(var(--measure) + 14rem);
    padding-right: 14rem;
  }

  .annotated-body > h2 {
    float: right;
    clear: right;
    width: 11.5rem;
    margin: 0.35rem -14rem 1rem 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--rule);
    font-family: var(--text);
    font-variant-caps: all-small-caps;
    letter-spacing: 0.04em;
    font-size: 1.12rem;
    line-height: 1.3;
    color: var(--fg-muted);
  }

  .annotated-body > h2 + * {
    margin-top: 2.4rem;
  }

  .annotated-body > figure,
  .annotated-body > section[data-section] {
    clear: right;
  }
}

/* ---------- Topic hub: split field index ---------- */

.field-index {
  display: grid;
  gap: 2.25rem;
}

.field-entries {
  align-self: start;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.field-entries-title {
  margin: 0 0 1rem;
  font-family: var(--text);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}

.field-entries ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.field-entries li a {
  line-height: 1.35;
  text-decoration: none;
  min-height: 44px;
}

.field-entries li a:hover {
  border-color: var(--ink);
  text-decoration: underline;
}

@media (min-width: 64rem) {
  .field-index {
    grid-template-columns: minmax(0, var(--measure)) minmax(0, 17rem);
    gap: 3rem;
  }
}

/* ---------- About: stepped timeline ---------- */

.method {
  max-width: 42rem;
}

.method-steps {
  counter-reset: step;
  position: relative;
  padding-left: 2.25rem;
  border-left: 1px solid var(--rule);
  margin-left: 0.4rem;
}

.method-steps > h2 {
  counter-increment: step;
  position: relative;
  margin-top: 2.6rem;
}

.method-steps > h2::before {
  content: "Step " counter(step);
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.1rem 0.7rem 0.15rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 999px 3px 3px 999px;
  background: var(--linen-card) radial-gradient(circle at 0.7rem 50%, var(--linen) 0 0.2rem, var(--rule) 0.2rem 0.26rem, transparent 0.27rem) no-repeat;
  font-family: var(--text);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1rem;
  position: relative;
}

.method-steps > h2::after {
  content: "";
  position: absolute;
  left: calc(-2.25rem - 0.35rem);
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ink);
}

.method-steps > h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 48rem) {
  .method-steps > h2:nth-of-type(2),
  .method-steps > h2:nth-of-type(2) ~ * {
    margin-left: 1.5rem;
  }

  .method-steps > h2:nth-of-type(3),
  .method-steps > h2:nth-of-type(3) ~ * {
    margin-left: 3rem;
  }

  .method-steps > h2:nth-of-type(4),
  .method-steps > h2:nth-of-type(4) ~ * {
    margin-left: 4.5rem;
  }

  .method-steps > h2:nth-of-type(2)::after {
    left: calc(-2.25rem - 1.5rem - 0.35rem);
  }

  .method-steps > h2:nth-of-type(3)::after {
    left: calc(-2.25rem - 3rem - 0.35rem);
  }

  .method-steps > h2:nth-of-type(4)::after {
    left: calc(-2.25rem - 4.5rem - 0.35rem);
  }
}

/* ---------- Contact: notebook page ---------- */

.notepage-split {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
}

.note-form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
}

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

.note-label {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
}

.note-input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.2rem;
  font: inherit;
  color: var(--fg-body);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}

.note-area {
  resize: vertical;
  line-height: 2rem;
  padding: 0 0.2rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2rem - 1px), var(--rule-soft) calc(2rem - 1px), var(--rule-soft) 2rem);
  background-attachment: local;
}

.note-input:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 2px;
}

.note-button {
  justify-self: start;
  min-height: 44px;
  padding: 0.45rem 1.4rem 0.5rem;
  font: inherit;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 1px solid var(--brand-light-accent);
  border-radius: 3px;
  cursor: pointer;
}

.note-button:hover {
  background: var(--brand-light-accent-hover);
  border-color: var(--brand-light-accent-hover);
}

.note-button:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 3px;
}

.linen-card {
  align-self: start;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.linen-body h2 {
  font-size: 1.3rem;
}

@media (min-width: 64rem) {
  .notepage-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ---------- Thank you: split note card ---------- */

.closing-card {
  display: grid;
  gap: 1.5rem;
  max-width: 54rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.closing-head {
  margin-bottom: 1.75rem;
}

.closing-return {
  margin: 1.5rem 0 0;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}

.closing-leaf {
  display: none;
}

@media (min-width: 52rem) {
  .closing-card {
    grid-template-columns: minmax(0, 1fr) 9rem;
    gap: 2.5rem;
  }

  .closing-leaf {
    display: block;
    align-self: center;
    border-left: 1px solid var(--rule-soft);
    padding-left: 1.5rem;
  }

  .closing-leaf svg {
    display: block;
    width: 100%;
    height: auto;
  }
}

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

.site-footer {
  border-top: 1px solid var(--rule);
}

.footer-inner {
  max-width: 64rem;
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}

.footer-locality {
  margin: 0;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
}

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