/* Dionaea.cn — light, minimal */

:root {
  --bg: #f7faf5;
  --bg-white: #ffffff;
  --bg-muted: #eef4ea;
  --text: #1a2e1a;
  --text-muted: #5c735c;
  --accent: #c41e3a;
  --accent-soft: #e85d5d;
  --green: #2d6a2e;
  --green-light: #52b788;
  --border: rgba(45, 106, 46, 0.12);
  --shadow: 0 4px 24px rgba(26, 46, 26, 0.08);
  --shadow-hover: 0 12px 32px rgba(26, 46, 26, 0.12);
  --radius: 12px;
  --font-display: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 4.5rem;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(82, 183, 136, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(196, 30, 58, 0.05), transparent);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-white);
  flex-shrink: 0;
}

.lang-opt {
  padding: 0.38rem 0.55rem;
  min-width: 2.1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.lang-opt:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.lang-opt.is-active {
  background: var(--green);
  color: #fff;
}

.lang-opt:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: -2px;
  z-index: 1;
}

.site-nav {
  display: flex;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--green);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg-muted);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 1.375rem;
  height: 0.875rem;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}

.nav-toggle-bar:nth-child(1) {
  top: 0;
}

.nav-toggle-bar:nth-child(2) {
  top: calc(50% - 1px);
}

.nav-toggle-bar:nth-child(3) {
  top: calc(100% - 2px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.6);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--green);
}

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
}

.hero-copy {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.hero-compact {
  padding: 0.85rem 0 0.5rem;
}

.hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
}

.hero-compact .hero-text {
  flex: 1;
  min-width: min(100%, 16rem);
}

.hero-compact .hero-eyebrow {
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
}

.hero-compact h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  margin-bottom: 0.25rem;
}

.hero-compact .hero-lead {
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 0;
  max-width: 42rem;
}

.hero-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-lead strong {
  color: var(--green);
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  background: var(--green);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #245a25;
  transform: translateY(-1px);
  color: #fff !important;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-catalog {
  padding: 0 0 2rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}

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

/* About & care */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.about-card h3 {
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.about-card dl {
  display: grid;
  gap: 0.4rem;
}

.about-card dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.about-card dd {
  font-size: 0.9rem;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.care-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.care-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.care-card h3 {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.care-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-wrap::before {
  content: "⌕";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.search-wrap input:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.filter-panel {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  z-index: 20;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 1rem;
}

.filter-row + .filter-row {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.filter-row--traits {
  align-items: flex-start;
}

.filter-row--traits > .filter-label {
  padding-top: 0.38rem;
}

.trait-filter-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filter-label {
  flex: 0 0 auto;
  min-width: 2.5em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  padding-top: 0.35rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.trait-filter-groups {
  flex: 1;
  min-width: 0;
}

.filter-chips--trait-groups {
  flex-wrap: wrap;
}

.chip-trait-group.is-open {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.chip-trait-group.has-picked:not(.is-open) {
  border-color: var(--green-light);
  color: var(--green);
}

.chip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
  height: 1.1em;
  margin-left: 0.35em;
  padding: 0 0.3em;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.25);
}

.chip-trait-group.has-picked:not(.is-open) .chip-badge {
  background: rgba(82, 183, 136, 0.2);
  color: var(--green);
}

.trait-submenu-bar {
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  animation: trait-bar-in 0.18s ease-out;
  position: relative;
  z-index: 21;
}

.trait-submenu-bar[hidden] {
  display: none !important;
}

@keyframes trait-bar-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trait-submenu-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.trait-submenu-title {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.filter-chips--traits {
  flex: 1;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.chip-trait .chip-count {
  opacity: 0.75;
  font-size: 0.72em;
  margin-left: 0.15em;
}

.chip-clear-traits {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-clear-traits:hover,
.chip-clear-traits.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.chip:hover,
.chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.chip-trait.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.chip-trait.active .chip-count {
  color: #fff;
  opacity: 0.92;
}

/* Cards */
.cultivar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.section-catalog .card-image-wrap {
  aspect-ratio: 4 / 3;
}

.section-catalog .card-body {
  padding: 0.85rem 1rem 0.9rem;
}

.section-catalog .card-title {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.section-catalog .card-cultivar-sub {
  margin-bottom: 0.25rem;
}

.section-catalog .card-scientific {
  margin-bottom: 0.5rem;
  -webkit-line-clamp: 3;
}

.section-catalog .card-meta {
  margin-top: 0.45rem;
}

.cultivar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.cultivar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--text-muted);
}

.card-badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.badge-stock {
  color: var(--green);
}

.badge-out {
  color: var(--text-muted);
}

.badge-price {
  color: var(--accent);
}

.badge-sources {
  color: var(--green);
  background: rgba(255, 255, 255, 0.95);
}

.card-body {
  padding: 1rem;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.card-cultivar-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.card-scientific {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
}

.page-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 26, 0.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-white);
  border-radius: calc(var(--radius) + 4px);
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
}

.modal-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  min-height: 220px;
  max-height: min(62vh, 520px);
}

.modal-gallery img {
  width: 100%;
  height: auto;
  max-height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  text-align: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 1;
}

.gallery-nav.prev {
  left: 0.5rem;
}

.gallery-nav.next {
  right: 0.5rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  background: var(--bg-muted);
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.gallery-dot.active {
  background: var(--green);
  transform: scale(1.2);
}

.modal-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0;
}

.modal-desc-note {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  max-height: 12rem;
  overflow-y: auto;
}

.sources-heading {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.source-list {
  display: grid;
  gap: 0.85rem;
}

.source-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  background: var(--bg-muted);
}

.source-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.source-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-white);
  color: var(--green);
  border: 1px solid var(--border);
  word-break: break-all;
}

.source-link {
  font-size: 0.8rem;
  white-space: nowrap;
}

.source-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.source-block .modal-desc {
  max-height: 10rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.tag-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-muted);
  border-radius: 999px;
  color: var(--text-muted);
}

.modal-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact */
.section-contact {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.section-header-compact {
  margin-bottom: 0.75rem;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 520px;
}

.contact-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.contact-email {
  margin: 0;
  font-size: 0.95rem;
}

.contact-email span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-email a {
  font-weight: 500;
  word-break: break-all;
}

/* Footer */
.site-footer {
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.footer-sep {
  margin: 0 0.35rem;
  color: var(--border);
  user-select: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-actions {
    gap: 1.15rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    min-width: min(16rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.35rem) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.22s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.22s;
    pointer-events: none;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: calc(var(--radius) - 2px);
    border-bottom: none;
    font-size: 0.95rem;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: var(--bg-muted);
    color: var(--green);
  }

  .site-nav {
    position: relative;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar,
  .nav {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .cultivar-grid {
    grid-template-columns: 1fr;
  }
}
