:root {
  --sky-50: #f7fbfd;
  --sky-100: #edf5f8;
  --sky-200: #ddebf2;
  --sky-300: #c9dde7;
  --sky-400: #afccda;
  --sky-500: #8db9cd;
  --blue-ink: #3d6073;
  --blue-ink-soft: #6f8796;
  --mint: #dff7ee;
  --butter: #fff6cf;
  --rose: #f3e4ea;
  --lavender-mist: #f3f4f8;
  --shadow: 0 20px 60px rgba(84, 119, 140, 0.12);
  --radius-xl: 24px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Optima", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--blue-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 30%),
    radial-gradient(circle at top right, rgba(246, 249, 251, 0.8), transparent 28%),
    radial-gradient(circle at bottom right, rgba(224, 236, 241, 0.72), transparent 30%),
    linear-gradient(180deg, #f2f7fa 0%, #e9f2f7 38%, #deebf2 100%);
}

body.gate-open {
  overflow: auto;
}

body.gate-closed {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.garden-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 24%),
    radial-gradient(circle at bottom right, rgba(194, 220, 220, 0.24), transparent 22%),
    linear-gradient(180deg, #ddeeee 0%, #d4e9e9 48%, #cadddf 100%);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.garden-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.garden-gate.is-opening .garden-gate-button {
  transform: scale(1.01);
}

.garden-gate-button {
  position: relative;
  width: min(1220px, 100%);
  min-height: calc(100vh - 32px);
  padding: 48px 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(209, 231, 231, 0.76), rgba(194, 217, 220, 0.72)),
    rgba(214, 232, 232, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 36px 100px rgba(102, 137, 145, 0.22);
  overflow: hidden;
  transition: transform 520ms ease, box-shadow 520ms ease;
}

.gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 23, 0.62), rgba(10, 24, 40, 0.7)),
    url("https://img1.wsimg.com/isteam/ip/2c06830f-912d-4a23-a700-b981203702ce/ols/92276484_111_b4.webp/:/rs=w:1200,h:1200")
      center center / cover no-repeat;
  filter: saturate(0.7) brightness(0.72);
}

.gate-backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at center, rgba(206, 221, 230, 0.08), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(4, 11, 22, 0.14), rgba(4, 11, 22, 0.28));
  opacity: 1;
}

.gate-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03));
  opacity: 0.26;
}

.gate-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    linear-gradient(90deg, rgba(53, 70, 78, 0.7), rgba(89, 109, 119, 0.12));
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease, filter 420ms ease;
}

.gate-door-left {
  left: 0;
  border-right: 1px solid rgba(241, 246, 243, 0.14);
}

.gate-door-right {
  right: 0;
  border-left: 1px solid rgba(241, 246, 243, 0.14);
}

.garden-gate.is-opening .gate-door-left {
  transform: translateX(-102%);
  opacity: 0.16;
  filter: blur(1px);
}

.garden-gate.is-opening .gate-door-right {
  transform: translateX(102%);
  opacity: 0.16;
  filter: blur(1px);
}

.gate-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  padding: min(16vh, 132px) 56px 62px;
  background:
    linear-gradient(180deg, rgba(252, 250, 245, 0.96), rgba(241, 243, 244, 0.92)),
    rgba(248, 248, 245, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 1px rgba(141, 152, 158, 0.1),
    0 28px 80px rgba(8, 14, 22, 0.22);
  backdrop-filter: blur(8px);
}

.gate-copy::before,
.gate-copy::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  pointer-events: none;
}

.gate-copy::before {
  border: 1px solid rgba(130, 145, 154, 0.16);
}

.gate-copy::after {
  inset: 28px;
  border: 1px solid rgba(130, 145, 154, 0.08);
}

.gate-kicker {
  margin: 0 0 24px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(108, 127, 141, 0.86);
}

.gate-emblem {
  position: relative;
  width: 118px;
  height: 138px;
  margin: 0 auto 20px;
}

.gate-emblem-oval {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(112, 132, 149, 0.42);
  border-radius: 50% / 42%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.gate-emblem-oval::before,
.gate-emblem-oval::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(112, 132, 149, 0.22);
  transform: translateX(-50%);
}

.gate-emblem-oval::before {
  top: 16px;
  bottom: 16px;
}

