/* biome-ignore-all lint/style/noDescendingSpecificity: state classes (.is-in, .is-current, data-walk-step) layer over base rules; source order is the cascade contract */
/* Home page, below the hero: set like a Field Notes edition (packages/content/editorial,
   succession planting is the reference). Two-part serif headlines that turn into italic, a
   margin column for labels and asides, numbered steps on hairline rules, a dark instrument
   panel with gold readings, a pull quote, and what the assistant looked up beside its answers.
   The renderer's garden is the page's picture; illustrations stay with the Field Notes shelf.
   The hero's leaf-green italic carries through, kept to the moments that turn (hero, seasons,
   quote, how it works, the ask, the closing). Clay stays off large type: buttons, numerals,
   and Field Notes' thin rules. Loaded only by index.html, after site.css and editorial.css.
   Its tokens, such as each season's ink, come from Lushly's tree as /site/theme/home.css. */

/* The year ------------------------------------------------------------ */

.year .season {
  display: grid;
  align-content: center;
  gap: 1.5rem;
}

.season-notes {
  display: grid;
}

.season-note {
  grid-area: 1 / 1;
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

.season-note:not(.is-active) {
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
}

.season-name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--season-ink);
}

.season-line {
  margin-block-start: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--moss);
  max-inline-size: 11ch;
  text-wrap: balance;
}

.season-line em {
  display: block;
  font-style: italic;
  color: var(--season-ink);
  transition: color 900ms var(--ease);
}

.season-text {
  margin-block-start: 1.25rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-inline-size: 30ch;
}

/* The calendar as the Field Notes instrument: deep forest, gold readings, a result line. */
.year .almanac {
  background: var(--fn-forest);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 40px 80px -48px rgba(16, 38, 29, 0.7);
}

.almanac-kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d3dec9;
}

.year .almanac-head h2 {
  margin-block-start: 0.4rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.year .zone-picker label:has(input:checked) {
  background: var(--fn-gold);
  border-color: var(--fn-gold);
  color: var(--fn-deep);
}

.almanac-takeaway {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-block-start: 1.25rem;
  padding-block: 1.25rem 0.25rem;
  border-block-start: 1px solid #55705a;
}

.takeaway-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fn-gold);
  white-space: nowrap;
}

.almanac-takeaway p:last-child {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #e4e8da;
  max-inline-size: 34rem;
}

.year .almanac-foot {
  color: #c3cfba;
}

/* Beside the words, the stage is pinned under the floating header; keep the panel clear of it. */
@media (min-width: 961px) {
  .year .year-stage {
    align-content: safe center;
    padding-block: 5.5rem 1rem;
  }
}

/* Short laptop screens: the same panel, set tighter so it fits whole under the header. */
@media (min-width: 961px) and (max-height: 860px) {
  .year .year-stage {
    padding-block: 5.25rem 0.75rem;
  }

  .year .almanac {
    padding-block: 1.25rem 0.9rem;
  }

  .almanac-kicker {
    display: none;
  }

  .year .almanac-head h2 {
    margin-block-start: 0;
    font-size: 1.5rem;
  }

  .year .almanac-head {
    margin-block-end: 0.5rem;
  }

  .almanac-takeaway {
    gap: 1rem;
    margin-block-start: 0.75rem;
    padding-block: 0.75rem 0;
  }

  .takeaway-number {
    font-size: 1.875rem;
  }

  .almanac-takeaway p:last-child {
    font-size: 0.8125rem;
  }

  .year .almanac-foot {
    margin-block-start: 0.4rem;
    font-size: 0.75rem;
  }
}

/* Very short windows: the dates live in the chart's own frost labels and the zone chips, so the
   meta line and the foot step aside to keep the result line in view while the stage is pinned. */
@media (min-width: 961px) and (max-height: 700px) {
  .year .year-stage {
    padding-block: 4.75rem 0.5rem;
  }

  .year .almanac-meta,
  .year .almanac-foot {
    display: none;
  }

  .almanac-takeaway p:last-child {
    font-size: 0.75rem;
  }
}

/* How it works: one garden, four steps -------------------------------- */

.walk {
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
}

.walk-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.walk-stage {
  position: sticky;
  inset-block-start: max(5.5rem, calc(50svh - min(34rem, 72svh) / 2));
  margin: 0;
}

