/* NoCo Harvest — shared design system
   Fonts: Fraunces (display/serif) + Work Sans (body)
   Palette: harvest gold, deep evergreen, terracotta, cream
*/

:root {
  --green-deep: #2f4a35;
  --green-mid: #3f5c45;
  --green-pale: #e8efe4;
  --gold: #c9862c;
  --gold-dark: #a86f22;
  --rust: #b3552b;
  --cream: #faf5e9;
  --cream-alt: #f2e9d6;
  --charcoal: #2b2620;
  --muted: #6e6355;
  --border: #e2d6ba;
  --white: #fffdf8;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(43, 38, 32, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--green-deep);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--rust); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-deep);
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo .accent { color: var(--gold-dark); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green-deep);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .main-nav ul { gap: 14px 18px; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-mid) 55%, #55703f 100%);
  color: var(--white);
  padding: 72px 0 84px;
}

.hero .container { max-width: 780px; }

.hero h1 { color: var(--white); }
.hero p.lede {
  font-size: 1.2rem;
  color: #eef3e8;
  max-width: 620px;
}

.page-hero {
  background: var(--green-deep);
  color: var(--white);
  padding: 52px 0 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: #eef3e8; max-width: 640px; font-size: 1.08rem; }
.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--gold-dark); text-decoration: none; transform: translateY(-1px); }

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn.secondary:hover { background: rgba(255,255,255,0.12); }

.btn.outline {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.btn.outline:hover { background: var(--green-pale); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Sections & cards ---------- */

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--cream-alt); }

.section-intro { max-width: 680px; margin-bottom: 40px; }
.section-intro .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--rust);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 0.35em; }
.card .meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.card .tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}
.card .tag.gold { background: #f6e6c8; color: var(--gold-dark); }
.card .tag.rust { background: #f3ddd0; color: var(--rust); }

/* directory listing rows */
.listing {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.listing-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.listing-head h3 { margin-bottom: 4px; }
.listing .where {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.listing .details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px 20px;
  margin: 14px 0;
  font-size: 0.94rem;
}
.listing .details dt {
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.listing .details dd { margin: 2px 0 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

/* ---------- Season table ---------- */

.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.season-month {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.season-month h3 {
  font-size: 1.05rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.season-month ul { margin: 0; padding-left: 18px; }
.season-month li { margin-bottom: 4px; }
.season-month.current { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset, var(--shadow); }
.season-month .current-flag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: #dfe8da;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  color: var(--white);
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #cfe0c9; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #b7c9b1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Ad slots ---------- */

.ad-slot {
  border: 1px dashed var(--border);
  background: #f4efe0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 18px;
  border-radius: 6px;
  margin: 32px 0;
}

/* ---------- Forms ---------- */

form.stacked-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}
.stacked-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-deep);
  display: block;
  margin-bottom: 6px;
}
.stacked-form input,
.stacked-form select,
.stacked-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--charcoal);
}
.stacked-form textarea { min-height: 130px; resize: vertical; }
.stacked-form .honeypot { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.newsletter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.newsletter-box form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: none;
}
.newsletter-box input[type="email"] {
  flex: 1 1 240px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.98rem;
}
.newsletter-box .btn { border-radius: 999px; }

/* ---------- Misc ---------- */

.divider { height: 1px; background: var(--border); margin: 48px 0; border: none; }

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.byline .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep); font-weight: 700; font-family: "Fraunces", serif;
}

blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  color: var(--green-deep);
  font-style: italic;
  font-size: 1.05rem;
}

.faq-item { margin-bottom: 20px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; }

table.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
table.simple-table th, table.simple-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
table.simple-table th { color: var(--green-deep); font-family: "Fraunces", serif; }

.callout {
  background: var(--green-pale);
  border-left: 4px solid var(--green-deep);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 0.96rem;
}
.callout.gold { background: #f6e6c8; border-left-color: var(--gold-dark); }

.source-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Hero Image ---------- */
.hero-image {
  max-width: 760px;
  margin: 30px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-credit {
  max-width: 760px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.hero .photo-credit,
.page-hero .photo-credit {
  color: rgba(255,255,255,0.75);
}
.photo-credit a { color: inherit; }
section.tight .hero-image { max-width: 100%; margin: 0 0 6px; }
section.tight .photo-credit { text-align: left; max-width: none; margin: 0 0 20px; color: var(--muted); }
