:root {
  --green-dark: #243f2a;
  --green: #416b3f;
  --green-soft: #dfe8d4;
  --sage: #eef2df;
  --cream: #f8f1e4;
  --cream-light: #fffaf0;
  --terracotta: #b85b2b;
  --terracotta-dark: #94431f;
  --ink: #263428;
  --muted: #6d7468;
  --border: #e2d6c2;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(64, 52, 34, .14);
  --round: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 22% 10%, rgba(255,255,255,.85), transparent 28rem),
    linear-gradient(120deg, rgba(74,107,65,.05), transparent 25rem),
    var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(52, 43, 26, .18) .6px, transparent .7px);
  background-size: 7px 7px;
  z-index: -1;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--terracotta); }
img { max-width: 100%; display: block; }

.shell { width: min(1320px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-dark); color: white; padding: 8px; z-index: 5; }
.skip-link:focus { left: 8px; }

h1, h2, h3 {
  color: var(--green-dark);
  font-family: "Fraunces", Georgia, serif;
  line-height: .98;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.35rem, 7vw, 5.2rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 18px; }
h3 { font-size: 1.35rem; margin: 0 0 8px; }
p { margin: 0 0 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 240, .95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 78px; height: 58px; object-fit: contain; }
.brand span { display: grid; line-height: .9; }
.brand strong {
  color: var(--green-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  letter-spacing: 0;
}
.brand em {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .92rem;
}
.tagline {
  font-family: "Fraunces", Georgia, serif;
  color: var(--green-dark);
  font-size: 1rem;
  white-space: nowrap;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 15px; font-weight: 800; }
.site-nav a:not(.button) { font-size: .9rem; }
.site-nav a { white-space: nowrap; }
.menu-toggle { display: none; }
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  padding: 0 20px;
  background: var(--terracotta);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(148,67,31,.18);
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { color: white; background: var(--terracotta-dark); }
.button-secondary { background: var(--green-dark); }
.button-light { background: var(--cream-light); color: var(--green-dark); border: 1px solid var(--border); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 15px; font-size: .9rem; }
.heart-pill {
  min-width: 68px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream-light);
  color: var(--green-dark);
  font-size: 1rem;
  cursor: pointer;
}

.notice {
  margin: 16px auto;
  padding: 12px 16px;
  border: 1px solid #e5c78e;
  border-radius: 12px;
  background: #fff5d8;
  font-weight: 700;
}
.notice-soft { background: #f4f0e4; color: var(--muted); }

.hero {
  min-height: 520px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(248,241,228,1) 0%, rgba(248,241,228,.94) 36%, rgba(248,241,228,.16) 58%),
    url("/assets/design-pack/03-sliced-assets/hero-assets/wide_hero_scene.png") center right / cover no-repeat;
}
.hero-grid { min-height: 520px; display: grid; grid-template-columns: minmax(320px, 610px) 1fr; align-items: center; }
.hero-copy { padding: 56px 0 44px; position: relative; }
.hero-copy .leaf {
  display: none;
  width: 62px;
  height: 42px;
  position: absolute;
  right: 18%;
  top: 175px;
  transform: rotate(8deg);
  border: 3px solid var(--terracotta);
  border-left: 0;
  border-bottom: 0;
  border-radius: 100% 0 100% 0;
  opacity: .9;
}
.hero-copy .leaf::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 62px;
  height: 3px;
  background: var(--terracotta);
  transform: rotate(-31deg);
  transform-origin: left center;
}
.hero-copy p { max-width: 520px; font-size: 1.22rem; font-weight: 700; }

