:root {
  --paper: #faf7f0;
  --paper-2: #f1ece0;
  --paper-3: #e7e0cf;
  --ink: #1f2a24;
  --ink-soft: #495449;
  --ink-faded: #7c8479;
  --rule: #d8d2c2;
  --leaf: #4f7a4a;
  --leaf-deep: #2f4f2c;
  --leaf-soft: #b8d0b3;
  --berry: #c84a3a;
  --sun: #e8a72c;
  --frost: #6b8aa8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.serif { font-family: 'Source Serif 4', Georgia, serif; }

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 18px 80px;
}

/* ─── Masthead ─── */
.masthead {
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark .mark {
  width: 38px; height: 38px;
  color: var(--leaf-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wordmark .mark .brand-mark {
  width: 100%;
  height: 100%;
  display: block;
}
.wordmark .text { display: flex; flex-direction: column; line-height: 1; }
.wordmark .name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  line-height: 1;
}
.wordmark .loc {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.wordmark .loc .pin { color: var(--leaf); display: inline-flex; }
.wordmark .loc .change {
  color: var(--ink-faded);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 2px;
  margin-left: 4px;
}
.wordmark .loc:hover .change { color: var(--ink); }

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 180ms;
  text-decoration: none;
}
.icon-btn:hover { background: var(--paper-2); }

/* ─── Hero ─── */
.hero { padding: 6px 0 18px; }
.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.95rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--leaf-deep); }
.hero .sub {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ─── Season strip ─── */
.season {
  margin: 16px 0 18px;
  padding: 22px 14px 14px;
  background: var(--paper-2);
  border-radius: 14px;
}
.season-track { position: relative; height: 24px; }
.season-bands {
  position: absolute;
  inset: 6px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 6px;
  overflow: hidden;
}
.band.winter { background: linear-gradient(to right, #c8d6e4, #d5dde6); }
.band.spring { background: linear-gradient(to right, #d5dde6, #cfe1c8); }
.band.summer { background: linear-gradient(to right, #cfe1c8, #f2dca5); }
.band.fall   { background: linear-gradient(to right, #f2dca5, #e8c79a); position: relative; }
.band.fall::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0;
  width: 30%; background: linear-gradient(to right, transparent, #c8d6e4);
}
.season-frost {
  position: absolute;
  top: 2px; bottom: 2px;
  width: 1px;
  background: var(--frost);
  opacity: 0.6;
}
.season-frost::before {
  content: attr(data-label);
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--frost);
  font-weight: 600;
  white-space: nowrap;
}
.season-marker {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(31,42,36,0.08);
}
.season-marker::after {
  content: "today";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  background: var(--paper);
  padding: 1px 6px;
  border-radius: 4px;
}
.season-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-faded);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.season-labels span { text-align: center; }
.season-labels span.now { color: var(--leaf-deep); font-weight: 700; }

/* ─── Tabs ─── */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 12px;
  margin: 8px 0 16px;
  position: sticky;
  top: 8px;
  z-index: 5;
  box-shadow: 0 4px 12px -8px rgba(31,42,36,0.15);
}
.tab {
  padding: 11px 12px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 180ms, color 180ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}
.tab .count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(31,42,36,0.08);
  color: var(--ink-soft);
}
.tab.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(31,42,36,0.1);
}
.tab.active .count { background: var(--leaf); color: var(--paper); }
.pane { display: none; }
.pane.active { display: block; }

/* Column headers — desktop only */
.col-head { display: none; }

/* ─── Plant cards ─── */
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 110px 1fr;
  transition: transform 200ms, box-shadow 200ms;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(31,42,36,0.18);
}
.card:active { transform: scale(0.99); }
.card .photo {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}
.card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card .body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.card .name {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.card .why {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.pill.now  { background: rgba(79,122,74,0.15); color: var(--leaf-deep); }
.pill.last { background: rgba(200,74,58,0.15); color: #8a2a1d; }
.pill.muted { background: var(--paper-2); color: var(--ink-soft); }
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.card .window { font-size: 0.78rem; color: var(--ink-faded); font-weight: 500; }

.card.feature { grid-template-columns: 1fr; }
.card.feature .photo { aspect-ratio: 16/10; }
.card.feature .body { padding: 16px 18px 18px; gap: 8px; }
.card.feature .name { font-size: 1.55rem; }
.card.feature .why {
  -webkit-line-clamp: 3;
  font-size: 0.95rem;
}
.card.feature .photo .overlay-pill {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--leaf-deep);
  box-shadow: 0 2px 8px rgba(31,42,36,0.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card.feature .photo .overlay-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

/* ─── Upcoming list ─── */
.upcoming {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.up-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: background 160ms;
}
.up-row:last-child { border-bottom: none; }
.up-row:hover { background: var(--paper-2); }
.up-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.up-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-info { min-width: 0; }
.up-info .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.up-info .name {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.up-info .when {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--leaf-deep);
  white-space: nowrap;
}
.up-row.urgent .up-info .when { color: var(--berry); }
.up-track {
  position: relative;
  height: 6px;
  background: var(--paper-3);
  border-radius: 3px;
}
.up-track .opens {
  position: absolute;
  top: 0; bottom: 0;
  background: var(--leaf-soft);
  border-radius: 3px;
}
.up-row.urgent .up-track .opens { background: rgba(200,74,58,0.4); }
.up-track .now-mark {
  position: absolute;
  top: -2px; bottom: -2px;
  width: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* ─── Reminder ─── */
.reminder {
  margin-top: 22px;
  padding: 16px 16px 14px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--rule);
  position: relative;
}
.reminder .leaf {
  position: absolute;
  top: -10px; left: 16px;
  width: 22px; height: 22px;
  background: var(--leaf);
  color: var(--paper);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.reminder h3 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
  margin: 4px 0 4px;
}
.reminder p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 12px;
}
.reminder .input-row {
  display: flex;
  gap: 6px;
}
.reminder input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
}
.reminder input:focus { border-color: var(--leaf); }
.reminder button {
  padding: 11px 15px;
  background: var(--leaf-deep);
  color: var(--paper);
  border: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
}
.reminder button:hover { background: #244221; }
.reminder .toggle {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-faded);
}
.reminder .toggle a {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-decoration-color: rgba(47,79,44,0.3);
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ─── Footer ─── */
.foot {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot a:hover { color: var(--ink); }
.foot .signoff {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-faded);
  line-height: 1.5;
}

/* ─── Sheet (modal) ─── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,42,36,0.42);
  display: none;
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
  animation: overlayIn 0.25s ease-out;
}
.sheet-overlay.open { display: flex; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  max-height: 92vh;
  width: 100%;
  max-width: 560px;
  overflow-y: auto;
  animation: sheetIn 0.35s cubic-bezier(.2,.7,.2,1);
  position: relative;
}
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: translateY(0); } }

.sheet-handle {
  width: 40px; height: 4px;
  background: var(--ink-faded);
  border-radius: 2px;
  margin: 10px auto 4px;
  opacity: 0.4;
}
.sheet-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(31,42,36,0.16);
}
.sheet-close:hover { background: var(--paper); }

/* ─── Location sheet content ─── */
.loc-sheet { padding: 0 20px 32px; }
.loc-head { padding: 22px 0 14px; }
.loc-head h2 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}
.loc-head p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.loc-detected {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(79,122,74,0.1);
  border: 1px solid rgba(79,122,74,0.25);
  border-radius: 12px;
  margin-bottom: 16px;
}
.loc-detected .marker {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.loc-detected .info { flex: 1; min-width: 0; }
.loc-detected .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf-deep);
}
.loc-detected .place {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 2px;
}
.loc-detected .zone {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.loc-detected button {
  background: var(--leaf-deep);
  color: var(--paper);
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.loc-detected button:hover { background: #244221; }

.zone-info {
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: 12px;
  margin-bottom: 18px;
}
.zone-info .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.88rem;
}
.zone-info .row .k { color: var(--ink-faded); }
.zone-info .row .v { color: var(--ink); font-weight: 500; }
.zone-info .learn {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--leaf-deep);
  text-decoration: underline;
  text-decoration-color: rgba(47,79,44,0.3);
  text-underline-offset: 2px;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 14px;
}
.search-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}
.search-input .zip-go {
  border: none;
  background: var(--ink);
  color: var(--paper);
  font: 600 0.82rem/1 'Inter', sans-serif;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.search-input .zip-go:hover { opacity: 0.9; }
.zip-error {
  font-size: 0.82rem;
  color: #b03a2e;
  margin: -6px 4px 12px;
}

.loc-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin: 8px 4px 6px;
}
.loc-list { display: flex; flex-direction: column; }
.loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.loc-item:hover { background: var(--paper-2); margin: 0 -16px; padding: 10px 20px; border-radius: 8px; }
.loc-item:last-child { border-bottom: none; }
.loc-item .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.loc-item .name { font-size: 0.95rem; font-weight: 500; }
.loc-item .sub  { font-size: 0.78rem; color: var(--ink-faded); }
.loc-item .right {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ink-faded);
}

/* ─── Plant detail page ─── */
.detail-page { padding-bottom: 40px; }
.detail-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
}
.detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero .back {
  position: absolute;
  top: 16px; left: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31,42,36,0.16);
  text-decoration: none;
}
.detail-body {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 18px 24px;
}
.detail-body h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.detail-body .latin {
  margin-top: 4px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-faded);
}
.detail-body .pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}
.now-card {
  background: rgba(79,122,74,0.1);
  border: 1px solid rgba(79,122,74,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.now-card .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin-bottom: 4px;
}
.now-card .msg {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.fact .key {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 4px;
}
.fact .val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.detail-body h3 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  margin: 6px 0 10px;
}
.detail-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 6px 0 18px;
}
.steps li {
  counter-increment: step;
  padding: 9px 0 9px 36px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 1px dashed var(--rule);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 24px; height: 24px;
  background: var(--leaf-deep);
  color: var(--paper);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.video-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--paper-2);
  border-radius: 12px;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
}
.video-card:hover { background: #e9e2d0; }
.video-card .thumb {
  width: 84px; height: 58px;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.9) 0 14px, transparent 14px),
    linear-gradient(135deg, #4a5d40 0%, #2a3a25 100%);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card .thumb::after {
  content: "";
  width: 0; height: 0;
  border-left: 11px solid var(--leaf-deep);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.video-card .vt {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
}
.video-card .vsrc {
  font-size: 0.76rem;
  color: var(--ink-faded);
  margin-top: 3px;
}
.companion {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.companion .ch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 5px;
  background: var(--paper-2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.companion .ch:hover { background: #e9e2d0; }
.companion .ch .av {
  width: 24px; height: 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-3);
}
.companion .ch .av img { width: 100%; height: 100%; object-fit: cover; }
.detail-cta {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.detail-cta .primary {
  flex: 1;
  padding: 14px;
  background: var(--leaf-deep);
  color: var(--paper);
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.detail-cta .primary:hover { background: #244221; }
.detail-cta .secondary {
  padding: 14px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}
.detail-cta .secondary:hover { background: var(--paper-2); }

/* ─── Confirmation page ─── */
.confirm-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.confirm-body {
  padding: 36px 4px 24px;
  flex: 1;
}
.confirm-icon {
  width: 60px; height: 60px;
  background: var(--leaf);
  color: var(--paper);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: bounceIn 0.6s cubic-bezier(.2,.7,.4,1.2);
}
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.confirm-body h2 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.confirm-body h2 .accent { color: var(--leaf-deep); }
.confirm-body > p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.confirm-card {
  margin-top: 24px;
  padding: 18px;
  background: var(--paper-2);
  border-radius: 14px;
}
.confirm-card .item {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  align-items: flex-start;
}
.confirm-card .item .ic {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--leaf-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--rule);
}
.confirm-card .item .t { font-weight: 600; font-size: 0.92rem; }
.confirm-card .item .d { font-size: 0.82rem; color: var(--ink-faded); margin-top: 2px; }
.confirm-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-actions .primary {
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.confirm-actions .primary:hover { background: #2c3a32; }
.confirm-actions .secondary {
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ─── Back link (used on zone & FAQ pages) ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--ink); }

/* ─── Zone page ─── */
.zone-page-main h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.zone-page-main h1 .num {
  color: var(--leaf-deep);
  font-style: italic;
}
.zone-page-main .lede {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.zone-strip {
  margin: 24px 0;
  padding: 20px 16px;
  background: var(--paper-2);
  border-radius: 14px;
}
.zone-strip .map {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}
.zone-strip .map .z {
  height: 28px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms;
}
.zone-strip .map .z:hover { transform: scale(1.08); }
.z1 { background: #2a1a4e; }
.z2 { background: #2e3a78; }
.z3 { background: #2f5b9c; }
.z4 { background: #2e84a8; }
.z5 { background: #3a9d8e; }
.z6 { background: #6db66a; }
.z7 { background: #b9c84e; color: #3a4a14; }
.z7.active {
  background: var(--leaf-deep);
  color: var(--paper);
  transform: scale(1.18);
  box-shadow: 0 4px 12px rgba(47,79,44,0.35);
  z-index: 2;
  position: relative;
}
.z8 { background: #f0d04a; color: #5a3f00; }
.z9 { background: #f0a82e; color: #5a2a00; }
.z10 { background: #e8743a; }
.z11 { background: #d44a40; }
.z12 { background: #a82a2a; }
.z13 { background: #6c1e2e; }
.zone-strip .legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-faded);
}
.zone-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.zone-fact {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.zone-fact .k {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 6px;
}
.zone-fact .v {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.zone-fact .v .sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--ink-faded);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.zone-section { margin-top: 24px; }
.zone-section h3 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.zone-section p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ─── FAQ ─── */
.faq-page-main h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
}
.faq-page-main .lede {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.faq-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.faq-q .qt {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}
.faq-q .chev {
  width: 24px; height: 24px;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform 200ms;
}
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.faq-a p + p { margin-top: 10px; }
.faq-item:not(.open) .faq-a { display: none; }
.faq-cta {
  margin-top: 32px;
  padding: 22px;
  background: var(--paper-2);
  border-radius: 14px;
  text-align: center;
}
.faq-cta h3 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}
.faq-cta p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.faq-cta a {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.faq-cta a:hover { background: #2c3a32; }

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 300ms, transform 300ms;
  box-shadow: 0 8px 24px -8px rgba(31,42,36,0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Reveals ─── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.6s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.04s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.34s; }

/* ─── Tablet (720–979px) ─── */
@media (min-width: 720px) {
  .page { max-width: 880px; padding: 24px 28px 96px; }
  .hero h1 { font-size: 2.6rem; }
  .stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .card.feature { grid-column: 1 / -1; }
  .card.feature .photo { aspect-ratio: 21/9; }
  .upcoming, .reminder, .season { max-width: 640px; margin-left: auto; margin-right: auto; }
  .detail-hero, .detail-body, .confirm-page { max-width: 640px; }
  .detail-hero { aspect-ratio: 21/10; border-radius: 0 0 16px 16px; }
}

/* ─── Desktop (980px+): side-by-side, no tabs ─── */
@media (min-width: 980px) {
  .page {
    max-width: 1240px;
    padding: 32px 40px 96px;
  }

  /* Masthead: bigger wordmark, bell stays right */
  .masthead {
    padding: 12px 0 22px;
    margin-bottom: 24px;
  }
  .wordmark .name { font-size: 1.75rem; }
  .wordmark .loc { font-size: 0.88rem; }
  .wordmark .mark { width: 44px; height: 44px; }

  /* Hero + season are two columns at desktop */
  .hero-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    padding: 20px 0 32px;
  }
  .hero { padding: 0; }
  .hero h1 { font-size: 3.2rem; line-height: 1.05; }
  .hero .sub { font-size: 1.05rem; margin-top: 12px; }
  .season {
    margin: 0;
    padding: 26px 22px 22px;
  }
  .season-track { height: 28px; }
  .season-labels { font-size: 0.78rem; margin-top: 16px; }

  /* The big change: hide tabs, show both panes side by side */
  .tabs { display: none; }
  .pane { display: block; }

  /* Two-column main layout */
  .home-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
  }

  /* Column headers — show on desktop */
  .col-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
  }
  .col-head h2 {
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .col-head .meta {
    font-size: 0.82rem;
    color: var(--ink-faded);
    font-weight: 500;
  }
  .col-head .meta .count {
    color: var(--leaf-deep);
    font-weight: 600;
  }

  /* Plant Now grid becomes 2-up at desktop */
  #pane-now .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  #pane-now .card.feature {
    grid-column: 1 / -1;
  }
  #pane-now .card.feature .photo { aspect-ratio: 21/9; }
  #pane-now .card.feature .name { font-size: 1.7rem; }

  /* Coming Up is the right sidebar, stays single-column */
  #pane-soon .upcoming { max-width: none; margin: 0; }

  /* The reminder card sits in the sidebar under Coming Up; hide the home Now-pane reminder */
  #pane-now .reminder { display: none; }

  /* The sidebar reminder is more compact */
  #pane-soon .reminder { max-width: none; margin-top: 22px; }

  /* Detail page: a wider, gallery-style layout */
  .detail-page { padding-bottom: 60px; }
  .detail-hero {
    max-width: 1240px;
    aspect-ratio: auto;
    height: 420px;
    border-radius: 0;
    margin: 0 auto;
  }
  .detail-body {
    max-width: 920px;
    padding: 32px 40px 40px;
  }
  .detail-body h1 { font-size: 2.6rem; }
  .detail-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .detail-content-grid .right-col {
    position: sticky;
    top: 32px;
  }
  /* On desktop, the facts panel in the sidebar gets a card frame */
  .detail-content-grid .facts {
    grid-template-columns: 1fr 1fr;
    padding: 22px 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    gap: 18px 24px;
  }

  /* Confirmation page centered */
  .confirm-page {
    max-width: 640px;
    padding: 48px 32px 80px;
  }
  .confirm-body h2 { font-size: 2.2rem; }

  /* Zone page: side-by-side strip + facts */
  .zone-page-main { max-width: 1100px; }
  .zone-page-main h1 { font-size: 2.6rem; }
  .zone-page-main .lede { font-size: 1.1rem; max-width: 60ch; }
  .zone-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 28px;
  }
  .zone-layout .left { grid-column: 1; }
  .zone-layout .right { grid-column: 2; position: sticky; top: 32px; }
  .zone-strip { margin: 0 0 24px; }
  .zone-strip .map .z { height: 36px; font-size: 0.82rem; }
  .zone-facts { grid-template-columns: 1fr 1fr; }

  /* FAQ: wider, two-column at very wide screens */
  .faq-page-main { max-width: 800px; }
  .faq-page-main h1 { font-size: 2.4rem; }
  .faq-page-main .lede { font-size: 1.05rem; }
}

/* ─── Wide desktop (1280px+): give Coming Up more breathing room ─── */
@media (min-width: 1280px) {
  .home-main {
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
  }
}