.gate-emblem-oval::after {
  top: 50%;
  left: 16px;
  right: 16px;
  width: auto;
  height: 1px;
  transform: translateY(-50%);
}

.gate-emblem-keyhole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 42px;
  transform: translate(-50%, -44%);
}

.gate-emblem-keyhole::before,
.gate-emblem-keyhole::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(112, 132, 149, 0.72);
}

.gate-emblem-keyhole::before {
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.gate-emblem-keyhole::after {
  top: 14px;
  width: 8px;
  height: 28px;
  border-radius: 999px 999px 4px 4px;
}

.gate-title {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: clamp(4.6rem, 8vw, 7rem);
  line-height: 0.88;
  color: #566a79;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.gate-invite {
  margin: 0 0 16px;
  color: #718292;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gate-support {
  color: #6f7d89;
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.36rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}

.gate-enter {
  display: inline-block;
  margin-top: 34px;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(138, 156, 167, 0.18);
  color: #5b7180;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 241, 237, 0.86));
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 30px rgba(20, 28, 33, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.garden-gate-button:hover .gate-enter,
.garden-gate-button:focus-visible .gate-enter {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 34px rgba(20, 28, 33, 0.12);
}

.gate-divider {
  display: block;
  width: 118px;
  height: 1px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, rgba(126, 142, 152, 0), rgba(126, 142, 152, 0.38), rgba(126, 142, 152, 0));
}

.gate-photo-credit {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  font-size: 0.32rem;
  color: rgba(243, 247, 250, 0.36);
  letter-spacing: 0.02em;
}

.gate-photo-credit a {
  color: inherit;
  text-decoration-color: rgba(243, 247, 250, 0.18);
}

.gate-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(241, 246, 243, 0.14);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gate-frame::before,
.gate-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
}

.gate-frame::before {
  border: 1px solid rgba(241, 246, 243, 0.08);
}

.gate-frame::after {
  background:
    radial-gradient(circle at top left, rgba(239, 244, 242, 0.12) 0 2px, transparent 2.5px),
    radial-gradient(circle at top left, rgba(239, 244, 242, 0.05) 0 26px, transparent 26.5px),
    radial-gradient(circle at top right, rgba(239, 244, 242, 0.12) 0 2px, transparent 2.5px),
    radial-gradient(circle at top right, rgba(239, 244, 242, 0.05) 0 26px, transparent 26.5px),
    radial-gradient(circle at bottom left, rgba(239, 244, 242, 0.12) 0 2px, transparent 2.5px),
    radial-gradient(circle at bottom left, rgba(239, 244, 242, 0.05) 0 26px, transparent 26.5px),
    radial-gradient(circle at bottom right, rgba(239, 244, 242, 0.12) 0 2px, transparent 2.5px),
    radial-gradient(circle at bottom right, rgba(239, 244, 242, 0.05) 0 26px, transparent 26.5px);
  opacity: 0.6;
}

.gate-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
}

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy,
.panel,
.hero-card {
  border: 1px solid rgba(132, 184, 214, 0.38);
  box-shadow: var(--shadow);
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    radial-gradient(circle at bottom left, rgba(233, 239, 245, 0.56), transparent 28%),
    radial-gradient(circle at top right, rgba(242, 246, 248, 0.62), transparent 26%),
    linear-gradient(135deg, rgba(241, 247, 251, 0.98), rgba(255, 255, 255, 0.92));
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(222, 234, 241, 0.96), rgba(246, 250, 252, 0.94)),
    rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.social-card {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(103, 141, 162, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--blue-ink-soft);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--blue-ink-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  max-width: 9ch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.hero-text,
.hero-card p,
.panel p {
  line-height: 1.6;
  font-size: 1.08rem;
}

.hero-card p,
.social-card p {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.18rem;
}

.plant-card li {
  line-height: 1.55;
  font-size: 1rem;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  color: #4a6576;
}

.plant-card > p {
  font-family: "Optima", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #4f6679;
}

.plant-card li strong {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #3d5a6d;
}

.status-pill {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hero-location {
  margin-top: 6px;
  margin-bottom: 8px;
}

#hero-zone {
  margin: 0 0 18px;
  font-size: 1.16rem;
}

#hero-season {
  margin: 0;
  max-width: 24ch;
  font-size: 1.12rem;
  line-height: 1.32;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #6b8294;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.title-soft {
  font-size: 0.34em;
  line-height: 1.08;
  color: #70879b;
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 16ch;
}

