/* CSA waitlist form — editorial, progressive interest meters */

.csa-waitlist-form {
  --csa-ink: #1a140f;
  --csa-moss: #1d3324;
  --csa-moss-soft: #2a4533;
  --csa-line: #d4c9b4;
  --csa-wash: #faf6ee;
  --csa-muted: #6b6256;

  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 34rem;
}

.csa-waitlist-basics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}

.csa-waitlist-basics .csa-waitlist-field:nth-child(1),
.csa-waitlist-basics .csa-waitlist-field:nth-child(2) {
  grid-column: 1 / -1;
}

.csa-waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.csa-waitlist-field--narrow {
  max-width: 8rem;
}

.csa-waitlist-field label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--csa-muted);
}

.csa-waitlist-field input,
.csa-waitlist-field textarea {
  width: 100%;
  padding: 0.55rem 0;
  border: none;
  border-bottom: 1.5px solid var(--csa-line);
  border-radius: 0;
  background: transparent;
  color: var(--csa-ink);
  font-size: 1.1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease;
}

.csa-waitlist-field input::placeholder,
.csa-waitlist-field textarea::placeholder {
  color: #a89f90;
}

.csa-waitlist-field input:focus,
.csa-waitlist-field textarea:focus {
  outline: none;
  border-bottom-color: var(--csa-moss);
}

.csa-waitlist-field textarea {
  resize: vertical;
  min-height: 4.5rem;
  padding-top: 0.35rem;
}

.csa-waitlist-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.15rem;
}

.csa-waitlist-actions input[type="submit"] {
  appearance: none;
  border: none;
  border-radius: 0.15rem;
  background: var(--csa-moss);
  color: #f3ead8;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.csa-waitlist-actions input[type="submit"]:hover {
  background: var(--csa-moss-soft);
}

.csa-waitlist-actions input[type="submit"]:active {
  transform: translateY(1px);
}

