:root {
  --bg: #f7f3ea;
  --bg-alt: #f0e9dd;
  --text: #2b2923;
  --muted: #6e6557;
  --accent: #647a52;
  --accent-soft: #d1ddc7;
  --border: #ddd0bd;
  --card-bg: #fbf8f2;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fdfaf4 0, var(--bg) 55%, #efe7da 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  padding: 3.5rem 0;
  background: var(--bg-alt);
}

.section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: 1.9rem;
  margin-top: 0;
  margin-bottom: 1rem;
}


.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
}

.section-intro {
  max-width: 36rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.section-content .section-intro {
  max-width: 100%;
}

/* Header */

.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(100, 122, 82, 0.75), rgba(100, 122, 82, 0.85)), url('garden-bg.png');
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.75rem;
  margin: 0;
  color: #fdfaf4;
}

.site-tagline {
  font-size: 1.05rem;
  margin: 0.1rem 0 0;
  color: rgba(253, 250, 244, 0.85);
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: rgba(253, 250, 244, 0.85);
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(253, 250, 244, 0.15);
  color: #fdfaf4;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.hero h2 {
  font-size: 1.9rem;
  margin: 0 0 1rem;
}

.hero-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #fdfaf4;
  border-color: var(--accent);
}

.button.primary:hover {
  filter: brightness(1.05);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(100, 122, 82, 0.4);
}

.button.ghost:hover {
  background: rgba(209, 221, 199, 0.35);
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.hero-card-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li + li {
  margin-top: 0.2rem;
}

/* Cards (Tools) */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.card-status {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.card-lead {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.card-list {
  font-size: 0.9rem;
  padding-left: 1rem;
  margin: 0;
}

/* Layout two-column */

.layout-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Flow diagram */

.flow-diagram {
  background: #fbfaf6;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  padding: 1.1rem 1.2rem;
  font-size: 0.85rem;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.flow-node {
  flex: 1;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: var(--accent-soft);
}

.flow-node span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.flow-arrow {
  margin: 0 0.55rem;
  font-size: 1rem;
  color: var(--muted);
}

.diagram-caption {
  margin-top: 0.8rem;
  color: var(--muted);
}

/* Values */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.value-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.value-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */

.contact {
  text-align: center;
}

.contact-email a {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0 1.8rem;
  background: var(--accent);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(253, 250, 244, 0.9);
}

.footer-meta {
  margin-top: 0.5rem;
}

.footer-meta a {
  color: #fdfaf4;
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* Field Notes Grid (Homepage) */

.field-notes-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.field-note-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field-note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.field-note-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.field-note-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.field-note-content {
  padding: 1.5rem;
}

.field-note-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--text);
}

.field-note-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field-note-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1rem;
}

.field-note-read-more {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.field-note-link:hover .field-note-read-more {
  text-decoration: underline;
}

/* Pinned field note (basic message) */
.field-note-pinned {
  width: 100%;
}

.field-note-pinned .field-note-link {
  cursor: default;
}

.field-note-pinned:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.field-note-pinned .values-grid {
  margin-top: 1.5rem;
}

.field-note-pinned .value-item h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.mission-values {
  list-style: circle;
  padding-left: 1.5rem;
  margin: 1.5rem 0 0;
  color: var(--accent);
  line-height: 1.8;
}

.mission-values li {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pinned-actions {
  margin-top: 1.5rem;
}


/* Field Notes layout (for individual blog pages) */

.field-notes-header {
  margin-bottom: 2rem;
}

.field-notes-intro {
  max-width: 100%;
  line-height: 1.7;
  color: var(--muted);
}

.field-notes-list {
  list-style: circle;
  padding-left: 1.5rem;
  margin: 0;
  color: var(--accent);
}

.field-notes-list li {
  color: var(--text);
}

.field-notes-list li + li {
  margin-top: 0.5rem;
}

.field-notes-list a {
  text-decoration: none;
  color: var(--text);
}

.field-notes-list a:hover {
  color: var(--accent);
}

.field-notes-meta {
  display: inline;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Tags */

.field-note-tags {
  margin: 0.5rem 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.field-note-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.field-note-tag:hover {
  background: var(--accent);
  color: #fdfaf4;
}

.tag-large {
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
}

.tags-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tags-list li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tag-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.tag-nav {
  margin-top: 2rem;
}

.tag-nav a {
  color: var(--accent);
  text-decoration: none;
}

.tag-nav a:hover {
  text-decoration: underline;
}

.archive-tags {
  margin-left: 0.5rem;
}

/* Prev/Next Navigation */

.prev-next-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.prev-next-link {
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.prev-next-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.prev-next-link.prev-link {
  text-align: left;
}

.prev-next-link.next-link {
  text-align: right;
}

.prev-next-link.disabled {
  visibility: hidden;
}

/* Mobile Responsive */

@media (max-width: 768px) {
  /* Header */
  .header-inner {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
  }

  .site-title {
    font-size: 1.4rem;
  }

  .site-tagline {
    font-size: 0.9rem;
  }

  .site-nav {
    font-size: 0.95rem;
    gap: 0.8rem;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero-body {
    font-size: 0.95rem;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* Cards grid */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Two column layout */
  .layout-two-column {
    grid-template-columns: 1fr;
  }

  /* Pinned field note values */
  .field-note-pinned .values-grid {
    grid-template-columns: 1fr;
  }
}