.title-strong {
  font-size: 1em;
  line-height: 0.88;
  font-weight: 600;
}

.hero-text {
  max-width: 28ch;
  color: #53758c;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.26;
  letter-spacing: 0.01em;
}

.hero-copy-inner {
  position: relative;
  z-index: 1;
}

.hero-garden-photo {
  margin: 0;
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 54px rgba(88, 129, 157, 0.14);
}

.hero-garden-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(240, 247, 252, 0.04), rgba(231, 240, 246, 0.12)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 20%);
  pointer-events: none;
}

.hero-garden-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-garden-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  margin: 0;
  font-size: 0.18rem;
  letter-spacing: 0.02em;
  opacity: 0.48;
}

.hero-garden-photo a {
  color: rgba(245, 249, 251, 0.78);
  text-decoration-color: rgba(245, 249, 251, 0.22);
}

.layout {
  display: grid;
  grid-template-columns: 0.96fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.plant-panel {
  grid-column: 1 / -1;
}

.controls,
.favorites-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.garden-note {
  max-width: 36ch;
}

.garden-save-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.garden-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.garden-label {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1rem;
  color: var(--blue-ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garden-save-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}

.garden-name-wrap input {
  min-width: 0;
}

.garden-save-actions button {
  flex: 0 0 auto;
  min-width: 154px;
}

.saved-gardens-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.saved-gardens-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.saved-garden-chip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(132, 184, 214, 0.28);
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.saved-garden-chip.is-active {
  background: linear-gradient(180deg, rgba(224, 236, 247, 0.98), rgba(239, 247, 252, 0.96));
  border-color: rgba(102, 146, 179, 0.45);
  transform: translateY(-1px);
}

.saved-garden-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.saved-garden-main button,
.saved-garden-delete {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.saved-garden-main button {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.24rem;
  color: var(--blue-ink);
  text-align: left;
}

.saved-garden-meta {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1rem;
  color: var(--blue-ink-soft);
}

.saved-garden-delete {
  align-self: start;
  color: var(--blue-ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-heading {
  padding: 18px 18px 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 26%),
    linear-gradient(135deg, rgba(223, 236, 243, 0.94), rgba(243, 248, 251, 0.94));
  border: 1px solid rgba(132, 184, 214, 0.28);
}

.location-lead {
  margin: 0;
  color: var(--blue-ink-soft);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.28;
  letter-spacing: 0.01em;
  font-style: italic;
}

.panel-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-row,
.button-row,
.map-details,
.mini-grid,
.season-strip {
  display: grid;
  gap: 12px;
}

.input-row {
  grid-template-columns: 1fr auto;
}

.location-form label {
  font-weight: 700;
}

.button-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input {
  width: 100%;
  border: 1px solid rgba(126, 182, 215, 0.55);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-ink);
  font-size: 1.06rem;
}

.helper-text {
  margin-top: -4px;
  color: var(--blue-ink-soft);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.32;
  letter-spacing: 0.01em;
  font-style: italic;
}

.catalog-note {
  margin: 0;
  color: var(--blue-ink-soft);
  max-width: 70ch;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.32;
  letter-spacing: 0.01em;
  font-style: italic;
}

.catalog-section + .catalog-section {
  margin-top: 28px;
}

.catalog-heading {
  margin-bottom: 14px;
}

.catalog-section-title {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink-soft);
  line-height: 1.1;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 13px 18px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  letter-spacing: 0.03em;
}

button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-400));
  color: white;
  box-shadow: 0 10px 24px rgba(93, 182, 224, 0.3);
}

.secondary-button {
  background: rgba(223, 247, 238, 0.96);
  color: var(--blue-ink);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.75);
  color: var(--blue-ink-soft);
}

.spotlight-card,
.fact-card,
.favorites-empty,
.favorite-chip,
.plant-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(132, 184, 214, 0.28);
}

.spotlight-card {
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(241, 234, 239, 0.42), transparent 32%),
    linear-gradient(180deg, rgba(252, 255, 255, 0.98), rgba(239, 247, 251, 0.92));
}

.spotlight-card p,
.spotlight-card #season-window,
.spotlight-card #season-description {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.season-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-card {
  padding: 16px;
  background: rgba(250, 253, 255, 0.82);
}

