/* ==========================================================
   Rankshelfbriskly — Living Garden Interface
   Aesthetic: Soft modern | Card style: Border accent (top bar)
   ========================================================== */
:root {
  --moss: #4a6b3a;
  --moss-dark: #2f4a24;
  --moss-soft: #e3ebd8;
  --leaf: #7fa35b;
  --clay: #b5654a;
  --clay-dark: #8f4a32;
  --clay-soft: #f4e0d4;
  --cream: #f7f1e3;
  --cream-light: #fffaf0;
  --sun: #f2b705;
  --sun-dark: #d9a300;
  --sun-soft: #fdf1c7;
  --ink: #26261c;
  --ink-soft: #4a4839;
  --soil: #6b4428;
  --line: rgba(47, 74, 36, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(47, 74, 36, 0.06), 0 8px 24px rgba(47, 74, 36, 0.08);
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
body.has-cookie-banner { padding-bottom: 180px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--moss-dark);
  margin: 0 0 var(--s3);
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--s3); }
ul, ol { margin: 0 0 var(--s3); padding-left: 1.25em; }
li { margin-bottom: var(--s2); }
a { color: var(--clay-dark); text-underline-offset: 3px; }
a:hover { color: var(--moss-dark); }
svg { display: block; max-width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: 8px; z-index: 200;
  background: var(--sun); color: var(--ink);
  padding: 8px 16px; border-radius: 8px; font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); color: var(--ink); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s4); }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: var(--cream-light); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 var(--s4);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
}
.header-inner > * { min-width: 0; }
.brand {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--moss-dark); text-decoration: none; overflow-wrap: anywhere; line-height: 1.1;
}
.brand:hover { color: var(--moss); }
.brand-mark { flex: 0 0 32px; width: 32px; height: 32px; }
.brand-name { overflow-wrap: anywhere; min-width: 0; }
.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; overflow-wrap: anywhere; }
.nav-list { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; min-width: 0; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink); background: transparent; text-decoration: none;
  font-size: 0.93rem; font-weight: 600; overflow-wrap: anywhere;
  transition: background-color .2s ease, color .2s ease;
}
.nav-list a:hover { background: var(--moss-soft); color: var(--moss-dark); }
.nav-list a[aria-current="page"] { background: var(--moss); color: #fff; }
.header-actions { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.header-cta {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap; transition: background-color .2s ease;
}
.header-cta:hover { background: var(--sun-dark); color: var(--ink); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: var(--moss); color: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle:hover { background: var(--moss-dark); color: #fff; }
.nav-toggle-bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Generic sections ---------- */
main { display: block; }
.section { margin: var(--s6) 0; }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.eyebrow {
  display: inline-block; margin-bottom: var(--s3);
  padding: 6px 16px; border-radius: 999px;
  background: var(--sun-soft); color: var(--moss-dark);
  font-weight: 700; font-size: 0.85rem; letter-spacing: .04em; text-transform: uppercase;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.note { color: var(--ink-soft); font-size: 0.95rem; max-width: 760px; margin-top: var(--s5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-align: center;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--moss); color: #fff; overflow-wrap: anywhere;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--moss-dark); color: #fff; transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--moss-dark); box-shadow: inset 0 0 0 2px var(--moss); }
.btn--ghost:hover { background: var(--moss-soft); color: var(--moss-dark); }
.btn--light { background: var(--cream-light); color: var(--moss-dark); }
.btn--light:hover { background: var(--moss-soft); color: var(--moss-dark); }
.btn--outline-light { background: transparent; color: var(--cream-light); box-shadow: inset 0 0 0 2px var(--cream-light); }
.btn--outline-light:hover { background: rgba(255, 250, 240, 0.14); color: var(--cream-light); }
.btn--small { padding: 10px 16px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn-row > * { min-width: 0; }

/* ---------- Cards: border accent (top bar only) ---------- */
.card {
  --accent: var(--moss);
  position: relative;
  display: flex; flex-direction: column; gap: var(--s4);
  min-width: 0;
  padding: var(--s5) var(--s4) var(--s4);
  border-radius: var(--radius);
  background: var(--cream-light); color: var(--ink);
  box-shadow: var(--shadow);
}
.card::before {
  content: ""; position: absolute; top: 0; left: var(--s4); right: var(--s4);
  height: 6px; border-radius: 0 0 6px 6px; background: var(--accent);
}
.card--moss { --accent: var(--moss); }
.card--sun { --accent: var(--sun); }
.card--clay { --accent: var(--clay); }
.card--leaf { --accent: var(--leaf); }
.card > * { margin-bottom: 0; }
.card h3, .card h2 { margin-bottom: 0; }
.card-body p { margin: var(--s2) 0 0; color: var(--ink-soft); }
.card-body > *:first-child { margin-top: 0; }
.card-icon { width: 48px; height: 48px; }
.card-cta { align-self: flex-start; margin-top: auto; }
.card ul { margin: 0; }
.card-grid {
  display: grid; gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.card-grid > * { min-width: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--moss-soft); box-shadow: inset 0 0 0 4px var(--accent);
}

/* ---------- Stats ---------- */
.results { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.results > * { min-width: 0; }
.stat {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: var(--s3); border-radius: 14px;
  background: var(--moss-soft); color: var(--ink);
}
.stat-value {
  font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; line-height: 1.1;
  color: var(--moss-dark); overflow-wrap: anywhere;
}
.stat-label { font-size: 0.88rem; line-height: 1.35; color: var(--ink-soft); }
.stat--large .stat-value { font-size: 1.9rem; }
.fact-strip { display: grid; gap: var(--s4); margin-top: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fact-strip > * { min-width: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.form-grid > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--ink); overflow-wrap: anywhere; }
.field--check { justify-content: flex-end; }
.input {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem;
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 2px solid #c9c1a8; background: #fff; color: var(--ink);
  transition: border-color .2s ease;
}
.input:hover { border-color: var(--leaf); }
.input:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; border-color: var(--moss); }
.input:disabled { background: #efe9da; color: var(--ink-soft); border-color: #ddd5bf; cursor: not-allowed; }
textarea.input { resize: vertical; min-height: 140px; }
.check { display: flex; align-items: flex-start; gap: var(--s2); font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--moss); }
.check input:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 2px; }
.field.is-invalid .input { border-color: #a3281b; background: #fff6f4; color: var(--ink); }
.field.is-invalid .check { color: #7e1f15; }
.field-error { margin: 0; color: #9e2517; font-size: 0.9rem; font-weight: 600; }
.form-status { margin: 0; padding: var(--s3); border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: var(--moss-soft); color: var(--moss-dark); }
.form-status.is-error { background: #fbe4df; color: #7e1f15; }
.tool-title { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.tool-note { margin: 0; padding: var(--s3); border-radius: var(--radius-sm); background: var(--sun-soft); color: var(--ink); font-size: 0.95rem; }
.tool-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.tool-grid > * { min-width: 0; }

/* ---------- Home hero: living garden ---------- */
.hero { padding-top: var(--s5); }
.hero-grid { display: grid; gap: var(--s5); align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hero-grid > * { min-width: 0; }
.hero-form { margin-top: var(--s4); }
.hero-visual { display: flex; flex-direction: column; gap: var(--s3); }
.hero-caption { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.garden-stage {
  position: relative; overflow: hidden;
  min-height: 380px; padding: var(--s5) var(--s4);
  display: flex; align-items: center; justify-content: center;
  border-radius: 28px; box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px) 0 0 / 26px 26px,
    radial-gradient(circle at 70% 60%, rgba(47, 74, 36, 0.18) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(135deg, #9cc173 0%, #75a052 55%, #5f8a42 100%);
  color: var(--ink);
}
.stage-sun {
  position: absolute; top: 16px; right: 16px; width: 56px; height: 56px;
  animation: sun-spin 24s linear infinite;
}
.stage-bee {
  position: absolute; top: 12%; left: 8%; width: 30px; height: 24px;
  animation: bee-fly 14s ease-in-out infinite;
}
.bed-frame { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.garden-bed {
  --bed-ratio: 2.5;
  position: relative; width: min(100%, calc(230px * var(--bed-ratio))); aspect-ratio: var(--bed-ratio);
  border: 8px solid #a0673f; border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px) 0 0 / 16px 16px,
    var(--soil);
  color: var(--cream-light);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3), 0 8px 18px rgba(47, 74, 36, 0.3);
  transition: width .4s ease;
}
.garden-plants { position: absolute; inset: 0; }
.sprout { position: absolute; width: var(--sprout, 10%); aspect-ratio: 1; transform: translate(-50%, -50%); }
.sprout svg { width: 100%; height: 100%; transform-origin: 50% 50%; animation: sprout-grow .7s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0ms) both; }
.bed-label {
  margin: 0; padding: 6px 16px; border-radius: 999px;
  background: var(--cream-light); color: var(--ink);
  font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow);
}
.steps { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps > * { min-width: 0; }
.step-number { margin: 0; font-weight: 800; color: var(--clay-dark); text-transform: uppercase; letter-spacing: .06em; font-size: 0.85rem; }

@keyframes sprout-grow {
  0% { transform: scale(0) rotate(-40deg); opacity: 0; }
  70% { transform: scale(1.12) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes sun-spin { to { transform: rotate(360deg); } }
@keyframes bee-fly {
  0% { top: 12%; left: 8%; }
  25% { top: 20%; left: 70%; }
  50% { top: 72%; left: 80%; }
  75% { top: 78%; left: 14%; }
  100% { top: 12%; left: 8%; }
}

/* ---------- Page hero & content ---------- */
.page-hero {
  padding: var(--s5) 0;
  background: linear-gradient(135deg, var(--moss-soft) 0%, var(--cream) 60%, var(--sun-soft) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: 0.9rem; margin-bottom: var(--s3); color: var(--ink-soft); overflow-wrap: anywhere; }
.breadcrumb a { color: var(--moss-dark); font-weight: 600; }
.content-layout { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.content-layout > * { min-width: 0; }
.prose { max-width: 780px; min-width: 0; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose .pros-cons, .prose .table-wrap { margin: var(--s4) 0; }
.legal h2 { font-size: 1.4rem; }
.aside { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.aside-title { font-size: 1.2rem; }
.aside-links { list-style: none; padding: 0; }
.aside-links a { font-weight: 600; }
.aside .card p { margin: 0; color: var(--ink-soft); }
.aside .btn { align-self: flex-start; }
.pros-cons { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.pros-cons > * { min-width: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table caption { text-align: left; padding: var(--s3); font-weight: 700; color: var(--moss-dark); caption-side: top; }
.data-table th, .data-table td { padding: var(--s3); text-align: left; vertical-align: top; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.data-table thead th { background: var(--moss); color: #fff; border-top: 0; }
.data-table tbody tr:nth-child(even) td { background: #fbf7ec; color: var(--ink); }

/* ---------- Virtual garden ---------- */
.vg-layout { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: start; }
.vg-layout > * { min-width: 0; }
.vg-subtitle { font-size: 1.05rem; margin-bottom: var(--s3); }
.vg-palette { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
.vg-palette li { margin: 0; min-width: 0; }
.vg-plant {
  width: 100%; display: flex; align-items: center; gap: var(--s2); min-width: 0;
  padding: 10px 12px; border-radius: var(--radius-sm); border: 2px solid #d8d0b8;
  background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: grab;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.vg-plant:hover { border-color: var(--moss); background: var(--moss-soft); color: var(--ink); transform: translateY(-1px); }
.vg-plant:active { cursor: grabbing; }
.vg-plant-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.vg-plant-name { font-weight: 700; font-size: 0.92rem; overflow-wrap: anywhere; }
.vg-plant-meta { font-size: 0.8rem; color: var(--ink-soft); }
.vg-swatch { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, 0.12); }
.swatch-tomato { --swatch: #d9412b; }
.swatch-pepper { --swatch: #8a2f7a; }
.swatch-kale { --swatch: #3f6e5a; }
.swatch-strawberry { --swatch: #e0457b; }
.swatch-lettuce { --swatch: #8cc84b; }
.swatch-basil { --swatch: #2f8f5b; }
.swatch-marigold { --swatch: #f59e0b; }
.swatch-bean { --swatch: #5aa04a; }
.swatch-onion { --swatch: #c9a0dc; }
.swatch-carrot { --swatch: #f07a1a; }
.vg-stage { display: flex; flex-direction: column; gap: var(--s3); }
.vg-garden-wrap {
  position: relative; padding: var(--s3); border-radius: 22px;
  background: linear-gradient(135deg, #9cc173, #6f9a4f); color: var(--ink);
  display: flex; justify-content: center;
  transition: box-shadow .2s ease;
}
.vg-garden-wrap.is-dragover { box-shadow: inset 0 0 0 4px var(--sun); }
.vg-garden {
  --vg-ratio: 2.5;
  display: flex; gap: 6px; padding: 8px;
  width: min(100%, calc(320px * var(--vg-ratio))); aspect-ratio: var(--vg-ratio);
  border: 8px solid #a0673f; border-radius: 14px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 22px), var(--soil);
  color: #fff;
}
.vg-strip {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 6px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  animation: strip-in .35s ease both;
}
.vg-strip-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; min-width: 0; }
.vg-strip-name { font-size: 0.75rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; min-width: 0; }
.vg-strip-qty { display: block; font-weight: 600; opacity: .9; }
.vg-remove {
  flex: 0 0 auto; width: 24px; height: 24px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--cream-light); color: var(--moss-dark); font: inherit; font-size: 0.9rem; font-weight: 800; line-height: 1;
}
.vg-remove:hover { background: var(--sun); color: var(--ink); }
.vg-remove:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.vg-dots {
  flex: 1 1 auto; min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 1), minmax(0, 1fr));
  place-items: center; gap: 1px;
}
.vg-dot { width: min(80%, 16px); aspect-ratio: 1; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); animation: sprout-grow .5s ease both; }
.vg-warning { font-size: 0.72rem; line-height: 1.2; overflow-wrap: anywhere; color: #fff; }
.vg-empty {
  position: absolute; inset: 0; margin: 0; padding: var(--s4);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 700; color: var(--cream-light); pointer-events: none;
}
.vg-status { margin: 0; min-height: 1.5em; color: var(--ink-soft); font-size: 0.92rem; }
.vg-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.vg-total { margin: 0; font-size: 1.1rem; }
.vg-total strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--moss-dark); }
@keyframes strip-in { from { opacity: 0; transform: scaleY(0.6); } to { opacity: 1; transform: scaleY(1); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-form { gap: var(--s4); }
.contact-form .btn { align-self: flex-start; }
.contact-side { display: flex; flex-direction: column; gap: var(--s4); }
.contact-address { display: flex; flex-direction: column; gap: var(--s1); }
.contact-side .card p { margin: 0; }
.map-block {
  position: relative; overflow: hidden; min-height: 260px; border-radius: var(--radius);
  background: #efe6cf; color: var(--ink); box-shadow: var(--shadow);
}
.map-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 42%; width: 40px; height: 52px; transform: translate(-50%, -100%); animation: pin-bob 2.4s ease-in-out infinite; }
.map-label {
  position: absolute; left: 16px; bottom: 16px; right: 16px; margin: 0;
  padding: 8px 16px; border-radius: 12px; width: fit-content; max-width: calc(100% - 32px);
  background: var(--cream-light); color: var(--ink); font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow); overflow-wrap: anywhere;
}
.map-link { margin: 0; }
@keyframes pin-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s6); background: var(--moss-dark); color: var(--cream); }
.footer-grid { display: grid; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s5); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.footer-grid > * { min-width: 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.brand--footer { color: var(--cream); margin-bottom: var(--s3); }
.brand--footer:hover { color: var(--sun); }
.footer-text { color: var(--cream); opacity: .92; }
.footer-address { display: flex; flex-direction: column; gap: var(--s1); font-size: 0.95rem; overflow-wrap: anywhere; }
.footer-title { color: var(--sun); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { padding-top: var(--s4); padding-bottom: var(--s4); border-top: 1px solid rgba(247, 241, 227, 0.2); }
.footer-bottom p { margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 880px; margin: 0 auto;
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  background: var(--moss-dark); color: var(--cream-light);
}
.cookie-inner { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4); }
.cookie-text { margin: 0; font-size: 0.95rem; }
.cookie-text a { color: var(--sun); }
.cookie-text a:hover { color: var(--cream-light); }
.cookie-banner :focus-visible { outline-color: var(--sun); }
.cookie-actions, .cookie-prefs { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.cookie-actions > *, .cookie-prefs > * { min-width: 0; }
.cookie-prefs { padding: var(--s3); border-radius: var(--radius-sm); background: rgba(255, 250, 240, 0.08); color: var(--cream-light); }
.cookie-prefs .check { font-weight: 600; color: var(--cream-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .vg-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-list a { padding: 8px 8px; font-size: 0.88rem; }
}
@media (max-width: 767px) {
  .container { padding: 0 var(--s3); }
  .header-inner { height: 52px; padding: 0 var(--s3); gap: var(--s2); }
  .brand { font-size: 1rem; }
  .brand-mark { flex-basis: 28px; width: 28px; height: 28px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    padding: var(--s3); background: var(--cream-light); color: var(--ink);
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(47, 74, 36, 0.16);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: var(--s1); }
  .nav-list a { padding: 12px 16px; font-size: 1rem; }
  .header-cta { padding: 6px 12px; font-size: 0.82rem; }
  .card::before { left: var(--s3); right: var(--s3); }
  .garden-stage { min-height: 300px; padding: var(--s5) var(--s3); }
  .stage-sun { width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  body.has-cookie-banner { padding-bottom: 300px; }
}
@media (max-width: 399px) {
  body { font-size: 1rem; }
  .brand { font-size: 0.9rem; gap: 6px; }
  .header-cta { padding: 6px 10px; font-size: 0.78rem; }
  .card { padding: var(--s5) var(--s3) var(--s3); }
  .stat-value { font-size: 1.3rem; }
  .garden-stage { padding: var(--s5) var(--s3) var(--s3); }
  .vg-garden-wrap { padding: var(--s2); }
  .vg-garden { border-width: 5px; padding: 4px; gap: 4px; }
  .vg-strip { padding: 4px; }
  .vg-strip-name { font-size: 0.68rem; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-inner { padding: var(--s3); }
  .cookie-actions .btn { width: 100%; }
}

/* ---------- Reduced motion: disable animations & transitions only ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}