.csa-waitlist-alt {
  color: var(--csa-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 1.05rem;
}

.csa-waitlist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Interest meters */

.csa-waitlist-interests {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.csa-waitlist-interests legend {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  color: var(--csa-moss);
  padding: 0;
  margin: 0 0 0.15rem;
}

.csa-waitlist-interests-hint {
  margin: 0 0 0.35rem;
  color: var(--csa-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.csa-waitlist-interest-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.csa-waitlist-interest-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.csa-waitlist-interest-label {
  color: var(--csa-ink);
  font-size: 1.08rem;
  font-weight: 500;
}

.csa-waitlist-interest-hint {
  color: #9a907f;
  font-size: 0.9rem;
  line-height: 1.35;
}

.csa-waitlist-interest-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #9a907f;
}

.csa-waitlist-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.csa-waitlist-scale-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.csa-waitlist-scale-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.csa-waitlist-scale-face {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  background: var(--csa-wash);
  border: 1px solid var(--csa-line);
  color: var(--csa-muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}

.csa-waitlist-scale-option:first-child .csa-waitlist-scale-face {
  border-radius: 0.15rem 0 0 0.15rem;
}

.csa-waitlist-scale-option:last-child .csa-waitlist-scale-face {
  border-radius: 0 0.15rem 0.15rem 0;
}

.csa-waitlist-scale-option:hover .csa-waitlist-scale-face {
  border-color: #b7ab93;
  color: var(--csa-ink);
}

.csa-waitlist-scale-option input:focus-visible + .csa-waitlist-scale-face {
  outline: 2px solid var(--csa-moss);
  outline-offset: 2px;
}

/* Progressive fill: selecting N lights 1…N */
.csa-waitlist-scale:has(input[value="1"]:checked) .csa-waitlist-scale-option:nth-child(-n + 1) .csa-waitlist-scale-face,
.csa-waitlist-scale:has(input[value="2"]:checked) .csa-waitlist-scale-option:nth-child(-n + 2) .csa-waitlist-scale-face,
.csa-waitlist-scale:has(input[value="3"]:checked) .csa-waitlist-scale-option:nth-child(-n + 3) .csa-waitlist-scale-face,
.csa-waitlist-scale:has(input[value="4"]:checked) .csa-waitlist-scale-option:nth-child(-n + 4) .csa-waitlist-scale-face,
.csa-waitlist-scale:has(input[value="5"]:checked) .csa-waitlist-scale-option:nth-child(-n + 5) .csa-waitlist-scale-face {
  background: var(--csa-moss);
  border-color: var(--csa-moss);
  color: #f3ead8;
}

.csa-waitlist-scale:has(input:checked) .csa-waitlist-scale-option:has(input:checked) .csa-waitlist-scale-face {
  box-shadow: inset 0 0 0 1px rgba(243, 234, 216, 0.35);
}

@media (max-width: 520px) {
  .csa-waitlist-basics {
    grid-template-columns: 1fr;
  }

  .csa-waitlist-field--narrow {
    max-width: none;
  }

  .csa-waitlist-scale-face {
    min-height: 2.85rem;
  }
}

/* Post-submit confirmation */

.csa-waitlist-thanks {
  max-width: 36rem;
  padding: 0.5rem 0 0.25rem;
  animation: csa-thanks-in 0.45s ease both;
}

.csa-waitlist-thanks-title {
  margin: 0 0 1rem;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1d3324;
}

.csa-waitlist-thanks-body {
  margin: 0;
  max-width: 28rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #44403c;
}

@keyframes csa-thanks-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .csa-waitlist-thanks {
    animation: none;
  }
}
/* Opal Gardens orchard mind-map */

:root {
  --moss-950: #0c1610;
  --moss-900: #142018;
  --moss-800: #1d3324;
  --leaf: #7d9a68;
  --gold: #d4a24c;
  --cream: #f3ead8;
  --cream-dim: #cfc3aa;
  --ink: #1a140f;
}

.map-body {
  background:
    radial-gradient(ellipse at 50% 42%, #243528 0%, var(--moss-950) 62%);
  color: var(--cream);
}

.page-body {
  background: var(--cream);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 22, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 234, 216, 0.12);
}

.page-body .site-header {
  background: var(--moss-900);
}

.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
}

.site-mark-name {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-mark-place {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.85rem;
}

.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cream);
}

.site-nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ig-icon {
  flex-shrink: 0;
}

.page-main {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.site-footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b6256;
}

.site-footer a {
  color: inherit;
}

.flash {
  max-width: 48rem;
  margin: 1rem auto 0;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
}

.flash-notice {
  background: #dcead0;
  color: #1d3324;
}

.flash-alert {
  background: #f3d6d0;
  color: #6b1d16;
}

.map-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.orchard-map {
  min-height: calc(100vh - 3.6rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.orchard-map--featured {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  transition: min-height 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.orchard-map--featured .mindmap {
  flex: 1 1 auto;
  min-height: min(68vh, 42rem);
  overflow: hidden;
  transition: min-height 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.orchard-map--featured.is-variety-open {
  min-height: calc(100vh - 3.6rem);
  transition: none;
}

.orchard-map--featured.is-variety-open .mindmap {
  min-height: calc(100vh - 7.5rem);
  transition: none;
}

.orchard-map--featured .plant-node {
  --plant-size: min(24vmin, 14.5rem);
  transition: opacity 0.9s ease, filter 0.9s ease;
}

.orchard-map--featured.is-variety-open .plant-node.is-active {
  --plant-size: min(28vmin, 15rem);
  z-index: 3;
  transition: opacity 0.9s ease, left 1s cubic-bezier(0.22, 1, 0.36, 1),
    top 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.orchard-map--featured.is-variety-open .hub-node {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.orchard-map--featured.is-variety-open .map-identity,
.orchard-map--featured.is-variety-open .map-scroll-cue {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.orchard-map--featured .map-identity,
.orchard-map--featured .map-scroll-cue {
  transition: opacity 1.6s ease;
}

.orchard-map--featured.is-variety-open .mindmap-lines .branch-line,
.orchard-map--featured.is-variety-open .mindmap-lines .ring-line {
  opacity: 0;
}

.variety-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.variety-leaf {
  position: absolute;
  z-index: 6;
  /* Box is the photo orb only — name sits outside so left/top = line tip / orb center */
  width: 3.15rem;
  height: 3.15rem;
  text-align: center;
  text-decoration: none;
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.55);
  transition: opacity 0.35s ease, transform 0.45s ease;
  will-change: left, top, opacity, transform;
}

/* Phase 1 — all cultivars appear on the parent crop first */
.variety-leaf.is-populated {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.82);
}

/* Phase 2 — riding the growing spoke */
.variety-leaf.is-riding,
.variety-leaf.is-settled {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.variety-leaf-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(243, 234, 216, 0.4);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  background: #243528;
}

.variety-leaf-name {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: max-content;
  max-width: 6.5rem;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 0.78rem;
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.variety-leaf-meta {
  position: absolute;
  top: calc(100% + 1.35rem);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: max-content;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.variety-leaf:hover .variety-leaf-photo,
.variety-leaf:focus-visible .variety-leaf-photo {
  border-color: var(--gold);
}

/* “See all” lives under the ring in its own pocket — not another spoke node */
.variety-more {
  position: absolute;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 11.5rem;
  padding: 0.85rem 1.35rem 0.95rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: var(--cream);
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 162, 76, 0.22), transparent 55%),
    rgba(18, 30, 22, 0.94);
  border: 1.5px solid rgba(212, 162, 76, 0.75);
  box-shadow:
    0 0 0 6px rgba(212, 162, 76, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(14px) scale(0.92);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.variety-more.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.variety-more-kicker {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.variety-more-title {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--cream);
}

.variety-more-meta {
  margin-top: 0.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.variety-more:hover,
.variety-more:focus-visible {
  border-color: var(--gold);
  box-shadow:
    0 0 0 8px rgba(212, 162, 76, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.5);
}

.variety-more:hover .variety-more-meta,
.variety-more:focus-visible .variety-more-meta {
  color: var(--gold);
}

.mindmap-lines .variety-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
  .orchard-map--featured,
  .orchard-map--featured .mindmap,
  .orchard-map--featured .plant-node,
  .variety-leaf {
    transition: none !important;
    animation: none !important;
  }

  .variety-leaf.is-populated,
  .variety-leaf.is-riding,
  .variety-leaf.is-settled,
  .variety-more.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
}

.orchard-map--featured .hub-node {
  width: 7rem;
  height: 7rem;
}

.map-identity {
  position: relative;
  z-index: 9;
  flex: 0 0 auto;
  margin: 0;
  padding: 1rem 1.25rem 0.75rem;
  text-align: center;
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: radial-gradient(ellipse at 50% 0%, #243528 0%, var(--moss-950) 70%);
}

.map-scroll-cue {
  position: relative;
  z-index: 8;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.35rem 1.25rem 1rem;
  text-align: center;
}

.map-scroll-cue a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(12, 22, 16, 0.72);
  border: 1px solid rgba(212, 162, 76, 0.45);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.map-scroll-cue a:hover,
.map-scroll-cue a:focus-visible {
  background: rgba(20, 32, 24, 0.92);
  color: #fff;
}

.mindmap {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 4.2rem);
  width: 100%;
}

.mindmap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.mindmap-lines .branch-line,
.mindmap-lines .leaf-line {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
}

.mindmap-lines .branch-line {
  stroke-width: 2.4;
  opacity: 0.85;
}

.mindmap-lines .leaf-line {
  stroke-width: 1.4;
  opacity: 0.7;
}

.mindmap-lines .ring-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.35;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
  opacity: 0.45;
}

.hub-node,
.plant-node,
.leaf-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hub-node {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  z-index: 6;
  background: radial-gradient(circle at 35% 30%, #3b5740, #1a2c1f 68%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(212, 162, 76, 0.08), 0 18px 40px rgba(0, 0, 0, 0.35);
  color: var(--cream);
}

.hub-kicker,
.plant-count,
.leaf-meta {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hub-title {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 0.92rem;
  font-weight: normal;
  line-height: 1.15;
  margin: 0.15rem 0 0;
}

.plant-node {
  --plant-size: min(28vmin, 16rem);
  width: var(--plant-size);
  cursor: pointer;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.plant-node.is-dim {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.orchard-map.is-open .plant-node.is-active {
  --plant-size: min(30vmin, 17rem);
}

.orchard-map.is-open .hub-node {
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.plant-photo {
  display: block;
  width: var(--plant-size);
  height: var(--plant-size);
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid rgba(243, 234, 216, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1),
    height 1s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.plant-copy {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 78%;
  padding: 2rem 0.25rem 0.35rem;
  background: linear-gradient(to top, rgba(12, 22, 16, 0.88), transparent);
  border-radius: 0 0 999px 999px;
}

.plant-name {
  display: block;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.15rem, 2.4vmin, 1.7rem);
  line-height: 1.15;
}

.plant-count {
  margin-top: 0.15rem;
}

.plant-node.is-active .plant-photo,
.plant-node:hover .plant-photo,
.plant-node:focus-visible .plant-photo {
  border-color: var(--gold);
}

.leaf-node {
  z-index: 4;
  min-width: 7.2rem;
  max-width: 11rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 32, 24, 0.92);
  border: 1px solid rgba(212, 162, 76, 0.45);
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.leaf-node.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.leaf-node:hover,
.leaf-node:focus-visible {
  background: #243528;
  border-color: var(--gold);
}

.leaf-name {
  display: block;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.2;
}

.leaf-meta {
  margin-top: 0.12rem;
}

.leaf-node--empty {
  font-style: italic;
  color: var(--cream-dim);
}

/* Color-group nodes: an optional middle tier between a branch (e.g. Mulberry)
   and its individual variety leaves (e.g. White Mulberry / Red & Black Mulberry). */
.group-node {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.86);
  z-index: 4;
  --plant-size: min(20vmin, 8.5rem);
  cursor: pointer;
  text-align: center;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.group-node.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.group-node.is-secondary {
  opacity: 0.45;
}

.group-node.is-active .plant-photo {
  border-color: var(--gold);
}

.group-node .plant-copy {
  padding: 1.1rem 0.25rem 0.3rem;
}

.group-node .plant-name {
  font-size: clamp(0.82rem, 1.7vmin, 1.05rem);
}

@media (max-width: 800px) {
  .hub-node {
    width: 5.4rem;
    height: 5.4rem;
  }

  .plant-node {
    --plant-size: min(38vmin, 15rem);
  }

  .leaf-node {
    min-width: 6.2rem;
    max-width: 8.5rem;
    padding: 0.3rem 0.5rem;
  }

  .leaf-name {
    font-size: 0.8rem;
  }
}

/* Featured map: on phones, drop the radial layout for a clear 2×2 photo grid */
@media (max-width: 700px) {
  .orchard-map--featured {
    min-height: auto;
  }

  .orchard-map--featured .mindmap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
    align-content: start;
    justify-items: center;
    min-height: auto;
    padding: 0.85rem 1rem 0.5rem;
  }

  .orchard-map--featured .map-identity {
    padding: 0.65rem 1rem 0.15rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .orchard-map--featured .mindmap-lines,
  .orchard-map--featured .hub-node {
    display: none !important;
  }

  .orchard-map--featured .plant-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none;
    width: 100%;
    max-width: 11.5rem;
    --plant-size: min(42vw, 11.5rem);
    margin: 0 auto;
  }

  .orchard-map--featured .plant-photo {
    width: var(--plant-size);
    height: var(--plant-size);
    margin: 0 auto;
  }

  .orchard-map--featured .plant-copy {
    bottom: 6%;
    width: 86%;
  }

  .orchard-map--featured .plant-name {
    font-size: 1.05rem;
  }

  .orchard-map--featured .group-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none;
    display: none;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    max-width: 10.5rem;
    --plant-size: min(40vw, 10.5rem);
    margin: 0 auto;
  }

  .orchard-map--featured.is-open .plant-node.is-dim {
    display: none;
  }

  .orchard-map--featured.is-open .plant-node.is-active {
    grid-column: 1 / -1;
    max-width: 13.5rem;
    --plant-size: min(52vw, 13.5rem);
  }

  .orchard-map--featured.is-open .group-node.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .orchard-map--featured .map-scroll-cue {
    padding: 0.25rem 1rem 0.85rem;
  }

  .orchard-map--featured .map-scroll-cue a {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }
}

/* All-crops grid below the featured mind map */
.home-body {
  background: var(--moss-950);
}

.crop-catalog {
  background: var(--cream);
  color: var(--ink);
  padding: 2.75rem 1.25rem 4rem;
  scroll-margin-top: 4rem;
}

.crop-catalog-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.crop-catalog-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b45309;
}

.crop-catalog-title {
  margin: 0.35rem 0 0.55rem;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--moss-900);
}

.crop-catalog-lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #6b6256;
}

.crop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 1.75rem 1.25rem;
}

.crop-tile {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.crop-tile--empty {
  cursor: default;
}

.crop-tile--empty:hover .crop-tile-photo {
  transform: none;
}

.plant-node--empty {
  cursor: default;
}

.crop-tile:hover .crop-tile-photo,
.crop-tile:focus-visible .crop-tile-photo {
  transform: scale(1.025);
}

.crop-tile:focus-visible {
  outline: 2px solid var(--moss-800);
  outline-offset: 4px;
}

.crop-tile-photo-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: #ebe4d6;
}

.crop-tile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.crop-tile-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0 0;
}

.crop-tile-name {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.15;
  color: var(--moss-900);
}

.crop-tile-meta {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7a64;
  line-height: 1.35;
}

.crop-more {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid #ddd4c4;
}

.crop-more-title {
  margin: 0.35rem 0 1.25rem;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--moss-900);
}

.crop-grid--secondary {
  gap: 1.35rem 1rem;
}

.home-nursery {
  background: #e7efe4;
  color: var(--ink);
  padding: 3rem 1.25rem 4rem;
}

.home-nursery-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.home-nursery .crop-catalog-kicker {
  color: #5f7348;
}

.home-nursery-title {
  margin: 0.35rem 0 0.55rem;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--moss-900);
}

.home-nursery-lede {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #4b4338;
}

.home-nursery-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.home-nursery-actions a {
  color: var(--moss-900);
  text-underline-offset: 0.2em;
}

.home-nursery-secondary {
  color: #5a5348;
}

.availability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d6d0c4;
}

.availability-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e5dfd3;
}

.availability-name {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem;
  color: var(--moss-900);
  text-decoration: none;
}

.availability-name:hover,
.availability-name:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.availability-meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7a64;
}

