/* ═══════════════════════════════════════════════════════════════
   shorette.com — "night into day" experiment
   White page, the Dovedale night at the top, a spine of time
   running through the register and the seedbed.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "IM Fell English";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/imfell/imfell.woff2") format("woff2");
}
@font-face {
  font-family: "IM Fell English";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/imfell/imfell-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IM Fell English SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/imfell/imfell-sc.woff2") format("woff2");
}
@font-face {
  font-family: "Zeyada";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zeyada/zeyada.woff2") format("woff2");
}
@font-face {
  font-family: "Academica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/academica/Academica-Book.otf") format("opentype");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/caveat/caveat.woff2") format("woff2");
}
/* amiri subset: arabic letters, digits, diacritics, ayah ornaments */
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/amiri/amiri-arabic-subset.woff2") format("woff2");
}

.ar { font-family: "Amiri", serif; }

:root {
  --paper: #ffffff;
  --ink: #1d1712;
  --ink-rgb: 29, 23, 18;
  --accent: #7e342a;
  --muted: #6f665c;
  --hairline: rgba(var(--ink-rgb), 0.16);
  --measure: 37rem;
  --column: 60rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Academica", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
/* the link idiom: dotted for internal, solid for external */
a[href]:not([href^="http"]):not([href^="mailto"]):not([href^="#"]) {
  text-decoration-style: dotted;
}
a[href^="http"] { text-decoration-style: solid; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

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

svg.moon {
  width: 0.9em;
  height: 0.9em;
  color: var(--accent);
  vertical-align: -0.1em;
}
svg.fleuron {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
  display: block;
}

/* ═══════════ the white nav (subpages) ═══════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  transition: transform 220ms ease, opacity 220ms ease;
}
/* once the reading is under way the nav withdraws; it returns on the way up */
.site-header.is-withdrawn {
  transform: translateY(-100%);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.nav-bar {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0.65rem 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.nav-brand {
  font-family: "IM Fell English", serif;
  text-decoration: none;
  font-size: 1.02rem;
}
.nav-brand .moon { margin-right: 0.4rem; }
.site-nav ul {
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--accent); font-style: italic; }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: dotted underline; text-underline-offset: 3px; }

/* ═══════════ the night banner: the page dawns out of it ═══════════ */

.night {
  position: relative;
  height: clamp(19rem, 48vh, 28rem);
  overflow: hidden;
  background: #101b22; /* night sky while the image loads */
}
.night img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchor the crop toward the top: on wide screens the strip crops
     vertically, and center-cropping lands the moon right under the nav */
  object-position: 50% 15%;
  display: block;
}
.night__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 18, 22, 0.34) 0%,
    rgba(12, 18, 22, 0) 26%,
    rgba(12, 18, 22, 0) 55%,
    rgba(255, 255, 255, 0.06) 82%,
    var(--paper) 100%
  );
}
/* the overlaid nav, written on the night sky */
.night__nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--column);
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  color: #fff;
}
.night__nav a {
  color: #fff;
  text-decoration: none;
  /* legible over the moon's bright disc on wide screens */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65), 0 0 3px rgba(0, 0, 0, 0.45);
}
.night__brand {
  margin: 0;
  font-family: "IM Fell English", serif;
  font-size: 1.05rem;
  font-weight: normal;
}
.night__nav .moon { color: #fff; }
.night__nav ul {
  display: flex;
  gap: 1.6rem;
  margin: 0; padding: 0; list-style: none;
}
.night__nav li a { font-size: 0.95rem; }
.night__nav li a:hover { font-style: italic; }

/* ═══════════ content column & sections ═══════════ */

.content {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.content--full { max-width: none; padding: 0; }

.column {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.leaf {
  position: relative;
  padding: 2.6rem 0 2.2rem;
}
.leaf__head {
  font-family: "IM Fell English SC", serif;
  font-weight: normal;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
  text-align: center;
  color: var(--muted);
  margin: 0 0 1.6rem;
}

/* ── the epigraph ── */

.epigraph { text-align: center; padding-top: 2.8rem; }
.epigraph .fleuron { margin: 0 auto 1.4rem; }
.epigraph blockquote {
  margin: 0 auto;
  max-width: 32em;
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.6;
}
.epigraph blockquote p { margin: 0; }
.epigraph figcaption {
  margin-top: 0.8rem;
  font-family: "IM Fell English SC", serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* the epigraph */
.epigraph .quran { margin: 0.6rem 0 0; }
.epigraph .quran blockquote {
  font-family: "Amiri", serif;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 2.05;
  max-width: 22em;
}
.epigraph .quran__gloss {
  margin: 0.9rem auto 0;
  max-width: 32em;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── the preface: drop cap, margin glosses ── */

.preface { max-width: var(--measure); margin: 0 auto; }
.preface p { margin: 0 0 1.1rem; }
.preface .home-lede .dropcap {
  font-family: "IM Fell English", serif;
  float: left;
  font-size: 3.3rem;
  line-height: 0.8;
  padding: 0.2rem 0.5rem 0 0;
  color: var(--accent);
}
.signature {
  text-align: right;
  font-family: "Zeyada", cursive;
  font-size: 1.7rem;
  transform: rotate(-1.2deg);
  margin: 1.4rem 0.8rem 0 0;
}

/* the margin glosses — the preface reserves room for them on wide screens */
@media (min-width: 56rem) {
  .preface { max-width: calc(var(--measure) + 20rem); }
  .preface p, .preface .signature { max-width: var(--measure); margin-left: auto; margin-right: auto; }
}
.note {
  position: absolute;
  width: 8.8rem;
  font-family: "Zeyada", cursive;
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--muted);
  font-variant-emoji: text;
}
.note--l { left: 0; text-align: right; transform: rotate(-1.4deg); }
.note--r { right: 0; transform: rotate(1.1deg); }
/* the margin glosses are a wide-screen pleasure */
@media (max-width: 56rem) {
  .note { display: none; }
}

/* the life counter: a tally in the text */
.life-counter {
  position: relative;
  white-space: nowrap;
  cursor: help;
  font-variant-numeric: tabular-nums;
}
.life-counter__readout {
  padding: 0 0.1em;
  border-bottom: 1px dotted var(--ink);
  transition: background-color 140ms ease, color 140ms ease;
}
.life-counter:hover .life-counter__readout,
.life-counter:focus .life-counter__readout {
  background: var(--ink);
  color: var(--paper);
}
.life-counter:focus-visible { outline: 1px dotted var(--ink); outline-offset: 2px; }
.life-counter__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  z-index: 20;
  display: grid;
  gap: 0.12rem;
  min-width: 11rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  box-shadow: 0 4px 14px rgba(var(--ink-rgb), 0.12);
  font-size: 0.85rem;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.25rem);
  transition: opacity 140ms ease, transform 140ms ease;
}
.life-counter:hover .life-counter__panel,
.life-counter:focus .life-counter__panel {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── the register: entries hung on the spine of time ── */

.register { max-width: 46rem; margin: 0 auto; }
.register ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.register li {
  display: grid;
  grid-template-columns: 5.5rem 1.4rem 1fr;
  align-items: baseline;
  min-height: 1.9rem;
}
.register .tick {
  position: relative;
  align-self: stretch;
  border-left: 1px solid var(--hairline);
}
.register .tick::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.register li.live .tick::before {
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.3; } }
.pulse__time {
  text-align: right;
  padding-right: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}
.pulse__verb {
  font-style: italic;
  color: var(--muted);
  margin-right: 0.3rem;
}
.pulse__label { text-decoration: none; }
a.pulse__label { text-decoration-style: dotted; }
.pulse__detail { color: var(--muted); font-size: 0.9em; }
.pulse__dot { display: none; } /* the live marker is the spine tick */

/* ═══════════ footer ═══════════ */

.site-footer {
  max-width: var(--column);
  margin: 1.5rem auto 0;
  padding: 1.6rem 1.2rem 2.8rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer .ar { font-size: 1.1rem; line-height: 1; }
.site-footer .tonight {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
}
.site-footer .tonight svg { vertical-align: -0.15em; margin-right: 0.25rem; color: var(--ink); }

/* ═══════════ the seeds: the seedbed ═══════════ */

.dove { margin: 0; position: relative; height: clamp(12rem, 30vh, 16rem); overflow: hidden; }
.dove img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.dove__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12,18,22,0) 60%, rgba(255,255,255,0.5) 88%, var(--paper) 100%);
}