.season-chip {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(132, 184, 214, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.season-chip.is-current {
  background:
    linear-gradient(180deg, rgba(255, 246, 207, 0.92), rgba(223, 247, 238, 0.94)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(126, 188, 192, 0.18);
}

.season-chip strong,
.season-chip span {
  display: block;
}

.season-chip strong,
.fact-card strong {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue-ink);
}

.season-chip span {
  margin-top: 6px;
  color: var(--blue-ink-soft);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.18;
}

.fact-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--blue-ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-card strong {
  font-size: 1.28rem;
  line-height: 1.2;
}

.map-frame {
  position: relative;
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(235, 245, 250, 0.94)),
    rgba(255, 255, 255, 0.64);
  overflow: hidden;
}

.zone-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.legend-chip {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--blue-ink);
}

.map-stage {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(214, 239, 255, 0.92), rgba(247, 253, 255, 0.96));
}

.map-scene {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 260ms ease;
}

.map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-control-button {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-ink);
  box-shadow: 0 10px 24px rgba(73, 127, 156, 0.14);
}

.map-control-pill {
  min-width: 120px;
  font-size: 0.86rem;
}

.zone-band {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 0.84rem;
  color: rgba(41, 80, 106, 0.58);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
}

.zone-3 { top: 0; height: 10%; background: rgba(227, 238, 255, 0.96); }
.zone-4 { top: 10%; height: 10%; background: rgba(212, 229, 255, 0.96); }
.zone-5 { top: 20%; height: 12%; background: rgba(196, 225, 255, 0.96); }
.zone-6 { top: 32%; height: 12%; background: rgba(183, 228, 247, 0.96); }
.zone-7 { top: 44%; height: 13%; background: rgba(170, 236, 242, 0.96); }
.zone-8 { top: 57%; height: 13%; background: rgba(183, 242, 214, 0.96); }
.zone-9 { top: 70%; height: 12%; background: rgba(250, 242, 189, 0.96); }
.zone-10 { top: 82%; height: 10%; background: rgba(255, 223, 177, 0.96); }
.zone-11 { top: 92%; height: 8%; background: rgba(255, 205, 198, 0.96); }

.map-outline {
  position: absolute;
  inset: 8% 8%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 251, 255, 0.94));
  clip-path: polygon(4% 33%, 12% 26%, 18% 18%, 30% 12%, 40% 16%, 49% 12%, 60% 17%, 73% 16%, 88% 23%, 95% 32%, 92% 42%, 90% 52%, 92% 61%, 84% 64%, 80% 73%, 72% 78%, 64% 75%, 54% 80%, 42% 77%, 32% 82%, 22% 78%, 16% 69%, 10% 58%, 4% 49%);
  border: 2px solid rgba(102, 166, 205, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.map-focus-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 999px rgba(225, 244, 255, 0.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 240ms ease, top 240ms ease;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: left 240ms ease, top 240ms ease;
}

.map-marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9fb1, #ffdeea);
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(255, 162, 183, 0.35);
}

.map-marker-label {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  color: var(--blue-ink);
  box-shadow: var(--shadow);
}

.map-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  padding: 18px 0 0;
}

.map-details h3,
#detail-coords,
#detail-zone-note {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
}

#detail-coords,
#detail-zone-note {
  font-size: 1.24rem;
  line-height: 1.28;
}

.favorites-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.favorites-empty {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-ink-soft);
}

.favorite-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  min-width: 220px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
}

.favorite-chip button {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 219, 230, 0.72);
  color: var(--blue-ink);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.08rem;
}

.favorite-chip strong {
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--blue-ink);
}

.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.plant-card {
  position: relative;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 255, 0.92)),
    rgba(255, 255, 255, 0.7);
}

.plant-card-edible {
  background:
    linear-gradient(180deg, rgba(224, 236, 247, 0.98), rgba(212, 228, 240, 0.96)),
    rgba(229, 239, 247, 0.9);
  border-color: rgba(110, 150, 181, 0.42);
}

.plant-card-decorative {
  background:
    linear-gradient(180deg, rgba(251, 251, 249, 0.96), rgba(243, 244, 241, 0.95)),
    rgba(255, 255, 255, 0.8);
}

