:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #182d25;
  --muted: #43594c;
  --accent: #44734e;
  --line: #c7cdbf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
.shell { width: min(77rem, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible { outline: 3px solid #a84c25; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 1; padding: .6rem 1rem; background: var(--ink); color: white; }
.skip:focus { top: .5rem; }
.site-header, .site-footer, nav, .brand, figcaption, .topic-list h3 { display: flex; align-items: center; }
.site-header, .site-footer, figcaption { justify-content: space-between; gap: 1rem; }
.site-header { min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.brand, .foot-brand { font: bold 1.25rem/1 var(--mono); letter-spacing: -.075em; text-decoration: none; }
.brand img { margin-right: .65rem; image-rendering: pixelated; }
.brand span { color: var(--accent); }
nav { gap: clamp(1rem, 3vw, 2.7rem); }
nav a, .site-footer a:last-child { padding-block: .6rem; font-size: .94rem; font-weight: 550; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.intro { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 5.4vw, 5.25rem); padding-block: clamp(3.5rem, 6.2vw, 6rem); }
.intro-copy, .scene { min-width: 0; }
.byline { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; color: var(--muted); font: 600 .81rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.byline::before { content: ""; width: 1.65rem; height: 2px; background: var(--accent); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.4rem, 5.7vw, 5.65rem); line-height: 1.015; letter-spacing: -.058em; }
h1 em { color: var(--accent); }
.lead { max-width: 33rem; margin: 1.65rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.32vw, 1.23rem); line-height: 1.55; }
.scene { margin: 0; padding: .55rem .55rem 0; background: #e9eddf; border: 1px solid #abbba6; border-radius: 3px; box-shadow: 5px 5px 0 #dbe2d1; }
.art { overflow: hidden; background: #95bd9d url('/garden-day.png') center / cover; border: 1px solid #718a75; }
canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
figcaption { min-height: 3.18rem; padding: .25rem .45rem; }
.scene-title { font: 600 .875rem/1.3 var(--mono); color: #324c3c; }
#garden-time { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.4rem; padding: .28rem .75rem; border: 1px solid #94a68d; border-radius: 1.5rem; color: var(--ink); background: var(--paper); font: 550 .875rem/1.3 var(--sans); cursor: pointer; }
#garden-time[hidden] { display: none; }
#garden-time:hover { border-color: var(--ink); }
#garden-time[aria-pressed="true"] { color: #f7f6ef; background: #35464d; border-color: #35464d; }
.moon { font: 1.2rem/1 Georgia, serif; }
.topics { display: grid; grid-template-columns: .72fr 1.85fr; gap: clamp(1rem, 3.75vw, 3.8rem); padding: clamp(2.5rem, 4vw, 4rem) 0; border-top: 1px solid var(--ink); }
h2 { font-size: clamp(2rem, 2.65vw, 2.85rem); line-height: 1.12; letter-spacing: -.045em; }
.topic-list article { display: grid; grid-template-columns: .92fr 1.35fr; gap: 1.5rem; padding: 1.45rem 0; border-top: 1px solid var(--line); }
.topic-list article:first-child { border: 0; padding-top: 0; }
.topic-list h3 { align-self: start; gap: .75rem; margin: .1rem 0 0; font-size: clamp(1rem, 1.33vw, 1.22rem); line-height: 1.35; letter-spacing: -.025em; }
.topic-list img { flex: 0 0 auto; image-rendering: pixelated; }
.topic-list p { margin: 0; color: var(--muted); line-height: 1.58; }
.site-footer { border-top: 1px solid var(--line); min-height: 5rem; }
.foot-brand { font-size: 1rem; }
@media (max-width: 62rem) {
  .topics { grid-template-columns: 1fr; gap: 2rem; }
  .topic-list article { grid-template-columns: 1fr 1.6fr; }
}
@media (max-width: 46rem) {
  .site-header { min-height: 4.25rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 31px; height: 31px; margin-right: .4rem; }
  .intro { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.75rem; }
  h1 { font-size: clamp(3.35rem, 10.9vw, 4.9rem); }
  .byline { margin-bottom: 1rem; }
  .lead { margin-top: 1.1rem; }
}
@media (max-width: 34rem) {
  .topic-list article { grid-template-columns: 1fr; gap: .65rem; }
  nav a, .site-footer a:last-child { font-size: .875rem; }
  .scene { padding: .35rem .35rem 0; }
}
@media (max-width: 23rem) {
  .shell { width: calc(100% - 1.75rem); }
  nav { gap: .65rem; }
}