.walk-sheet {
  position: relative;
  block-size: min(34rem, 72svh);
  overflow: hidden;
  border-radius: 1.125rem;
  background: radial-gradient(120% 90% at 50% 45%, #f7f7f0 0%, var(--fn-study) 60%, #e9ebe0 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 74, 44, 0.08);
}

/* Faint surveyor's grid behind the plan; it fades as the garden grows. */
.walk-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 74, 44, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 74, 44, 0.07) 1px, transparent 1px);
  background-size: 2rem 2rem;
  background-position: center;
  transition: opacity 900ms var(--ease);
}

.walk-stage:not([data-walk-step="1"]) .walk-sheet::before {
  opacity: 0.35;
}

.walk-garden {
  position: absolute;
  transition:
    transform 900ms var(--ease-out),
    opacity 700ms var(--ease);
}

/* Step four: the garden steps back and the same week opens in the app beside it. */
.walk-stage[data-walk-step="4"] .walk-garden {
  transform: translateX(-6%) scale(0.74);
  opacity: 0.7;
}

/* The app's task agenda, drawn in the app's own light theme (Violet tokens) as a placeholder. */
.walk-app {
  position: absolute;
  z-index: 6;
  inset-block-start: 50%;
  inset-inline-end: 7%;
  inline-size: min(17rem, 44%);
  padding: 0.9rem 0.85rem 1.4rem;
  overflow: hidden;
  border-radius: 1.6rem;
  background: var(--app-bg);
  box-shadow:
    0 0 0 6px #1f2a22,
    0 0 0 7px rgba(255, 255, 255, 0.12),
    0 40px 70px -30px rgba(16, 38, 29, 0.6);
  color: var(--app-text);
  font-family: var(--font-body);
  opacity: 0;
  translate: 0 calc(-50% + 1.5rem);
  transition:
    opacity 600ms var(--ease),
    translate 800ms var(--ease-out);
}

.walk-stage[data-walk-step="4"] .walk-app {
  opacity: 1;
  translate: 0 -50%;
  transition-delay: 250ms;
}

.walk-app-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block-end: 0.6rem;
  border-block-end: 1px solid var(--app-line);
}

.walk-app-bar i {
  inline-size: 0.85rem;
  block-size: 0.55rem;
  border-block: 1.5px solid var(--app-text-2);
  background: linear-gradient(var(--app-text-2), var(--app-text-2)) center / 100% 1.5px no-repeat;
}

.walk-app-bar .wordmark {
  block-size: 1.1rem;
  inline-size: auto;
  aspect-ratio: 108 / 64;
  color: var(--moss);
}

.walk-app-title {
  margin-block-start: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--app-text);
}

.walk-app-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-block: 0.55rem 0.35rem;
}

.walk-app-tools span {
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--app-line);
  border-radius: 4px;
  font-size: 0.625rem;
  color: var(--app-text-2);
}

.walk-app-tools .walk-app-add {
  margin-inline-start: auto;
  border-color: #c84f3b;
  background: #c84f3b;
  color: #fff;
}

.walk-app-group {
  margin-block-start: 0.7rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-text-2);
}

.walk-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.5rem;
  border-block-end: 1px solid var(--app-line);
}

.walk-app-row p {
  display: grid;
  gap: 0.15rem;
  min-inline-size: 0;
}

.walk-app-row strong {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--app-text);
}

.walk-app-row p span {
  font-size: 0.5625rem;
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.walk-app-actions {
  display: flex;
  flex: none;
  gap: 0.25rem;
}

.walk-app-actions i {
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--app-line);
  border-radius: 4px;
  font-size: 0.625rem;
  font-style: normal;
  color: var(--app-text-2);
}

.walk-app-row em {
  flex: none;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: #ddeadf;
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 500;
  color: #244635;
}

/* Without the script (or its data) the plan is simply the picture. */
.walk-stage:not(.is-live) .walk-garden {
  inset: 0;
}

.walk-stage:not(.is-live) .walk-plan {
  position: absolute;
  inset: 12% 10%;
  inline-size: 80%;
  block-size: 76%;
  object-fit: contain;
}

.walk-stage:not(.is-live) .walk-drawer,
.walk-stage:not(.is-live) .walk-week,
.walk-stage:not(.is-live) .walk-scale,
.walk-stage:not(.is-live) .walk-app {
  display: none;
}

