:root {
  --ink: #1c2420;
  --ink-soft: #4a564e;
  --moss: #234237;
  --moss-deep: #17281f;
  --cream: #f3efe6;
  --paper: #fbf8f2;
  --line: #e3d9c8;
  --clay: #7d3e2c;
  --gold: #8a6840;
  --shadow: 0 22px 50px rgba(28, 36, 32, 0.1);
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(rgba(28, 36, 32, 0.035) 0.7px, transparent 0.7px) 0 0 / 3px 3px,
    var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
  padding-bottom: 7rem;
}
h1, h2, h3, .mark span { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 { margin: 0.12em 0 0.2em; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 0.92; }
h2 { margin: 0.1em 0 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; }
h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--paper); padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 14px 28px;
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: auto; text-decoration: none; color: var(--moss-deep);
}
.mark img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.mark span { font-size: 1.35rem; }
.mark .dot { color: var(--gold); }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.langs {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 248, 242, 0.8);
}
.langs a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 7px 9px; border-radius: 999px;
}
.langs a[aria-current="true"] { background: var(--moss); color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--moss); background: var(--moss); color: var(--cream);
  text-decoration: none; padding: 12px 16px; line-height: 1; cursor: pointer;
}
.btn:hover { background: var(--moss-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--moss); background: transparent; }

.hero, .section, .strain { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px;
  align-items: end; padding: 42px 0 20px;
}
.eyebrow {
  margin: 0 0 8px; color: var(--gold); font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.lede { max-width: 40rem; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stage img, .farm-still img, .strain-mark img {
  width: 100%; display: block; object-fit: cover;
}
.stage { margin: 0; }
.stage img { height: min(68vh, 560px); border-radius: 18px; box-shadow: var(--shadow); }
.stage figcaption { margin-top: 8px; color: var(--ink-soft); font-size: 0.9rem; }

.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.sub { margin-top: 10px; max-width: 38rem; color: var(--ink-soft); }
.count { color: var(--ink-soft); white-space: nowrap; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 8px; }
.search input, .order input, .order select, .order textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
}
.search { flex: 1 1 240px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a {
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; background: var(--paper); color: var(--ink-soft);
}
.filters a[aria-current="true"] { background: var(--moss); color: var(--paper); border-color: var(--moss); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 18px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-title { text-decoration: none; }
.card-title:hover h3 { color: var(--clay); }
.meta { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; color: var(--ink-soft); font-size: 0.95rem; }
.meta em, .price-line em { font-style: normal; color: var(--gold); font-size: 0.85rem; }
.blurb { color: var(--ink); }
.cross { margin-top: 10px; color: var(--ink-soft); font-size: 0.92rem; }
.card-actions { margin-top: auto; padding-top: 16px; }
.empty { margin-top: 24px; color: var(--ink-soft); }

.section-split { display: grid; grid-template-columns: 1fr 0.85fr; gap: 32px; align-items: start; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.steps span { font-family: var(--serif); color: var(--gold); font-size: 1.3rem; }
.steps p { margin-top: 4px; color: var(--ink-soft); }
.farm-still img { height: 320px; border-radius: 16px; }
.policies { margin-top: 16px; display: grid; gap: 10px; }
.policies p { color: var(--ink-soft); }

.write { padding-top: 10px; }
.order {
  margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.order label { display: grid; gap: 6px; font-weight: 500; }
.order .wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { color: var(--ink-soft); }

.strain { padding: 42px 0 20px; max-width: 760px; }
.back a { color: var(--clay); }
.price-line { margin: 8px 0 14px; font-size: 1.6rem; font-family: var(--serif); }
.facts { margin: 22px 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; }
.facts dt { color: var(--gold); font-weight: 600; }
.note { color: var(--ink-soft); }
.strain-mark { width: 120px; margin: 28px 0 0; }
.strain-mark img { border-radius: 50%; }

.footer {
  width: min(1120px, calc(100% - 40px)); margin: 20px auto 0;
  display: grid; gap: 14px; padding: 28px 0 10px; border-top: 1px solid var(--line);
}
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contacts li { display: grid; grid-template-columns: 7rem 1fr; gap: 8px; }
.contacts span { color: var(--gold); font-weight: 600; }
.age, .copy { color: var(--ink-soft); font-size: 0.92rem; }

.mascot {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; text-decoration: none;
}
.mascot img {
  width: 76px; height: 76px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--paper); box-shadow: var(--shadow); background: var(--paper);
}
.bubble {
  position: absolute; right: 0; bottom: 86px; width: max-content; max-width: 180px;
  background: var(--paper); color: var(--moss-deep); border-radius: 12px;
  padding: 8px 10px; box-shadow: var(--shadow); font-size: 0.88rem;
  opacity: 0; transform: translateY(6px); pointer-events: none;
}
.mascot:hover .bubble, .mascot:focus-visible .bubble { opacity: 1; transform: none; }

.cal { padding: 36px 0 10px; }
.cal h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.place { margin-top: 8px; color: var(--ink-soft); }
.upcoming-title { margin-top: 28px; font-size: 1.4rem; }
.upcoming {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.upcoming li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  display: flex; justify-content: space-between; gap: 8px;
}
.upcoming span { color: var(--gold); font-weight: 600; }
.month-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 12px;
}
.month-bar h2 { font-size: 1.8rem; text-align: center; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-head span {
  text-align: center; color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding-bottom: 4px;
}
.day {
  min-height: 132px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
}
.day.blank { background: transparent; border-color: transparent; }
.day.today { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.day-top { display: flex; justify-content: space-between; align-items: center; }
.day-phase, .day-sign { color: var(--ink-soft); font-size: 0.75rem; line-height: 1.25; }
.marks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.marks li {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px; padding: 2px 6px; background: var(--moss); color: var(--cream);
}
.mark-water { background: #2f5570; }
.mark-cut { background: var(--clay); }
.mark-cuttings { background: #3d5c45; }
.mark-harvest { background: var(--gold); }
.mark-rest { background: var(--ink); }
.ph {
  width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: inline-block; background: var(--paper);
}
.ph-full { background: var(--gold); }
.ph-first { background: linear-gradient(90deg, var(--paper) 50%, var(--gold) 50%); }
.ph-last { background: linear-gradient(90deg, var(--gold) 50%, var(--paper) 50%); }
.ph-wax-crescent { background: linear-gradient(90deg, var(--paper) 68%, var(--gold) 68%); }
.ph-wax-gibbous { background: linear-gradient(90deg, var(--paper) 28%, var(--gold) 28%); }
.ph-wan-gibbous { background: linear-gradient(90deg, var(--gold) 72%, var(--paper) 72%); }
.ph-wan-crescent { background: linear-gradient(90deg, var(--gold) 32%, var(--paper) 32%); }
.legend { margin-top: 28px; }
.legend ul { margin: 12px 0 0; padding-left: 1.1rem; display: grid; gap: 8px; color: var(--ink-soft); }
.legend strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero, .section-split, .grid { grid-template-columns: 1fr; }
  .stage img { height: 320px; }
  .facts div, .contacts li { grid-template-columns: 1fr; gap: 2px; }
  .order { grid-template-columns: 1fr; }
  .upcoming { grid-template-columns: 1fr; }
  .month { overflow-x: auto; }
  .week { min-width: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
