/* ============================================================
   THE WELCOME — archive.css
   The Seasons pages: the collected writing, 2013 onward.

   Loaded AFTER style.css and adds to it. It defines no colours,
   no typefaces and no spacing of its own — every value below is
   a variable already declared in style.css. Nothing here
   overrides anything there.

   It also borrows the site's existing habits rather than
   inventing new ones: the lists below are the .chap-list idiom
   from poetry.html, and poems reuse .poem-block / .body exactly
   as that page already sets them.
   ============================================================ */

/* ---------- A list of works ---------- */
/* Date in the left column, title beside it. Hairline between
   each. The same shape as the chapbook list, one column wider. */

.work-list {
  max-width: var(--measure);
  margin: 32px auto 0;
  list-style: none;
  padding: 0;
}

.work-list li {
  display: flex;
  gap: 28px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--mist);
}
.work-list li:last-child { border-bottom: 1px solid var(--mist); }

.work-date {
  flex: 0 0 8.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.work-date em {
  font-style: normal;
  opacity: 0.85;
}

.work-detail { flex: 1 1 auto; min-width: 0; }

.work-title {
  font-family: var(--serif-display);
  font-size: 1.05rem;
  color: var(--pine-deep);
  text-decoration: none;
}
.work-title:hover { color: var(--lake); }

.work-note {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-top: 3px;
}

/* Pieces written about the farm by other people. Quiet, but
   never invisible — these are not his. */
.work-note.by-another {
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: normal;
  color: var(--ink-2);
}
.piece-attribution {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* ---------- The four seasons ---------- */

.season-list {
  max-width: var(--measure);
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
}

.season-list li {
  padding: 26px 0;
  border-top: 1px solid var(--mist);
}
.season-list li:last-child { border-bottom: 1px solid var(--mist); }

.season-years {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-bottom: 6px;
}

.season-name {
  font-family: var(--serif-display);
  font-size: 1.35rem;
  color: var(--pine-deep);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.season-name:hover { color: var(--lake); }

.season-desc {
  color: var(--ink-2);
  margin: 0 0 6px;
}

.season-count {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  opacity: 0.8;
  margin: 0;
}

.season-status {
  max-width: var(--measure);
  margin: 32px auto;
  font-style: italic;
  color: var(--ink-2);
}

/* ---------- A single piece ---------- */

.piece {
  max-width: var(--measure);
  margin: 0 auto;
}

.piece-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 32px;
  display: block;
}
.piece-date em { font-style: italic; text-transform: none; letter-spacing: 0.04em; }

.piece-note {
  font-style: italic;
  color: var(--ink-2);
  margin-bottom: 36px;
}

.piece-body { font-size: 1.02rem; }
.piece-body h2 {
  font-size: 1.25rem;
  margin-top: 2em;
}
.piece-body blockquote {
  margin: 1.6em 0;
  padding-left: 22px;
  border-left: 1px solid var(--mist);
  color: var(--ink-2);
  font-style: italic;
}
.piece-body ol,
.piece-body ul { padding-left: 1.3em; }
.piece-body li { margin-bottom: 0.9em; }
.piece-body .sig {
  font-size: 0.88rem;
  color: var(--ink-2);
  font-style: italic;
  margin-top: 2em;
}

/* The verse itself is set further down, under "Verse". */
.piece-postscript {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-top: 3em;
}

.piece-credit {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--mist);
}

.piece-nav {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.piece-nav a { color: var(--ink-2); text-decoration: none; }
.piece-nav a:hover { color: var(--pine); }
.piece-nav .next { margin-left: auto; text-align: right; }

/* ---------- Poems not yet brought over ---------- */

.piece-pending {
  color: var(--ink-2);
  font-style: italic;
}

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .work-list li { flex-direction: column; gap: 4px; }
  .work-date { flex-basis: auto; }
  .piece-nav { flex-direction: column; gap: 14px; }
  .piece-nav .next { margin-left: 0; text-align: left; }
}

/* A quiet line at the foot of a season, pointing at the printed
   volumes. Same weight as the other meta text — an aside, not a sell. */
.season-chapbooks {
  max-width: var(--measure);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--mist);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}