.walk-plan {
  position: absolute;
  z-index: 2;
  transform-origin: 0 0;
  transform: var(--plan-flat);
  border-radius: 2px;
  box-shadow: 0 24px 50px -30px rgba(31, 46, 29, 0.55);
  transition:
    transform 1300ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 700ms var(--ease) 900ms;
}

.walk-stage.is-live:not([data-walk-step="1"]) .walk-plan {
  transform: var(--plan-lying);
  opacity: 0;
}

.walk-frame {
  position: absolute;
  opacity: 0;
  transition: opacity 900ms var(--ease) 700ms;
}

.walk-stage:not([data-walk-step="1"]) .walk-frame {
  opacity: 1;
}

/* Pencil annotations on the flat plan. */
.walk-notes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity 500ms var(--ease);
}

.walk-stage:not([data-walk-step="1"]) .walk-notes {
  opacity: 0;
}

.walk-note {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fn-muted);
}

.walk-note strong {
  font-style: normal;
  font-weight: 600;
  color: var(--moss);
}

.walk-note--place {
  inset-block-start: 1.1rem;
  inset-inline-start: 1.4rem;
}

.walk-note--place strong {
  display: block;
}

.walk-note--frost {
  inset-block-end: 1rem;
  inset-inline-start: 1.4rem;
}

.walk-north {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1.4rem;
  inline-size: 1.5rem;
  fill: var(--moss);
}

.walk-north text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
}

.walk-scale {
  position: absolute;
  inset-block-end: 1.1rem;
  inset-inline-end: 1.4rem;
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  font-size: 0.6875rem;
  color: var(--fn-muted);
}

.walk-scale i {
  display: block;
  inline-size: var(--scale-bar, 4rem);
  block-size: 0.35rem;
  border: 1px solid var(--moss);
  border-block-start: 0;
}

/* Bed names, then this week's work, on the ground they belong to. */
.walk-tag,
.walk-pin {
  position: absolute;
  z-index: 4;
  margin: 0;
  translate: -50% -100%;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 500ms var(--ease),
    translate 600ms var(--ease-out);
  transition-delay: calc(900ms + var(--i, 0) * 90ms);
}

.walk-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 250, 243, 0.92);
  box-shadow: 0 0 0 1px rgba(46, 74, 44, 0.18);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--moss);
}

.walk-stage[data-walk-step="2"] .walk-tag {
  opacity: 1;
  translate: -50% calc(-100% - 0.25rem);
}

/* Large reader text wraps a note rather than pushing it off the sheet. */
.walk-pin {
  translate: -50% -50%;
  white-space: normal;
  inline-size: max-content;
  max-inline-size: 13rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: 0.5rem;
  background: var(--linen);
  box-shadow:
    0 0 0 1px rgba(46, 74, 44, 0.16),
    0 10px 24px -14px rgba(22, 37, 26, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--moss);
  transition-delay: calc(300ms + var(--i, 0) * 140ms);
}

/* Leaders from each note to its bed, drawn in the sheet's own pixels. */
.walk-leaders {
  position: absolute;
  inset: 0;
  z-index: 4;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}

.walk-leaders g {
  opacity: 0;
  filter: drop-shadow(0 0 1.5px rgba(251, 250, 243, 0.95));
  transition: opacity 500ms var(--ease);
  transition-delay: calc(300ms + var(--i, 0) * 140ms);
}

.walk-leaders line {
  stroke: var(--moss);
  stroke-width: 1.25;
}

.walk-leaders circle {
  fill: var(--linen);
  stroke: var(--moss);
  stroke-width: 1.5;
}

.walk-stage[data-walk-step="3"] .walk-leaders g {
  opacity: 1;
}

.walk-pin span {
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  background: var(--fn-gold);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fn-deep);
}

.walk-stage[data-walk-step="3"] .walk-pin {
  opacity: 1;
}

/* The seed drawer, a ledger card in the corner of step two. */
.walk-drawer {
  position: absolute;
  z-index: 5;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  inline-size: min(15rem, 44%);
  padding: 0.85rem 1rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(251, 250, 243, 0.94);
  box-shadow:
    0 0 0 1px rgba(46, 74, 44, 0.14),
    0 18px 36px -24px rgba(22, 37, 26, 0.6);
  opacity: 0;
  translate: 0 0.75rem;
  transition:
    opacity 600ms var(--ease),
    translate 700ms var(--ease-out);
}