@media (min-width: 640px) {
  .crop-grid {
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .crop-grid {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  }
}
/* Cultivar trading cards on the varieties catalog page */

.flavor-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  padding: 0.6rem 0.9rem;
  background: #faf6ee;
  border: 1px solid #e5d9bf;
  border-radius: 0.5rem;
  max-width: 72rem;
}

.flavor-key-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b5c48;
}

.flavor-key-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #2a241c;
}

.variety-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1.35rem;
  max-width: 72rem;
}

.variety-card {
  display: block;
  color: inherit;
  text-decoration: none;
  perspective: 900px;
}

.variety-card-frame {
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #faf6ee 0%, #efe6d4 100%);
  border: 2px solid #1a2c1f;
  border-radius: 0.55rem;
  box-shadow:
    inset 0 0 0 3px #d4a24c,
    0 10px 28px rgba(26, 20, 15, 0.14);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.variety-card:hover .variety-card-frame,
.variety-card:focus-visible .variety-card-frame {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow:
    inset 0 0 0 3px #d4a24c,
    0 16px 36px rgba(26, 20, 15, 0.2);
}

.variety-card-photo {
  flex: 0 0 42%;
  position: relative;
  background: #1a2c1f;
  overflow: hidden;
}

.variety-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 44, 31, 0.35) 100%);
  pointer-events: none;
}

.variety-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.variety-card-flavors {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  display: flex;
  gap: 0.2rem;
}

.variety-card-flavor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.92);
  border: 1px solid #d4a24c;
  font-size: 0.72rem;
  line-height: 1;
}

.variety-card-header {
  flex: 0 0 auto;
  padding: 0.55rem 0.65rem 0.45rem;
  text-align: center;
  background: linear-gradient(180deg, #2d4534, #1a2c1f);
  color: #faf6ee;
  border-bottom: 2px solid #d4a24c;
}

.variety-card-brand {
  margin: 0;
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4a24c;
}

.variety-card-name {
  margin: 0.12rem 0 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  line-height: 1.1;
  font-weight: 700;
}

.variety-card-category {
  margin: 0.18rem 0 0;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.72);
}

.variety-card-stats {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.45rem 0.55rem 0.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem;
  overflow: hidden;
}

.variety-card-stat {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.35rem;
  align-items: start;
  font-size: 0.58rem;
  line-height: 1.25;
}

.variety-card-stat dt {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5c48;
}

.variety-card-stat dd {
  margin: 0;
  color: #2a241c;
}

@media (min-width: 640px) {
  .variety-cards {
    grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  }
}

@media (min-width: 1024px) {
  .variety-cards {
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