.search-panel {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 0;
  max-width: 750px;
  margin-top: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-panel label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.search-panel input, .search-panel select {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  padding: 0 18px;
  font: inherit;
}
.search-panel button { margin: 7px; min-width: 120px; }

.category-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-icon {
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  display: block;
  scroll-snap-align: start;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-weight: 900;
  text-align: center;
  font-size: .86rem;
  box-shadow: none;
}
.category-icon img {
  width: auto;
  max-width: none;
  height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(64,52,34,.08));
}
.category-icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.section-pad { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.section-head p { max-width: 620px; color: var(--muted); font-weight: 700; }

.producer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.producer-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--round);
  overflow: hidden;
  background: var(--cream-light);
  box-shadow: 0 10px 24px rgba(64,52,34,.08);
}
.producer-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.producer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.producer-card-body { padding: 16px; }
.producer-card h3 { font-size: 1.25rem; }
.producer-card p { color: var(--muted); font-weight: 700; font-size: .95rem; }
.card-heart {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  background: rgba(255,250,240,.82);
  color: var(--green-dark);
  font-size: 1.3rem;
  cursor: pointer;
}
.meta-line { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--green-dark); font-size: .9rem; }
.badges { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.badge { padding: 5px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .78rem; font-weight: 900; }
.available { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; color: var(--green-dark); font-weight: 800; }

.split-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: stretch; }
.map-preview {
  min-height: 330px;
  border: 1px solid var(--border);
  border-radius: var(--round);
  background: var(--sage);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.map-preview img { width: 100%; height: 100%; object-fit: cover; }
.map-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 220px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,250,240,.94);
  padding: 18px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.season-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--round);
  background: rgba(223,232,212,.78);
  padding: 20px;
}
.season-item { text-align: center; font-weight: 900; }
.season-item img { height: 64px; margin: 0 auto 6px; object-fit: contain; }
.season-item small { display: block; color: var(--muted); font-weight: 800; }

.support-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.support-card {
  border: 1px solid var(--border);
  border-radius: var(--round);
  background: rgba(255,250,240,.86);
  padding: 18px;
  min-height: 230px;
}
.support-card img { height: 96px; margin-bottom: 12px; object-fit: contain; }
.support-card h3 { font-size: 1.12rem; }
.support-card p { font-size: .95rem; color: var(--ink); }

.page-hero { padding: 58px 0 30px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; font-weight: 700; }
.filters {
  display: grid;
  grid-template-columns: 1fr 210px 210px auto;
  gap: 12px;
  align-items: end;
  margin: 22px 0 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--round);
  background: rgba(255,250,240,.88);
}
.filters label { display: grid; gap: 6px; font-weight: 900; color: var(--green-dark); }
.filters input, .filters select, .form-field input, .form-field textarea, .form-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 10px 12px;
  font: inherit;
}
.check-row { display: flex; gap: 16px; flex-wrap: wrap; margin: -8px 0 24px; font-weight: 800; }
.check-row input { margin-right: 5px; }

.profile-layout { display: grid; grid-template-columns: 1.1fr .75fr; gap: 32px; }
.profile-card, .content-card, .form-card {
  border: 1px solid var(--border);
  border-radius: var(--round);
  background: rgba(255,250,240,.9);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(64,52,34,.07);
}
.profile-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--round); margin-bottom: 20px; }
.details-list { display: grid; gap: 14px; margin: 0; }
.details-list div { border-bottom: 1px dashed var(--border); padding-bottom: 12px; }
.details-list dt { font-weight: 900; color: var(--green-dark); }
.details-list dd { margin: 2px 0 0; color: var(--muted); font-weight: 700; }

