/* The core colours are carried by surfaces and controls. Small typography uses
   a deeper green derived from the leaf colour for contrast on white. */
:root {
  --ink: #4e4945;
  --muted: #62605b;
  --green: #426630;
  --leaf: #8cbe5d;
  --orange: #e08831;
  --pale: #f1f7ec;
  --cream: #f8f9f6;
  --line: #dce3d8;
  --soft-gray: #f4f4f2;
  --soft-orange: #fff3e7;
  --action-ink: #31261b;
  --panel-radius: 16px;
  --control-radius: 10px;
}

::selection {
  color: var(--ink);
  background: #dceece;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.button {
  border-radius: var(--control-radius);
  color: var(--action-ink);
}

.button:hover {
  background: #e8994b;
  transform: none;
}

.button-outline {
  color: var(--green);
  border-color: var(--green);
}

.button-outline:hover {
  background: var(--pale);
}

.text-link {
  color: var(--green);
  gap: 10px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eyebrow {
  color: var(--green);
  letter-spacing: 0.1em;
}

.site-header {
  background: white;
  border-color: var(--line);
  backdrop-filter: none;
}

.site-header nav > a.is-active::after {
  height: 2px;
  background: var(--green);
  border-radius: 0;
}

@media (min-width: 1051px) {
  .site-header .brand-lockup {
    width: clamp(194px, 16vw, 226px);
  }

  .site-header nav {
    font-size: clamp(13px, 1vw, 15px);
    gap: clamp(15px, 1.55vw, 29px);
  }

  .site-header .header-consult {
    font-size: 13px;
    min-height: 44px;
    padding-inline: 18px;
  }
}

@media (max-width: 1050px) {
  .site-header nav.open {
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 5px 12px rgb(36 48 32 / 6%);
  }

  .site-header nav > a.is-active::after {
    content: none;
  }

  .site-header nav > a.is-active {
    padding-left: 12px;
    box-shadow: inset 2px 0 var(--green);
    background: var(--pale);
  }
}

.breadcrumbs {
  font-size: clamp(11px, 0.9vw, 13px);
}

.page-intro h1:first-child,
.consult-intro h1:first-child,
.closing-cta h2:first-child,
.article-next h3:first-child,
.values-grid h3:first-child {
  margin-top: 0;
}

.intro-photo,
.consult-photo,
.home-diagnosis-image,
.news-photo,
.article-cover,
.story-path figure {
  border-radius: 12px;
}

.intro-photo figcaption,
.article-cover figcaption {
  background: white;
  color: var(--muted);
  padding: 9px 0;
  font-size: 12px;
  line-height: 1.5;
}

.home-diagnosis,
.news-card-lead,
.closing-cta,
.catalog-consult-banner,
.article-next {
  border-radius: var(--panel-radius);
  background: var(--pale);
}

.home-diagnosis-image > span,
.brand-orbit {
  display: none;
}

.story-brand-panel {
  min-height: clamp(225px, 23vw, 350px);
  padding: clamp(22px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: white;
}

.story-brand-panel > img {
  width: 100%;
  max-width: 365px;
  height: auto;
}

.story-brand-panel > p {
  max-width: 26ch;
}

.values-grid h3 {
  font-weight: 600;
}

.catalog-search-panel {
  background: var(--pale);
  border-radius: var(--panel-radius);
}

.catalog-search-field {
  background: white;
  border: 1px solid #a2afa0;
  border-radius: 12px;
  box-shadow: none;
}

.catalog-search-field:focus-within,
.news-tools .search-box:focus-within {
  border-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.catalog-search-field input:focus-visible,
.news-tools .search-box input:focus-visible {
  outline: none;
}

.catalog-filters,
.care-checklist-panel,
.consult-form,
.assessment-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  box-shadow: none;
}

.crop-links > a,
.catalog-quick-crops button,
.catalog-active-filters button,
.phase-tabs button,
.assessment-choice {
  border-radius: var(--control-radius);
}

.crop-links > a {
  background: white;
  color: var(--green);
}

.catalog-quick-crops button[aria-pressed="true"],
.phase-tabs button[aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.care-progress {
  background: var(--pale);
}

.care-progress > span {
  background: var(--green);
}

.assessment-choice {
  background: white;
  border-color: var(--line);
}

.assessment-choice.is-selected {
  background: var(--pale);
}

.assessment-choice small,
.assessment-privacy,
.assessment-summary dt,
.care-checklist-panel > small {
  color: var(--muted);
}

.assessment-summary {
  background: var(--pale);
  border-radius: 12px;
}

.news-card-lead {
  background: var(--soft-gray);
}

.news-meta,
.news-card-lead .news-meta,
.article-dateline {
  font-size: 12px;
}

.news-card p {
  font-size: 14px;
}

.article-categories {
  gap: 8px 18px;
}

.article-categories button {
  background: white;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding-inline: 2px;
  color: var(--muted);
}

.article-categories button:hover,
.article-categories button[aria-pressed="true"] {
  background: white;
  color: var(--green);
  border-color: var(--green);
}

.article-categories button[aria-pressed="true"] {
  font-weight: 600;
}

.article-section p,
.article-section ul {
  color: var(--ink);
}

.site-footer {
  background: white;
  border-color: var(--line);
}

.site-footer::before {
  content: none;
}

@media (max-width: 580px) {
  .page-intro h1 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.13;
  }

  .page-intro p,
  .catalog-consult-banner p,
  .closing-cta p {
    font-size: 14px;
  }

  .site-header nav.open {
    padding-inline: 18px;
  }

  .story-brand-panel {
    min-height: 180px;
  }

  .catalog-quick-crops button,
  .article-categories button {
    min-height: 42px;
    font-size: 12px;
  }
}