.plant-card.is-dimmed {
  opacity: 0.58;
  filter: grayscale(0.15);
}

.plant-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(214, 244, 228, 0.98), rgba(236, 250, 243, 0.98));
  color: #4a6f61;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(85, 136, 117, 0.12);
}

.plant-image-wrap {
  position: relative;
  margin: -6px -6px 16px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 219, 230, 0.68), transparent 28%),
    linear-gradient(135deg, rgba(214, 239, 255, 0.95), rgba(223, 247, 238, 0.92));
}

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

.plant-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue-ink);
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.4rem;
  text-align: center;
  padding: 18px;
}

.plant-image-placeholder.is-hidden {
  display: none;
}

.plant-credit {
  margin: 4px 0 0;
  font-size: 0.1rem;
  color: rgba(138, 148, 158, 0.11);
  line-height: 1.1;
  opacity: 0.5;
}

.plant-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 148, 158, 0.04);
}

.plant-card-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.plant-tags,
.plant-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plant-tag,
.plant-fact,
.star-button {
  border-radius: 999px;
}

.plant-tag,
.plant-fact {
  padding: 8px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.plant-tag { background: rgba(223, 247, 238, 0.9); }
.plant-fact { background: rgba(239, 240, 255, 0.9); }

.tag-edible {
  background: rgba(223, 247, 238, 0.96);
}

.tag-decorative {
  background: rgba(245, 231, 218, 0.96);
}

.tag-unavailable {
  background: rgba(229, 231, 236, 0.96);
  color: #63727c;
}

.plant-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.star-button {
  min-width: 46px;
  min-height: 46px;
  background: rgba(255, 255, 255, 0.92);
  color: #ff7896;
  font-size: 1.2rem;
}

.star-button.is-active {
  background: rgba(255, 219, 230, 0.95);
}

.brand-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 30px 0 8px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(132, 184, 214, 0.2);
  color: var(--blue-ink-soft);
}

.brand-footer p {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

@media (max-width: 960px) {
  .hero,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .garden-save-bar {
    grid-template-columns: 1fr;
  }

  .hero-garden-photo,
  .hero-garden-photo img {
    min-height: 300px;
  }

  .mini-grid,
  .map-details,
  .button-row,
  .season-strip {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 320px;
  }

  .plant-panel {
    grid-column: auto;
  }

  .brand-footer {
    border-radius: 24px;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    padding: 14px;
  }

  .garden-gate {
    padding: 10px;
  }

  .garden-gate-button {
    min-height: calc(100vh - 20px);
    padding: 22px 12px;
    border-radius: 22px;
  }

  .gate-copy {
    max-width: 100%;
    padding: min(12vh, 84px) 24px 36px;
    border-radius: 24px;
  }

  .gate-copy::before {
    inset: 10px;
    border-radius: 14px;
  }

  .gate-copy::after {
    inset: 18px;
    border-radius: 12px;
  }

  .gate-emblem {
    width: 86px;
    height: 104px;
    margin-bottom: 18px;
  }

  .gate-kicker {
    margin-bottom: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
  }

  .gate-divider {
    width: 92px;
    margin-bottom: 16px;
  }

  .gate-title {
    font-size: clamp(3.2rem, 14vw, 4.7rem);
    line-height: 0.94;
  }

  .gate-invite {
    font-size: 0.94rem;
    letter-spacing: 0.18em;
  }

  .gate-support,
  .gate-enter {
    font-size: 1rem;
  }

  .gate-photo-credit {
    right: 14px;
    bottom: 10px;
  }

  .hero-copy,
  .hero-card,
  .panel {
    padding: 20px;
    border-radius: 20px;
  }

  .hero-topline {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
    max-width: 100%;
    gap: 10px;
  }

  .title-soft {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1.28rem;
  }

  .hero-garden-photo,
  .hero-garden-photo img {
    min-height: 240px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .input-row .primary-button,
  .garden-save-actions button {
    width: 100%;
  }

  .garden-save-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .saved-garden-chip,
  .favorite-chip {
    width: 100%;
    min-width: 0;
  }

  .favorite-chip {
    padding: 12px 14px;
  }

  .favorite-chip strong {
    font-size: 1.18rem;
  }

  .plant-grid {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 260px;
  }

  #hero-location,
  #detail-place,
  #detail-zone {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }
}