.seeds-bar {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
  font-family: "IM Fell English SC", serif;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.seeds-bar a { text-decoration: none; }

.seeds-layout {
  max-width: var(--column);
  margin: 0 auto;
  padding: 1.8rem 1.2rem 0;
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2.4rem;
}

/* the almanac calendar */
.seeds-cal { font-size: 0.86rem; }
.cal-year summary {
  cursor: pointer;
  font-family: "IM Fell English SC", serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  list-style: none;
}
.cal-year summary::before {
  content: "";
  display: inline-block;
  border: 4px solid transparent;
  border-left-color: var(--accent);
  margin-right: 0.45rem;
  transition: transform 0.15s;
}
.cal-year[open] summary::before { transform: rotate(90deg) translateX(1px); }
.cal-count { color: var(--muted); font-size: 0.78rem; margin-left: 0.3rem; }
.cal-month { margin: 0.5rem 0 0.9rem 0.6rem; }
.cal-month__name { font-style: italic; color: var(--muted); font-size: 0.82rem; }
.cal-days { list-style: none; margin: 0.2rem 0 0; padding: 0; }
.cal-days li { display: flex; justify-content: space-between; padding: 0.06rem 0; }
.cal-days a { text-decoration: none; font-variant-numeric: tabular-nums; }
.cal-days a:hover { color: var(--accent); }

/* the broadsheet: each month an issue, set in columns like a periodical */
.issue { margin-bottom: 2.8rem; }
.issue__head {
  margin: 0 0 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.issue__no {
  font-family: "IM Fell English SC", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.issue__when { font-style: italic; color: var(--muted); font-size: 0.88rem; }
.issue__columns {
  columns: 17rem;
  column-gap: 2.4rem;
  column-rule: 1px solid var(--hairline);
}
.issue__columns .seed { break-inside: avoid; margin-bottom: 1.5rem; }
/* the feature article & the plate span the whole sheet */
.issue__columns .seed--essay { column-span: all; margin: 0.4rem 0 1.8rem; }
.issue__columns .seed--essay .seed__body { max-width: var(--measure); }
.issue__columns .seed--photo { column-span: all; }
.issue__columns .seed--photo .seed__plate { max-width: 40rem; margin-left: auto; margin-right: auto; }
.day-anchor { display: block; height: 0; overflow: hidden; }

.seed { margin-bottom: 1.6rem; }
.seed__head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.seed__entry-no {
  font-family: "IM Fell English SC", serif;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.seed__time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.85rem; }
.seed__title {
  font-family: "IM Fell English", serif;
  font-weight: normal;
  font-size: 1.3rem;
  margin: 0.1rem 0 0;
  flex-basis: 100%;
}
.seed__line { margin: 0; }
.seed__verb { font-style: italic; color: var(--muted); }
.seed__detail { color: var(--muted); font-size: 0.9em; }
.seed__body { margin-top: 0.45rem; }
.seed__body p { margin: 0.45rem 0; }
.seed__body blockquote {
  margin: 0.6rem 0;
  padding-left: 1rem;
  border-left: 1px solid var(--hairline);
  font-style: italic;
}
.seed--essay .seed__body { font-size: 1.02rem; }

/* quote kind: a pull-quote */
.seed__quote { margin: 0.4rem 0 0; }
.seed__quote blockquote {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 1px solid var(--hairline);
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
}
.seed__quote blockquote p { margin: 0; }
.seed__quote figcaption { margin: 0.35rem 0 0 1.2rem; font-size: 0.85rem; color: var(--muted); }
.seed__quote figcaption::before { content: "— "; }

.seed__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
}
.seed__tags a { color: var(--muted); text-decoration: none; margin-right: 0.45rem; }
.seed__tags a:hover { color: var(--accent); }
.seed__leads-label { color: var(--muted); margin-right: 0.3rem; font-style: italic; }
.seed__leads a { text-decoration-style: dotted; }

/* references (goldmark footnotes) */
.seed__body .footnotes { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); }
.seed__body .footnotes hr {
  height: 0;
  margin: 0.9rem 0 0;
  border: none;
  border-top: 1px solid var(--hairline);
}
.seed__body .footnotes ol { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.seed__body .footnotes p { margin: 0.2rem 0; }
.seed__body sup a.footnote-ref,
.seed__body .footnote-backref { color: var(--accent); text-decoration: none; }
.seed__body sup a.footnote-ref::before { content: "["; }
.seed__body sup a.footnote-ref::after { content: "]"; }

/* the forge banner — the page is lit by the struck iron, not the moon */
.forge { height: clamp(14rem, 38vh, 20rem); }
.forge img { object-position: 50% 56%; }
.forge__scrim {
  background:
    radial-gradient(ellipse 42% 65% at 47% 60%,
      rgba(255, 138, 60, 0.16) 0%,
      rgba(255, 138, 60, 0) 70%),
    linear-gradient(to bottom,
      rgba(43, 15, 4, 0.28) 0%,
      rgba(43, 15, 4, 0) 30%,
      rgba(66, 20, 6, 0.10) 62%,
      rgba(255, 255, 255, 0.5) 88%,
      var(--paper) 100%);
}

/* ── the title page: the masthead is the index ── */
.almanack {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.1rem 1.2rem 1.5rem;
  text-align: center;
  border-bottom: 4px double rgba(var(--ink-rgb), 0.3);
}

.almanack__title {
  font-family: "IM Fell English SC", serif;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
}
/* the contents line: the kinds, touch one to sift the issue */
.almanack__contents {
  margin: 0.55rem 0 0;
  font-family: "IM Fell English SC", serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.almanack__contents button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: var(--muted);
}
.almanack__contents button sup {
  color: var(--accent);
  font-size: 0.72em;
  margin-left: 0.08rem;
}
.almanack__contents button:hover { color: var(--accent); }
.almanack__contents button[aria-pressed="true"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.almanack__imprint {
  margin: 0.85rem 0 0;
  font-family: "IM Fell English SC", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ── the margin: the finding aid & the kalendar ── */
.kalendar__head {
  font-family: "IM Fell English SC", serif;
  font-weight: normal;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.finding-aid {
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--hairline);
}
.finding-aid__box { display: block; }
.finding-aid__label {
  display: block;
  font-family: "IM Fell English SC", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.finding-aid__input {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 0.2rem 0;
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink);
}
.finding-aid__input:focus { outline: none; border-bottom-color: var(--accent); }
.finding-aid__input::placeholder { color: var(--muted); opacity: 0.7; }
.finding-aid__input::-webkit-search-cancel-button { appearance: none; }
.finding-aid__status {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
}

/* ── the explanation of this almanack: folded away, as is traditional ── */
.explanation {
  max-width: var(--measure);
  margin: 1.4rem auto 0;
  padding: 0 1.2rem;
  text-align: center;
}
.explanation summary {
  cursor: pointer;
  list-style: none;
  font-family: "IM Fell English SC", serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.explanation summary::before { content: "\27E8 "; color: var(--accent); }
.explanation summary::after { content: " \27E9"; color: var(--accent); }
.explanation summary:hover { color: var(--accent); }
.explanation[open] summary { margin-bottom: 0.7rem; }
.explanation__body p {
  margin: 0 auto;
  max-width: 32em;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
}
.explanation__body em { color: var(--ink); }

/* ── finis ── */
.finis { text-align: center; margin: 2.4rem 0 1.2rem; }
.finis .fleuron { margin: 0 auto 0.7rem; }
.finis span {
  display: block;
  font-family: "IM Fell English SC", serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── the kinds, told apart at a glance ── */
.seed__kind {
  font-family: "IM Fell English SC", serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.seed--essay .seed__kind { color: var(--accent); }

/* a seed: a jotting, set like one */
.seed--seed .seed__body {
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 1.06rem;
}
.seed--seed .seed__body::before {
  content: "❧";
  font-style: normal;
  color: var(--accent);
  margin-right: 0.45rem;
}

/* an essay: the drop cap marks the long form */
.seed--essay .seed__body > p:first-of-type::first-letter {
  font-family: "IM Fell English", serif;
  float: left;
  font-size: 3rem;
  line-height: 0.82;
  padding: 0.16rem 0.45rem 0 0;
  color: var(--accent);
}

/* a signpost: the host, small, beside the title */
.seed__title--link { font-size: 1.18rem; }
.seed__host {
  font-family: "Academica", Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

/* a likeness: hung in a hairline frame, captioned beneath */
.seed__plate { margin: 0.7rem 0 0; }
.seed__plate-frame {
  display: block;
  padding: 0.5rem;
  border: 1px solid var(--hairline);
  text-decoration: none;
}
.seed__plate-frame img { display: block; width: 100%; height: auto; }
.seed__plate-cap {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.seed__plate-cap .seed__caption p { display: inline; margin: 0; font-style: italic; }
.seed__credit { display: block; margin-top: 0.15rem; font-size: 0.78rem; }

/* the finding aid, come up empty */
.seedbed-empty {
  font-style: italic;
  color: var(--muted);
}
.seedbed-empty button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-style: italic;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.seedbed-empty button:hover { color: var(--accent); }

/* tag archive pages */
.tag-back { font-size: 0.9rem; }
.tag-back a { text-decoration: none; }
.tag-title {
  font-family: "IM Fell English", serif;
  font-weight: normal;
  font-size: 1.6rem;
  margin: 0.4rem 0 1.4rem;
}

/* ═══════════ goodreads: the commonplace book ═══════════ */

/* the study banner — same crop idiom as the seeds, but warm:
   the page is lit by the astronomer's candle, not the moon */
.candle { height: clamp(13rem, 34vh, 18rem); }
.candle img { object-position: 50% 42%; }
.candle__scrim {
  background: linear-gradient(to bottom,
    rgba(24, 14, 6, 0.25) 0%,
    rgba(24, 14, 6, 0) 30%,
    rgba(58, 34, 12, 0.08) 62%,
    rgba(255, 255, 255, 0.55) 88%,
    var(--paper) 100%);
}

/* the tally on the section bar */
.bar-note {
  font-family: "Academica", Georgia, serif;
  font-style: italic;
  letter-spacing: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* iqraʾ — the epigraph of the ledger */
.iqra { padding-bottom: 1.2rem; }
.iqra__note {
  margin: 1.4rem auto 0;
  max-width: 30em;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
}

/* the key: how the marks read */
.marks {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0.55rem 1.2rem 0.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: 0.82rem;
  color: var(--muted);
}
.marks__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.marks__item em { color: var(--ink); }
.mark { width: 1.05rem; height: 1.05rem; flex: none; }
.mark--seal { color: var(--accent); }
.mark--flame { color: #b06a1f; }
.mark--ribbon { color: var(--muted); }

/* the ledger: books hung on the spine, newest touch first */
.ledger { max-width: 52rem; margin: 0 auto; padding-top: 2rem; }
.ledger__list { list-style: none; margin: 0; padding: 0; }
.tome {
  display: grid;
  grid-template-columns: 6.2rem 1.4rem 1fr;
  padding: 1.6rem 0;
}
.tome + .tome { border-top: 1px dotted var(--hairline); }
.tome .tick {
  position: relative;
  align-self: stretch;
  border-left: 1px solid var(--hairline);
}
.tome .tick::before {
  content: "";
  position: absolute;
  left: -3.5px;
  /* dot center meets the date's mid-line: 15px + half the 6px dot */
  top: 0.94em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.tome--reading .tick::before {
  background: var(--accent);
  animation: pulse-dot 2.4s infinite;
}
.tome__when {
  text-align: right;
  padding-right: 0.75rem;
  /* one line, always: mid-line sits a touch below the spine dot */
  padding-top: 0.73rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}
.tome__body {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}

/* the cover: leaning against the shelf, straightens when touched */
.tome__cover {
  position: relative;
  flex: none;
  width: 7.5rem;
  transform: rotate(-2deg);
  transition: transform 0.35s ease;
}
.tome__cover img {
  display: block;
  width: 100%;
  box-shadow: 2px 4px 14px rgba(var(--ink-rgb), 0.28);
  border: 1px solid rgba(var(--ink-rgb), 0.2);
}
.tome__cover[role="button"] { cursor: pointer; }
.tome__cover[role="button"]:focus-visible { outline: 1px dotted var(--accent); outline-offset: 3px; }
.tome:hover .tome__cover,
.tome:focus-within .tome__cover { transform: rotate(0deg) translateY(-2px); }
.tome--laid-aside .tome__cover img {
  filter: grayscale(0.85) sepia(0.12);
  opacity: 0.62;
}
.tome--reading .tome__cover img {
  box-shadow: 0 0 22px rgba(214, 138, 46, 0.4), 2px 4px 14px rgba(var(--ink-rgb), 0.28);
}

/* the badges on the cover's corner */
.tome__badge { position: absolute; }
.tome__badge.seal {
  right: -0.7rem;
  bottom: -0.7rem;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(var(--ink-rgb), 0.35));
}
.tome__badge.ribbon {
  right: 0.35rem;
  top: -0.35rem;
  width: 1.1rem;
  height: 1.9rem;
  color: #8d2f26;
  filter: drop-shadow(0 1px 2px rgba(var(--ink-rgb), 0.3));
}
.tome__badge.flame {
  left: 50%;
  top: -1.15rem;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateX(-50%);
  color: #c07a24;
}
.tome__badge.flame svg {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 90%;
  animation: flicker 1.6s ease-in-out infinite;
}
.tome__badge.flame .flame__glow {
  position: absolute;
  inset: -0.9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 152, 52, 0.5) 0%, rgba(224, 152, 52, 0) 65%);
  animation: glow-breathe 1.6s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-1.5deg); }
  30% { transform: scale(1.08, 1.14) rotate(1.6deg); }
  55% { transform: scale(0.94, 0.97) rotate(-2.4deg); }
  80% { transform: scale(1.04, 1.1) rotate(0.8deg); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .tome__badge.flame svg, .flame__glow { animation: none; }
}

/* the words beside the cover */
.tome__meta { min-width: 0; }
.tome__title {
  font-family: "IM Fell English", serif;
  font-weight: normal;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}
.tome--laid-aside .tome__title { color: var(--muted); }
.tome__author { margin: 0.15rem 0 0; font-style: italic; color: var(--muted); }
.tome__dates { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--muted); }
.tome__state {
  margin: 0.35rem 0 0;
  font-family: "IM Fell English SC", serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.tome--laid-aside .tome__state { color: var(--muted); }

/* the marginalia: a folded slip of handwriting */
.marginalia { margin-top: 0.7rem; max-width: 30rem; }
.marginalia summary {
  cursor: pointer;
  list-style: none;
  font-family: "IM Fell English SC", serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  width: fit-content;
}
.marginalia summary::-webkit-details-marker { display: none; }
.marginalia__cue {
  width: 0.72rem;
  height: 0.72rem;
  vertical-align: -0.18em;
  transition: transform 0.25s ease;
}
.marginalia[open] .marginalia__cue { transform: rotate(90deg); }
.marginalia__hint {
  font-family: "Academica", Georgia, serif;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--muted);
}
.marginalia[open] .marginalia__hint { display: none; }
.marginalia summary:hover .marginalia__cue { transform: translateX(0.2rem); }
.marginalia[open] summary:hover .marginalia__cue { transform: rotate(90deg); }
.marginalia__paper {
  position: relative;
  margin-top: 0.7rem;
  padding: 1rem 1.3rem 0.9rem;
  background: linear-gradient(to bottom right, #fdfaf2, #f7f1e2);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  box-shadow: 0 3px 12px rgba(var(--ink-rgb), 0.1);
  transform: rotate(-0.5deg);
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  line-height: 1.25;
}
.marginalia[open] .marginalia__paper { animation: unfold 0.4s ease; }
@keyframes unfold {
  from { opacity: 0; transform: rotate(-0.5deg) translateY(-0.4rem); }
  to { opacity: 1; transform: rotate(-0.5deg) translateY(0); }
}
.marginalia__paper p { margin: 0 0 0.6rem; }
.marginalia__paper p:last-of-type { margin-bottom: 0; }
.marginalia__ornament {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.5rem;
}

.ledger__colophon {
  margin: 2.4rem 0 0;
  text-align: center;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ═══════════ the wide sheet ═══════════ */
@media (min-width: 64rem) {
  .content--wide { max-width: 84rem; }
}

/* ═══════════ mobile ═══════════ */

@media (max-width: 46rem) {
  /* the tally panel floats over the text as a popover — no pushing, no clipping.
     (the counter stops being the containing block; the leaf takes over) */
  .life-counter { position: static; }
  .life-counter__panel {
    bottom: auto;
    left: 0.9rem;
    right: 0.9rem;
    min-width: 0;
    white-space: normal;
    transform: none;
    box-shadow: 0 6px 18px rgba(var(--ink-rgb), 0.16);
  }
  .life-counter:hover .life-counter__panel,
  .life-counter:focus .life-counter__panel { transform: none; }
  body { font-size: 16px; }
  .night { height: 16rem; }
  .night__nav { flex-direction: column; gap: 0.3rem; }
  .night__nav ul { gap: 1.1rem; }
  .night__nav li a { font-size: 0.88rem; }
  .nav-bar { flex-wrap: wrap; gap: 0.3rem 1rem; }
  .site-nav ul { gap: 1rem; }
  .register li { grid-template-columns: 4.6rem 1.1rem 1fr; }
  .pulse__time { font-size: 0.78rem; padding-right: 0.55rem; }
  .seeds-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .tome { grid-template-columns: 5.2rem 1.1rem 1fr; }
  .tome__when { font-size: 0.74rem; padding-right: 0.55rem; }
  .tome__body { gap: 1.1rem; }
  .tome__cover { width: 5.5rem; }
  .tome__title { font-size: 1.25rem; }
  .marginalia { max-width: none; }
  /* the slip borrows the cover's width and reads edge to edge */
  .marginalia__paper { margin-left: -6.6rem; font-size: 1.3rem; }
  .marks { gap: 0.35rem 1.1rem; }
  .seeds-cal { border-bottom: 1px solid var(--hairline); padding-bottom: 1rem; }
  .issue__head { flex-direction: column; gap: 0.1rem; }
  .seed__plate-frame { padding: 0.35rem; }
  .seed--essay .seed__body > p:first-of-type::first-letter { font-size: 2.6rem; }
  .signature { margin-right: 0.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   the seedbed — a cabinet of leaves
   The typography, white paper, hairlines, and warm accent belong to the
   rest of the site. Only the arrangement changes: an index becomes a wall.
   ═══════════════════════════════════════════════════════════════ */

.seed-forge {
  max-width: 80rem;
  height: clamp(15rem, 42vw, 25rem);
  margin: 0 auto;
  background: #241711;
}
.seed-forge img {
  object-position: 50% 58%;
  filter: saturate(0.88) contrast(1.03);
}
.seed-forge .forge__scrim {
  background:
    linear-gradient(to right, rgba(31,16,9,0.25), transparent 38%, rgba(31,16,9,0.1)),
    linear-gradient(to bottom, rgba(31,16,9,0.08) 40%, rgba(255,255,255,0.2) 82%, var(--paper) 100%);
}
.seed-forge__caption {
  position: absolute;
  right: clamp(1rem, 3vw, 2.4rem);
  bottom: 1.2rem;
  z-index: 2;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.65);
  color: rgba(255,255,255,0.88);
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
  text-shadow: 0 1px 7px rgba(0,0,0,0.8);
}

/* the padding stands in for the section bar the sheet no longer wears */
.seed-frontispiece {
  max-width: 60rem;
  margin: 0 auto;
  padding: 4.9rem 1.2rem 2.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.65fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}
.seed-frontispiece__label {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-family: "IM Fell English SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.seed-frontispiece__name {
  margin: 0;
  font-family: "IM Fell English", serif;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
}
.seed-frontispiece__dek {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-family: "IM Fell English", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
}
.seed-frontispiece__numbers {
  padding-left: 1.1rem;
  border-left: 1px solid var(--hairline);
}
.seed-frontispiece__numbers dl { margin: 0; }
.seed-frontispiece__numbers dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.25rem 0;
  border-bottom: 1px dotted var(--hairline);
}
.seed-frontispiece__numbers dt {
  color: var(--muted);
  font-family: "IM Fell English SC", serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.seed-frontispiece__numbers dd { margin: 0; font-size: 0.82rem; text-align: right; }

/* The finding aid is the head of the cabinet: it spans the same sheet and its
   lower rule is the cabinet's head rule, so there is no second bar. */
.seed-tools {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0.95rem 1.25rem 0.85rem;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(20rem, 1.8fr);
  grid-template-areas: "search kinds" "search months" "status status";
  gap: 0.35rem 2.4rem;
  border-top: 1px solid var(--ink);
  font-size: 0.8rem;
}
.seed-tools__search { grid-area: search; padding-right: 1.5rem; border-right: 1px dotted var(--hairline); }
.seed-tools__row:first-of-type { grid-area: kinds; }
.seed-tools__row:nth-of-type(2) { grid-area: months; }
.seed-tools__status { grid-area: status; min-height: 0; margin: 0; color: var(--muted); font-size: 0.72rem; font-style: italic; text-align: right; }
.seed-tools__label {
  display: block;
  color: var(--muted);
  font-family: "IM Fell English SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.seed-tools__searchline { display: flex; align-items: baseline; gap: 0.45rem; }
.seed-tools__search input {
  width: 100%;
  min-width: 0;
  padding: 0.15rem 0;
  border: 0;
  border-bottom: 1px dotted var(--hairline);
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: italic 0.9rem "Academica", Georgia, serif;
}
.seed-tools__search input:focus { border-bottom-color: var(--accent); }
.seed-tools__search input::placeholder { color: var(--muted); opacity: 0.7; }
.seed-tools__search input::-webkit-search-cancel-button { appearance: none; }
.seed-tools kbd {
  padding: 0 0.28rem;
  border: 1px solid var(--hairline);
  color: var(--muted);
  background: transparent;
  font: 0.68rem "Academica", serif;
}
.seed-tools__row { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.8rem; align-items: baseline; }
.seed-tools__choices { display: flex; flex-wrap: wrap; gap: 0.05rem 0.85rem; }
.seed-tools button {
  appearance: none;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-style: italic;
}
.seed-tools button sup { margin-left: 0.08rem; color: var(--accent); font-size: 0.68em; font-style: normal; }
.seed-tools button:hover { color: var(--accent); }
.seed-tools button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* A quiet cabinet of leaves, ruled like a printed sheet.

   Every rule is drawn once, by whichever part owns it:
     · the cabinet draws the head rule;
     · the middle stack draws both walls, so the walls run exactly as deep as
       that stack and no deeper — it alone says where the ruling stops;
     · each leaf draws the rule beneath itself, so a stack closes at its own
       last leaf, however tall its neighbours are.
   There are no outer walls: the sheet is open at the left and the right. */
.seed-cabinet {
  position: relative;
  max-width: 82rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "first second third" "empty empty empty";
  align-items: start;
  border-top: 1px solid var(--ink);
}
.seed-cabinet__column { min-width: 0; }
.seed-cabinet__column:nth-child(1) { grid-area: first; }
.seed-cabinet__column:nth-child(2) {
  grid-area: second;
  border-left: 1px dotted var(--ink);
  border-right: 1px dotted var(--ink);
}
.seed-cabinet__column:nth-child(3) { grid-area: third; }
.seed-cabinet__column > .seed,
.seed-cabinet__column > .seed-month {
  margin: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  border-bottom: 1px dotted var(--ink);
}
/* the foot of a stack is open: no bar closes the entries */
.seed-cabinet__column > :last-child { border-bottom: 0; }
.seed-cabinet__column > .seed { position: relative; }
.seed-cabinet .seed__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dotted var(--hairline);
}
.seed-cabinet .seed__time {
  display: block;
  grid-column: 1;
  grid-row: 1;
  color: var(--ink);
  font-family: "IM Fell English SC", serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.seed-cabinet .seed__kind {
  display: block;
  grid-column: 1;
  grid-row: 2;
  color: var(--muted);
  font-size: 0.68rem;
}
.seed-cabinet .seed__entry-no {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  color: var(--muted);
  font-size: 0.68rem;
}
.seed-cabinet .seed__title {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  line-height: 1.12;
}
.seed-cabinet .seed__body { margin-top: 0.45rem; text-align: left; }
.seed-cabinet .seed__body p { margin: 0 0 0.7rem; }
.seed-cabinet .seed__body p:last-child { margin-bottom: 0; }
.seed-cabinet .seed__foot { padding-top: 0.45rem; border-top: 1px dotted var(--hairline); }

.seed-month {
  min-height: 9.5rem;
  text-align: left;
}
.seed-month::before {
  content: "";
  display: block;
  height: 1.8rem;
}
.seed-month p {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-family: "IM Fell English SC", serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.seed-month h2 {
  margin: 0;
  font-family: "IM Fell English", serif;
  font-size: 2.7rem;
  font-weight: normal;
  line-height: 0.78;
  letter-spacing: -0.025em;
}
.seed-month h2 span { color: var(--muted); font-size: 0.5em; letter-spacing: 0; }
.seed-month small { margin-top: 0.9rem; color: var(--muted); font-style: italic; }

/* The kinds have different typographic temperaments, not different brands. */
.seed-cabinet .seed--essay {
  padding-top: 1.4rem;
  padding-bottom: 1.6rem;
}
.seed-cabinet .seed--essay .seed__title { font-size: 1.75rem; }
.seed-cabinet .seed--essay .seed__body { font-size: 0.96rem; line-height: 1.62; }
.seed-cabinet .seed--essay .seed__body > p:first-of-type::first-letter { font-size: 2.75rem; }
.seed-cabinet .seed--seed { padding-left: 2.1rem; }
.seed-cabinet .seed--seed::before {
  content: "❧";
  position: absolute;
  left: 0.75rem;
  top: 3.6rem;
  color: var(--accent);
  font-size: 1rem;
}
.seed-cabinet .seed--seed .seed__body { font-size: 1.16rem; line-height: 1.48; }
.seed-cabinet .seed--seed .seed__body::before { content: none; }
.seed-cabinet .seed--note .seed__body { font-size: 0.94rem; }
.seed-cabinet .seed--quote {
  padding-top: 1.45rem;
  padding-bottom: 1.55rem;
}
.seed-cabinet .seed__quote { position: relative; margin-top: 0.7rem; }
.seed-cabinet .seed__quote::before {
  content: "“";
  display: block;
  height: 0.45em;
  margin-left: -0.04em;
  color: var(--accent);
  font: 3.2rem/0.65 "IM Fell English", serif;
  opacity: 0.3;
}
.seed-cabinet .seed__quote blockquote {
  padding: 0;
  border: 0;
  font-size: 1.32rem;
  line-height: 1.4;
}
.seed-cabinet .seed__quote figcaption { margin-left: 0; }
.seed-cabinet .seed--link .seed__title::before {
  content: "☞";
  margin-right: 0.35rem;
  color: var(--accent);
  font-variant-emoji: text;
}
.seed-cabinet .seed__host { font-size: 0.72rem; }
.seed__rating {
  margin: 0.8rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px dotted var(--hairline);
  color: var(--muted);
  font-size: 0.72rem;
  font-style: italic;
  text-align: right;
}
.seed__rating span { float: left; }
.seed__rating strong { color: var(--accent); font: normal 1.3rem "IM Fell English", serif; }
.seed-cabinet .seed--photo { padding: 0.6rem; }
.seed-cabinet .seed--photo .seed__head { margin: 0.45rem 0.55rem 0.7rem; }
.seed-cabinet .seed__plate { margin-top: 0; }
.seed-cabinet .seed__plate-frame { padding: 0; border: 0; }
.seed-cabinet .seed__plate-frame img { max-height: 28rem; object-fit: cover; }
.seed-cabinet .seed__plate-cap { padding: 0 0.55rem; }
.seed-cabinet .seed--photo > .seed__body { padding: 0 0.55rem 0.3rem; color: var(--muted); font-size: 0.86rem; }
.seed-cabinet .seed--photo > .seed__foot { margin: 0 0.55rem 0.35rem; }

/* the sheets: the seedbed runs long before it turns a leaf */
.seed-sheets {
  max-width: 82rem;
  margin: 1.6rem auto 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.seed-sheets a { text-decoration: none; }
.seed-sheets { padding-bottom: 2.4rem; }
.seed-sheets a:hover { color: var(--accent); }
.seed-sheets__step { font-style: italic; }
.seed-sheets__step.is-spent { color: var(--muted); opacity: 0.55; }
.seed-sheets__nos {
  display: flex;
  gap: 0.9rem;
  font-family: "IM Fell English SC", serif;
  letter-spacing: 0.06em;
}
.seed-sheets__nos [aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.seed-cabinet .seedbed-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 48rem) {
  .seed-forge { height: 17rem; }
  .seed-forge img { object-position: 48% 55%; }
  .seed-forge__caption { font-size: 0.62rem; }
  .seed-frontispiece { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.6rem; }
  .seed-frontispiece__name { font-size: 4.2rem; }
  .seed-frontispiece__numbers { max-width: 22rem; }
  .seed-tools {
    grid-template-columns: 1fr;
    grid-template-areas: "search" "kinds" "months" "status";
    gap: 0.85rem;
  }
  .seed-tools__search { padding: 0 0 0.8rem; border-right: 0; border-bottom: 1px dotted var(--hairline); }
  .seed-tools__row { grid-template-columns: 1fr; gap: 0.2rem; }
  .seed-tools__status { text-align: left; }
  .seed-cabinet {
    margin: 0 0.8rem;
    grid-template-columns: 1fr;
    grid-template-areas: "first" "second" "third" "empty";
    align-items: start;
  }
  /* Stacked one above another, the walls have nothing to divide. */
  .seed-cabinet__column:nth-child(2) { border: 0; }
  .seed-month { min-height: 8rem; }
  .seed-sheets { margin: 1.4rem 0.8rem 0; }
}