.walk-stage[data-walk-step="2"] .walk-drawer {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1400ms;
}

.walk-drawer-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--moss);
}

.walk-drawer ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.walk-drawer li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.3rem;
  border-block-start: 1px solid var(--fn-line);
  font-size: 0.75rem;
  color: var(--ink);
}

.walk-drawer li span:last-child {
  color: var(--fn-muted);
  white-space: nowrap;
}

.walk-week {
  position: absolute;
  z-index: 5;
  inset-block-start: 1rem;
  inset-inline-start: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--fn-muted);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}

.walk-week span {
  font-style: normal;
  font-weight: 600;
  color: var(--moss);
}

.walk-stage[data-walk-step="3"] .walk-week {
  opacity: 1;
  transition-delay: 300ms;
}

.walk-caption {
  display: grid;
  margin-block-start: 0.9rem;
  font-size: 0.75rem;
  color: var(--fn-muted);
}

.walk-caption span {
  grid-area: 1 / 1;
  transition: opacity 400ms var(--ease);
}

.walk-stage[data-walk-step="1"] .walk-caption span:not([data-walk-caption="1"]),
.walk-stage[data-walk-step="2"] .walk-caption span:not([data-walk-caption="2"]),
.walk-stage[data-walk-step="3"] .walk-caption span:not([data-walk-caption="3"]),
.walk-stage[data-walk-step="4"] .walk-caption span:not([data-walk-caption="4"]) {
  opacity: 0;
}

/* The steps: Field Notes' numbered methods on hairlines, one screen apart. */
.walk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.walk-step {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  min-block-size: 78svh;
  padding-block: 2rem;
  border-block-start: 1px solid var(--fn-line);
}

.walk-step:first-child {
  min-block-size: 64svh;
  align-content: start;
  padding-block-start: 1.5rem;
}

.walk-step:last-child {
  min-block-size: 70svh;
}

/* The current step takes a heavier rule and a filled numeral; the others stay fully legible. */
.walk-body.is-live .walk-step.is-current {
  border-block-start-color: var(--moss);
  box-shadow: inset 0 1px 0 var(--moss);
}

.walk-step .ed-num {
  justify-self: start;
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
  transition:
    background-color 400ms var(--ease),
    color 400ms var(--ease);
}

.walk-body.is-live .walk-step.is-current .ed-num {
  background: var(--fn-gold);
  color: var(--fn-deep);
}

.walk-step h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.walk-step p:not(.ed-num) {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-inline-size: 30rem;
}

.walk-step .walk-aside {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 500;
  color: var(--fn-muted);
}

.walk-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  max-inline-size: 28rem;
}

.walk-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  padding-block: 0.55rem;
  border-block-start: 1px solid var(--fn-line);
  color: var(--ink);
}

.walk-list span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fn-clay);
  padding-block-start: 0.2rem;
}

/* Ask Lushly: an interview with its sources in the margin ------------- */

.ask-main h2 {
  margin-block-start: 0;
}

.ask {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: linear-gradient(var(--linen), #f4f1e4 18%, #f4f1e4 82%, var(--linen));
  padding-block-end: clamp(3rem, 6vw, 5rem);
}

/* The sources follow the conversation in reading order and sit in the margin beside it. */
.ask .ed-margin {
  grid-column: 1;
  grid-row: 1;
}

.ask-main {
  grid-column: 2;
}

.why-title {
  margin-block: 2.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.why {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fn-muted);
}

.why li::marker {
  color: var(--fn-clay);
  font-size: 0.75rem;
}

.why strong {
  display: block;
  font-weight: 600;
  color: var(--moss);
}

.ask .exchange {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  gap: 1.75rem;
  min-block-size: 22rem;
  max-inline-size: 44rem;
}

.exchange-note {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.exchange-note span {
  margin-inline-start: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--fn-muted);
}

.ask .exchange .you {
  align-self: stretch;
  max-inline-size: none;
  padding: 0 0 0 1.25rem;
  border-radius: 0;
  border-inline-start: 2px solid var(--fn-clay);
  background: none;
}

.ask .exchange .you p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--moss);
}

.ask .exchange .lushly {
  gap: 1rem;
}

.ask .exchange .lushly .wordmark {
  block-size: 1.75rem;
  color: var(--moss);
}