.town-grid, .category-grid, .season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-card { border: 1px solid var(--border); border-radius: var(--round); padding: 18px; background: var(--cream-light); }
.mini-card img { height: 78px; object-fit: contain; margin-bottom: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: grid; gap: 7px; font-weight: 900; color: var(--green-dark); }
.form-field.full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.help-text { color: var(--muted); font-weight: 700; font-size: .95rem; }
.status-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--green-soft); font-weight: 900; }
.status-pending { background: #ffe8b8; color: #7c4a00; }
.status-rejected, .status-disabled { background: #ffd5ca; color: #852c15; }

.leaflet-map { min-height: 620px; border-radius: var(--round); border: 1px solid var(--border); overflow: hidden; }
.map-page-grid { display: grid; grid-template-columns: 330px 1fr; gap: 22px; }
.map-list { display: grid; gap: 12px; max-height: 620px; overflow: auto; padding-right: 4px; }
.mlp-pin span {
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--cream-light);
  border-radius: 50% 50% 50% 0;
  background: var(--terracotta);
  box-shadow: 0 6px 14px rgba(64,52,34,.25);
  transform: rotate(-45deg);
}
.mlp-pin span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream-light);
  left: 9px;
  top: 9px;
}

.footer-band { background: var(--green-dark); color: var(--cream-light); margin-top: 42px; }
.footer-phrase { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; }
.footer-phrase img { width: 88px; opacity: .8; }
.site-footer { background: #f0e5d2; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 36px; padding: 34px 0; }
.footer-logo { margin-bottom: 12px; }
.brand-footer img { width: 72px; height: 54px; }
.brand-footer strong { font-size: 1.8rem; }
.footer-grid nav { display: grid; gap: 8px; font-weight: 900; }

@media (max-width: 1020px) {
  .tagline { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--cream-light); }
  .site-nav { display: none; position: absolute; inset: 78px 16px auto; padding: 18px; border: 1px solid var(--border); border-radius: var(--round); background: var(--cream-light); box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; gap: 12px; }
  .hero, .hero-grid { min-height: auto; }
  .hero { background: linear-gradient(rgba(248,241,228,.88), rgba(248,241,228,.95)), url("/assets/design-pack/03-sliced-assets/hero-assets/wide_hero_scene.png") center / cover; }
  .hero-grid { grid-template-columns: 1fr; }
  .category-strip, .producer-grid, .support-grid, .town-grid, .category-grid, .season-grid { grid-template-columns: repeat(2, 1fr); }
  .split-feature, .profile-layout, .map-page-grid { grid-template-columns: 1fr; }
  .season-strip { grid-template-columns: repeat(4, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 22px, 1180px); }
  .site-header { position: sticky; }
  .header-inner { min-height: 74px; }
  .brand img { width: 62px; height: 48px; }
  .brand strong { font-size: 1.55rem; }
  .brand em { font-size: .7rem; }
  .notice { margin: 16px auto 10px; font-size: .94rem; }
  .hero-copy { padding: 30px 0 24px; }
  h1 { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .hero-copy p { font-size: 1.08rem; max-width: 34ch; }
  .hero-copy .leaf { display: none; }
  .search-panel, .filters, .form-grid { grid-template-columns: 1fr; }
  .search-panel { margin-top: 22px; border-radius: 14px; }
  .search-panel input, .search-panel select { min-height: 56px; font-size: 1rem; }
  .search-panel button { width: calc(100% - 14px); min-height: 48px; }
  .search-panel input, .search-panel select { border-right: 0; border-bottom: 1px solid var(--border); }
  .category-strip {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 0 18px;
  }
  .category-icon img { height: 155px; }
  .producer-grid, .support-grid, .town-grid, .category-grid, .season-grid { grid-template-columns: 1fr; }
  .season-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 96px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .season-strip::-webkit-scrollbar { display: none; }
  .season-item { scroll-snap-align: start; }
  .season-strip .button { min-width: 96px; }
  .producer-card img { aspect-ratio: 16 / 10; }
  .support-card { min-height: auto; display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
  .support-card img { height: 82px; margin: 0; }
  .support-card h3 { margin-top: 0; }
  .section-head { display: block; }
  .section-pad { padding: 34px 0; }
  .map-note { position: static; width: auto; margin: 12px; }
  .map-list { max-height: none; }
  .leaflet-map { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-phrase { display: grid; justify-items: start; padding: 16px 0; }
}