/* The preface to a season, in his own words. Set as body text, at the
   measure, so it reads as writing rather than as a caption. */
.season-preface {
  max-width: var(--measure);
  margin: 28px auto 8px;
}
.season-preface p { margin: 0 0 1.1em; }

/* ---- Writing page: archive + books rail ---- */
.writing-grid{display:grid;grid-template-columns:2fr 1fr;gap:56px;align-items:start}
.writing-rail{position:sticky;top:96px;margin-top:40px}
.rail-card{border:1px solid var(--mist);border-radius:10px;padding:26px 24px;background:var(--paper-warm)}
.rail-card h2{font-size:1.05rem;margin:0 0 10px}
.rail-card p{font-size:.9rem;line-height:1.6;margin:0 0 14px;color:var(--ink-2)}
.rail-titles{list-style:none;margin:0 0 18px;padding:0}
.rail-titles li{font-size:.86rem;line-height:1.5;padding:5px 0;border-top:1px solid var(--mist)}
.rail-titles li:first-child{border-top:none}
.rail-titles em{font-style:italic}
.season-list li .season-count.pending{opacity:.75}
@media (max-width: 900px){
  .writing-grid{grid-template-columns:1fr;gap:40px}
  .writing-rail{position:static;margin-top:0}
}

/* ---- Prairie Whole Farm mark ---- */
.season-logo{display:block;width:100%;height:auto;margin:8px 0 22px;}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.season-logo-kathmandu{width:min(320px,68%);height:auto;margin:2px 0 14px;opacity:.95}

/* ---- Verse: preserve the poet's line breaks and stanzas ---- */
.poem-block .body{
  white-space: pre-line;      /* honour every line break as written */
  font-family: var(--serif-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  max-width: var(--measure);
}
.poem-block .body em{font-style:italic}
.poem-block .body strong{font-weight:600}
.poem-block .body .indent{display:inline-block;padding-left:2.2em}


/* ---------- Kathmandu posts brought over from Substack ---------- */

.poem-block{margin:0 0 40px;}
.poem-block:last-of-type{margin-bottom:0;}

.piece-epigraph{
  font-family:var(--serif-body);
  font-style:italic;
  color:var(--ink-2);
  white-space:pre-line;
  max-width:var(--measure);
  margin:0 0 34px;
  padding-left:22px;
  border-left:1px solid var(--mist);
  line-height:1.7;
}
.piece-epigraph em{font-style:normal;}

.piece-figure{
  margin:0 0 40px;
  max-width:var(--measure);
}
.piece-figure img{
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
}

.piece-epigraph + .piece-cite{padding-left:23px;margin-top:-24px;}
.piece-cite{
  font-family:var(--sans);
  font-size:0.78rem;
  letter-spacing:0.02em;
  color:var(--ink-2);
  max-width:var(--measure);
  margin:-18px 0 34px;
}

.work-index{
  font-variant-numeric: tabular-nums;
  opacity:.8;
}


/* ---------- Season masthead: text aligned to the logo's left edge ---------- */

.season-masthead{
  width:100%;
  max-width:var(--measure);   /* the same measure the works below it use */
  margin:0 auto;
}
.season-masthead .lede{margin:0 0 6px;}

.season-place{
  font-family:var(--serif-body);
  font-style:normal;
  color:var(--ink-2);
  /* between the line above it (1.15rem) and the titles below it (1.05rem) */
  font-size:1.08rem;
  max-width:var(--measure);
  margin:0;
}

/* Table of contents with no date column */
.work-list li{gap:0;}

/* ---------- Forms ---------- */

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

.form-status{
  font-family:var(--sans);
  font-size:0.82rem;
  color:var(--ink-2);
  margin:14px 0 0;
  min-height:1.2em;
}
.form-status:empty{margin-top:0;}

.form-alt{
  font-family:var(--sans);
  font-size:0.8rem;
  color:var(--ink-2);
  margin:10px 0 0;
}