.ask .exchange .lushly p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
}

/* The buy list as the assistant shows it: a small card inside the answer, which waits with
   the answer's words while the typing dots play. */
.exchange .lushly.is-typing .buy-card {
  display: none;
}

.buy-card {
  margin-block-start: 1rem;
  max-inline-size: 30rem;
  padding: 0.9rem 1.1rem 0.6rem;
  border-radius: 0.75rem;
  background: var(--linen);
  box-shadow:
    0 0 0 1px rgba(46, 74, 44, 0.14),
    0 16px 32px -24px rgba(22, 37, 26, 0.5);
}

.ask .exchange .lushly .buy-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--moss);
}

.buy-card-title span {
  margin-inline-start: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--fn-muted);
}

.buy-card ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.buy-card li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.15rem 1rem;
  padding-block: 0.45rem;
  border-block-start: 1px solid var(--fn-line);
  font-size: 0.875rem;
  color: var(--fn-muted);
}

.buy-card li span:last-child {
  font-size: 0.8125rem;
}

/* What still has to be bought leads; what's covered reads quieter. */
.buy-card li.is-needed {
  color: var(--ink);
}

.buy-card li.is-needed span:first-child {
  font-weight: 500;
}

.buy-card li.is-needed span:first-child::before {
  content: "";
  display: inline-block;
  inline-size: 0.45rem;
  block-size: 0.45rem;
  margin-inline-end: 0.5rem;
  border-radius: 999px;
  background: var(--fn-gold);
  vertical-align: 0.1em;
}

.ask-note {
  margin-block-start: 1.5rem;
  font-size: 0.875rem;
  color: var(--fn-muted);
  max-inline-size: 36rem;
}

.ask-more {
  margin-block-start: 1.75rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--fn-line);
  font-size: 0.8125rem;
  color: var(--fn-muted);
}

.ask .exchange .typing i {
  background: var(--fn-muted);
}

/* Without the script the whole conversation shows, and there is nothing to replay. */
html:not(.js) .ask .replay {
  display: none;
}

.exchange-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.ask .replay {
  margin: 0;
  border-color: var(--rule-strong);
  color: var(--moss);
}

.ask .replay:hover {
  border-color: var(--moss);
}

.notes-link {
  margin-block-start: 2.5rem;
  font-weight: 500;
}

/* Field Notes: a lead and a shelf -------------------------------------- */

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.notes-lead {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notes-lead img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.125rem;
  background: var(--fn-study);
  transition: transform 900ms var(--ease-out);
  padding: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(46, 74, 44, 0.1);
}

.notes-lead:hover img {
  transform: scale(1.012);
}

.notes-kind {
  display: block;
  margin-block-start: 1.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fn-muted);
}

.notes-lead h3 {
  margin-block: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-inline-size: 18ch;
}

.notes-lead h3 em {
  font-style: italic;
  color: var(--leaf-ink);
}

.notes-dek {
  color: var(--ink-2);
  max-inline-size: 36rem;
}

.notes-read {
  display: inline-block;
  margin-block-start: 1.1rem;
  font-weight: 500;
  color: var(--moss);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.25em;
}

.notes-lead:hover .notes-read {
  text-decoration-color: currentColor;
}

.notes-credit {
  margin-block-start: 0.75rem;
  font-size: 0.75rem;
  color: var(--fn-muted);
}

.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notes-list li {
  border-block-start: 1px solid var(--fn-line);
}

.notes-list li:last-child {
  border-block-end: 1px solid var(--fn-line);
}

.notes-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 1.25rem;
  padding-block: 1.15rem;
  color: inherit;
  text-decoration: none;
}

.notes-list img {
  grid-row: 1 / 3;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0.6rem;
  background: var(--fn-study);
  padding: 0.25rem;
  box-shadow: inset 0 0 0 1px rgba(46, 74, 44, 0.1);
  display: none;
}

/* The title leads in reading order; the kind sits above it on the page. */
.notes-list .notes-kind {
  grid-row: 1;
  grid-column: 2;
  margin: 0.15rem 0 0;
}

.notes-list .notes-title {
  grid-row: 2;
  grid-column: 2;
  margin-block-start: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--moss);
}

.notes-list a:hover .notes-title {
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.2em;
}

/* Narrow screens -------------------------------------------------------- */

