:root {
  --forest: #173f33;
  --forest-2: #245747;
  --cream: #f5f1e7;
  --paper: #fffcf4;
  --ink: #17251f;
  --muted: #68736d;
  --line: #dcd8ca;
  --lime: #b9cf63;
  --sow: #d99356;
  --protected: #e8b5ae;
  --plant: #a7bd65;
  --harvest: #6f9e7e;
  --shadow: 0 18px 50px rgba(24, 54, 43, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
button, select, input { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: white; padding: .7rem; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background:
    radial-gradient(circle at 83% 24%, rgba(190, 211, 109, .17), transparent 24%),
    radial-gradient(circle at 14% 110%, rgba(255, 255, 255, .07), transparent 34%),
    var(--forest);
}
.hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -170px;
  bottom: -275px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
.topbar { display: flex; align-items: center; position: relative; z-index: 1; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 6px); align-items: end; gap: 3px; width: 34px; height: 34px; margin-right: 12px; padding: 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transform: rotate(-12deg); }
.brand-mark span { display: block; width: 6px; border-radius: 8px 8px 2px 2px; background: var(--lime); transform-origin: bottom; }
.brand-mark span:nth-child(1) { height: 10px; transform: rotate(-18deg); }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 12px; transform: rotate(20deg); }
.eyebrow { margin: 0 0 5px; font-size: .68rem; font-weight: 800; letter-spacing: .15em; color: rgba(255,255,255,.64); }
.eyebrow.dark { color: #718078; }
.eyebrow.light { color: rgba(255,255,255,.62); }
.topbar h1 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.today-button { margin-left: auto; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; padding: 10px 16px; color: white; background: transparent; cursor: pointer; }
.today-button:hover, .today-button:focus-visible { background: white; color: var(--forest); }

.hero-copy { position: relative; z-index: 1; max-width: 710px; margin-top: 70px; }
.season-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #dce8b7; font-size: .9rem; font-weight: 650; }
.season-label::before { content: ""; width: 26px; height: 1px; background: var(--lime); }
.hero-copy h2 { margin: 0; max-width: 690px; font-family: Georgia, serif; font-size: clamp(2.35rem, 5vw, 4.45rem); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.hero-copy > p:last-child { max-width: 590px; margin: 20px 0 0; color: rgba(255,255,255,.74); font-size: 1.03rem; line-height: 1.6; }
.filters { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; max-width: 640px; margin-top: 38px; }
.filters label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px 6px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.075); backdrop-filter: blur(10px); }
.filters label > span { color: rgba(255,255,255,.6); font-size: .73rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.filters select { width: 100%; min-width: 0; border: 0; outline: 0; padding: 10px 30px 10px 4px; color: white; background: transparent; font-weight: 700; cursor: pointer; }
.filters option { color: var(--ink); background: white; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 72px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.85rem, 3.4vw, 2.8rem); font-weight: 500; letter-spacing: -.025em; }
.section-heading.compact { margin-bottom: 20px; }
.section-heading.compact h2 { font-size: 2rem; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .78rem; }
.legend span, .calendar-legend span { display: flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.sow { background: var(--sow); }
.protected { background: var(--protected); }
.plant { background: var(--plant); }
.harvest { background: var(--harvest); }

.summary-stats { display: flex; gap: 8px; margin: -6px 0 24px; overflow-x: auto; scrollbar-width: none; }
.summary-stats::-webkit-scrollbar { display: none; }
.stat-chip { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.38); font-size: .78rem; font-weight: 650; }
.stat-chip strong { color: var(--ink); }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.activity-card { position: relative; min-height: 265px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 2px 0 rgba(23,63,51,.02); transition: transform .2s ease, box-shadow .2s ease; }
.activity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.activity-card .card-top { display: flex; justify-content: space-between; gap: 12px; }
.crop-title { display: flex; align-items: center; gap: 10px; }
.crop-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; color: var(--forest); background: #edf1df; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 700; }
.crop-title h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.crop-title p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; }
.spacing { text-align: right; color: var(--muted); font-size: .7rem; line-height: 1.25; }
.spacing strong { display: block; margin-top: 3px; color: var(--ink); font-size: .85rem; }
.activity-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 7px; color: #3c493f; background: #eee9dc; font-size: .7rem; font-weight: 750; }
.tag i { width: 6px; height: 6px; border-radius: 50%; }
.activity-card .advice { margin: 0; color: #556159; font-size: .84rem; line-height: 1.55; }
.empty-state { padding: 46px 20px; border: 1px dashed #b9b8ae; border-radius: 14px; text-align: center; color: var(--muted); }
.empty-state button { border: 0; color: var(--forest); background: none; font-weight: 750; cursor: pointer; }

.month-work { display: grid; grid-template-columns: 1.6fr .85fr; align-items: stretch; gap: 18px; padding-top: 0; }
.tasks-card, .climate-note { border-radius: 18px; padding: 30px; }
.tasks-card { border: 1px solid var(--line); background: #ebe6d8; }
.task-progress { padding: 7px 10px; border-radius: 999px; color: var(--forest); background: rgba(255,255,255,.55); font-size: .72rem; font-weight: 800; }
.task-list { display: grid; gap: 8px; }
.task-item { position: relative; }
.task-item input { position: absolute; opacity: 0; pointer-events: none; }
.task-item label { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.task-item label:hover { background: rgba(255,255,255,.45); }
.check { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; border: 1.5px solid #97a098; border-radius: 6px; color: white; background: transparent; }
.task-item input:focus-visible + label { outline: 2px solid var(--forest); outline-offset: 2px; }
.task-item input:checked + label .check { border-color: var(--forest); background: var(--forest); }
.task-item input:checked + label .check::after { content: "✓"; font-size: .75rem; }
.task-item input:checked + label .task-copy { color: #899089; text-decoration: line-through; }
.task-copy { font-size: .9rem; line-height: 1.45; }
.text-button { margin: 15px 0 0 12px; border: 0; padding: 4px 0; color: var(--forest); background: none; font-size: .75rem; font-weight: 750; cursor: pointer; }
.climate-note { display: flex; flex-direction: column; justify-content: center; color: white; background: var(--forest-2); }
.climate-note h2 { margin: 4px 0 14px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.05; }
.climate-note p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; }
.climate-note p.small { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .75rem; }

.calendar-section { border-top: 1px solid var(--line); }
.calendar-heading > p { margin: 0; color: var(--muted); font-size: .8rem; }
.annual-calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.month-card { min-height: 128px; border: 1px solid var(--line); border-radius: 13px; padding: 15px; text-align: left; color: var(--ink); background: rgba(255,255,255,.38); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.month-card:hover, .month-card:focus-visible { transform: translateY(-2px); border-color: #97a895; background: var(--paper); outline: none; }
.month-card.active { color: white; border-color: var(--forest); background: var(--forest); }
.month-card .month-name { display: flex; align-items: center; justify-content: space-between; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 600; }
.month-card .count { color: var(--muted); font-family: Inter, sans-serif; font-size: .66rem; font-weight: 750; }
.month-card.active .count { color: rgba(255,255,255,.65); }
.mini-bars { display: grid; gap: 5px; margin-top: 18px; }
.mini-row { display: grid; grid-template-columns: 55px 1fr; align-items: center; gap: 7px; color: var(--muted); font-size: .6rem; }
.month-card.active .mini-row { color: rgba(255,255,255,.65); }
.mini-track { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(102,112,105,.12); }
.month-card.active .mini-track { background: rgba(255,255,255,.1); }
.mini-fill { height: 100%; min-width: 4px; border-radius: 999px; }
.calendar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 22px; color: var(--muted); font-size: .72rem; }
.bar { width: 18px; height: 4px; border-radius: 999px; }

footer { padding: 25px 20px 42px; color: #7d857f; text-align: center; font-size: .72rem; }

@media (max-width: 900px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .annual-calendar { grid-template-columns: repeat(3, 1fr); }
  .month-work { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 500px; padding: 22px 20px 28px; }
  .hero-copy { margin-top: 62px; }
  .hero-copy h2 { font-size: 2.65rem; }
  .today-button { padding: 9px 11px; font-size: .76rem; }
  .filters { grid-template-columns: 1fr; max-width: none; }
  main { width: min(100% - 28px, 1180px); }
  section { padding: 54px 0; }
  .section-heading { display: block; }
  .legend { margin-top: 16px; gap: 12px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 0; }
  .tasks-card, .climate-note { padding: 22px 18px; }
  .annual-calendar { grid-template-columns: repeat(2, 1fr); }
  .calendar-heading > p { margin-top: 10px; }
  .calendar-legend { justify-content: flex-start; gap: 13px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
.topbar{flex-wrap:wrap;row-gap:12px}