@media (max-width: 960px) {
  .walk-body,
  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ask .ed-margin,
  .ask-main {
    grid-column: 1;
    grid-row: auto;
  }

  .ask .ed-margin > .ed-label {
    display: none;
  }

  .why-title {
    margin-block-start: 0;
  }

  /* The garden stays at the top while the steps pass beneath it. */
  .walk-stage {
    inset-block-start: 4.5rem;
    z-index: 2;
    padding-block-end: 0.5rem;
    background: var(--linen);
  }

  .walk-sheet {
    block-size: min(24rem, 44svh);
  }

  .walk-step,
  .walk-step:first-child,
  .walk-step:last-child {
    min-block-size: 56svh;
    align-content: start;
    padding-block-start: 1.5rem;
  }

  .walk-drawer {
    inline-size: min(13rem, 56%);
  }

  .ask .exchange {
    min-block-size: 0;
  }
}

/* Too short to keep the garden pinned and still read beside it: it scrolls with the steps. */
@media (max-width: 960px) and (max-height: 540px) {
  .walk-stage {
    position: static;
  }
}

@media (max-width: 600px) {
  .walk-note {
    font-size: 0.8125rem;
  }

  .walk-pin {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem 0.25rem 0.3rem;
  }

  .walk-tag {
    font-size: 0.625rem;
  }

  /* The card moves to the empty corner below the garden and keeps three lines. */
  .walk-drawer {
    inset-block: auto 0.6rem;
    inset-inline-start: 0.6rem;
    inline-size: 52%;
    padding: 0.55rem 0.7rem 0.45rem;
  }

  .walk-drawer-title {
    font-size: 0.8125rem;
  }

  .walk-drawer li {
    padding-block: 0.2rem;
    font-size: 0.625rem;
  }

  .walk-drawer li:nth-child(n + 4) {
    display: none;
  }

  /* On a phone the app screen takes most of the sheet, and keeps to its header and tasks. */
  .walk-app-tools {
    display: none;
  }

  .walk-app {
    inline-size: 74%;
    inset-inline-end: 50%;
    translate: 50% calc(-50% + 1.5rem);
  }

  .walk-stage[data-walk-step="4"] .walk-app {
    translate: 50% -50%;
  }

  .walk-stage[data-walk-step="4"] .walk-garden {
    transform: scale(0.8);
    opacity: 0.3;
  }

  .almanac-takeaway {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

/* Short phone screens: the app screen keeps its header, title, and two tasks. */
@media (max-width: 960px) and (max-height: 760px) {
  .walk-app-tools,
  .walk-app-row--more {
    display: none;
  }

  .walk-app {
    padding-block: 0.7rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-note,
  .walk-plan,
  .walk-frame,
  .walk-notes,
  .walk-tag,
  .walk-pin,
  .walk-leaders g,
  .walk-drawer,
  .walk-garden,
  .walk-app,
  .walk-week,
  .walk-step,
  .walk-caption span {
    transition: none;
  }
}

/* The in-page choice follows the same path as the device preference. */

:root.reduce-motion .season-note,
:root.reduce-motion .walk-plan,
:root.reduce-motion .walk-frame,
:root.reduce-motion .walk-notes,
:root.reduce-motion .walk-tag,
:root.reduce-motion .walk-pin,
:root.reduce-motion .walk-leaders g,
:root.reduce-motion .walk-drawer,
:root.reduce-motion .walk-garden,
:root.reduce-motion .walk-app,
:root.reduce-motion .walk-week,
:root.reduce-motion .walk-step,
:root.reduce-motion .walk-caption span {
  transition: none;
}

@media (min-width: 1100px) {
  /* The hero's promise sets as whole phrases on a measure that matches its dek. */

  .garden-hero h1 {
    font-size: clamp(2.5rem, min(4vw, 5.9vh), 4.1rem);
    max-inline-size: 10.3em;
    text-wrap: wrap;
  }

  .garden-hero h1 em {
    text-wrap: balance;
  }
}

@media (min-width: 961px) {
  /* The seasons: each line sets in two, with a little more room beside the calendar. */

  .year-stage .wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .season-line {
    font-size: clamp(2.4rem, 3.9vw, 3.6rem);
    max-inline-size: none;
  }
}

.almanac-chart .today-dot,
.almanac-legend .swatch-today {
  fill: var(--fn-sage);
  background: var(--fn-sage);
}

@media (max-width: 600px) {
  /* On a phone the zone label takes its own line, so the four zones stay together. */

  .zone-picker legend {
    inline-size: 100%;
    margin-block-end: 0.25rem;
  }
}

@media (min-width: 961px) {
  /* The walkthrough's steps sit closer, so the garden changes without long empty scrolls. */

  .walk-step {
    min-block-size: 60svh;
  }

  .walk-step:first-child {
    min-block-size: 50svh;
  }

  .walk-step:last-child {
    min-block-size: 58svh;
  }
}

.ed-quote-band .ed-quote {
  border-color: #cdd8db;
}

@media (min-width: 601px) {
  /* Step four lands on the app: the screen is the picture and the garden stands behind it. */

  .walk-app {
    inset-inline-end: 6%;
    scale: 1.24;
    transform-origin: 100% 50%;
  }

  .walk-stage[data-walk-step="4"] .walk-garden {
    transform: translateX(-17%) scale(0.7);
    opacity: 0.55;
  }
}

/* Home: each step names its plan beside its numeral. */

.walk-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.walk-tier {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fn-muted);
}

.walk-tier--paid {
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  background: #e3edd3;
  color: var(--moss);
}

.ed-section.tiers:not(:has(.plan-columns)) {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.ed-section.tiers:not(:has(.plan-columns)) .ed-head {
  margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-section.tiers:not(:has(.plan-columns)) .ed-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  max-inline-size: none;
}

.ed-section.tiers:not(:has(.plan-columns)) .tier h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.ed-section.tiers:not(:has(.plan-columns)) .tiers-link {
  margin-block-start: 1.75rem;
}

.notes-list .notes-kind,
.notes-list .notes-title {
  grid-column: 1;
}

@media (max-width: 960px) {
  /* Phone: steps fade out under the pinned garden instead of being cut off by it. */

  .walk-stage::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    block-size: 2rem;
    background: linear-gradient(var(--linen), rgba(251, 250, 243, 0));
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  /* Phone: the calendar's place and dates sit two by two. */

  .almanac-meta {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 1.25rem;
  }
}

/* Home: where the first gardeners' words go. */

.voices {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.voice {
  margin: 0;
  max-inline-size: 46rem;
}

.voice blockquote {
  margin: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid var(--fn-clay);
}

.voice blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--moss);
}

.voice figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-block-start: 1.1rem;
  padding-inline-start: 1.25rem;
  font-size: 0.875rem;
  color: var(--fn-muted);
}

.voice--placeholder blockquote p {
  color: var(--fn-muted);
}

.voice-tag {
  padding: 0.1rem 0.45rem;
  border: 1px dashed var(--fn-muted);
  border-radius: 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Home: the year is shown as well as charted. */

.season-scene {
  margin-block-end: 1.5rem;
  border-radius: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(46, 74, 44, 0.08);
}

@media (min-width: 961px) and (max-height: 800px) {
  /* A short window keeps the words and the calendar, and lets the picture go. */

  .season-scene {
    display: none;
  }
}

@media (min-width: 961px) {
  /* Home: the shelf's list fills the column beside the lead story. */

  .notes-grid {
    align-items: stretch;
  }

  .notes-side {
    display: flex;
    flex-direction: column;
  }

  .notes-side .notes-list {
    flex: 1;
    display: grid;
    grid-auto-rows: 1fr;
  }

  .notes-side .notes-list a {
    block-size: 100%;
    align-content: center;
  }
}

/* Home: each season's picture names its own month. */

.season-figure {
  margin: 0 0 1.25rem;
}

.season-figure .season-scene {
  margin-block-end: 0;
}

.season-figure figcaption {
  margin-block-start: 0.45rem;
  font-size: 0.75rem;
  color: var(--ink-2);
}

@media (min-width: 961px) and (max-height: 800px) {
  .season-figure {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Phone: the calendar's moving date is never cut by the panel's edge. */

  .almanac-scroll {
    padding-inline-end: 1.5rem;
  }

  .almanac-chart {
    overflow: visible;
  }
}

/* Home: the first gardens' words, a lead and two short ones. */

.voice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-block-start: clamp(2rem, 4vw, 3rem);
  max-inline-size: 46rem;
}

.voice--short blockquote p {
  font-size: 1.1875rem;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .voice-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
