:root {
  --soil-950: #18140f;
  --soil-900: #221a13;
  --soil-800: #30251b;
  --moss-700: #2f5f3d;
  --moss-600: #3e734d;
  --moss-500: #4b8b5d;
  --sand-100: #f1eadc;
  --sand-200: #e6dcc8;
  --clay-200: #dcc0a3;
  --clay-500: #996646;
  --alert: #b84731;
  --text-main: #f5eee2;
  --text-soft: #d4c8b5;
  --card-edge: rgba(230, 220, 200, 0.18);
  --focus: #dfb15f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(75, 139, 93, 0.28), transparent 60%),
    radial-gradient(1000px 420px at 20% 12%, rgba(153, 102, 70, 0.24), transparent 56%),
    linear-gradient(160deg, #1a140e 0%, #20170f 46%, #17120f 100%);
  min-height: 100vh;
  line-height: 1.45;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  background: var(--focus);
  color: #20150e;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.hero-shell {
  padding: 1rem clamp(1rem, 2vw, 2.2rem) 2.5rem;
}

.top-nav {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.brand {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: 0.02em;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 53px;
  width: auto;
  object-fit: contain;
}

.top-nav-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.hero-content {
  max-width: 1160px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.2fr 1fr;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.95rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  max-width: 16ch;
}

.eyebrow {
  margin: 0;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(223, 177, 95, 0.46);
  border-radius: 999px;
  color: var(--clay-200);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead {
  max-width: 60ch;
  color: var(--text-soft);
  margin: 0 0 1.2rem;
}

.hero-note {
  margin: 1rem 0 0;
  color: #c3b49e;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-cards {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.stat-card {
  border: 1px solid var(--card-edge);
  background: linear-gradient(150deg, rgba(43, 33, 24, 0.9), rgba(30, 24, 19, 0.72));
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(2px);
  animation: riseIn 520ms ease both;
}

.stat-card:nth-child(2) {
  animation-delay: 90ms;
}

.stat-card:nth-child(3) {
  animation-delay: 180ms;
}

.stat-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.stat-card p {
  margin: 0;
  color: var(--text-soft);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 2vw, 2.2rem) 2rem;
}

.room-preview {
  padding-top: 0.4rem;
}

.section-head {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-head p,
.section-subhead {
  margin: 0;
  color: var(--text-soft);
}

.filter-row {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.filter-row label {
  display: grid;
  gap: 0.35rem;
}

.filter-row span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  border-radius: 10px;
  border: 1px solid var(--card-edge);
  background: rgba(34, 26, 19, 0.93);
  color: var(--text-main);
  padding: 0.62rem 0.72rem;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 70%, white 30%);
  outline-offset: 2px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-lg {
  padding: 0.72rem 1.15rem;
  font-weight: 700;
}

.btn-cta {
  color: #1f130f;
  background: linear-gradient(135deg, #cfaa63, #bb8d44);
  border-color: #af7d38;
}

.btn-cta:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  color: var(--sand-100);
  border-color: var(--moss-500);
  background: rgba(62, 115, 77, 0.34);
}

.btn-secondary:hover {
  background: rgba(62, 115, 77, 0.52);
}

.btn-ghost,
.link-pill {
  color: var(--sand-100);
  border-color: rgba(230, 220, 200, 0.32);
  background: rgba(34, 26, 19, 0.62);
}

.btn-ghost:hover,
.link-pill:hover {
  background: rgba(54, 42, 30, 0.68);
}

.link-pill {
  border: 1px solid;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  font-size: 0.93rem;
}

.room-grid,
.plant-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.room-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.room-card,
.plant-card {
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 0.9rem;
  background: linear-gradient(150deg, rgba(42, 33, 26, 0.92), rgba(28, 22, 17, 0.76));
}

.room-card h3,
.plant-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.badge-row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(230, 220, 200, 0.26);
  background: rgba(78, 57, 39, 0.56);
  padding: 0.2rem 0.54rem;
  font-size: 0.78rem;
  color: #ebddc9;
}

.card-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.split-band {
  margin-bottom: 2.4rem;
  border-top: 1px solid rgba(230, 220, 200, 0.18);
  border-bottom: 1px solid rgba(230, 220, 200, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(31, 25, 20, 0.56);
}

.split-band h2 {
  margin: 0 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
}

.split-band p {
  margin: 0;
  color: var(--text-soft);
}

.split-band ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.split-band li {
  margin: 0.25rem 0;
}

.site-footer {
  border-top: 1px solid rgba(230, 220, 200, 0.15);
  padding: 1.2rem clamp(1rem, 2vw, 2.2rem) 2.2rem;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  flex: 0 0 auto;
}

.site-footer .footer-logo {
  display: block;
  height: 24px !important;
  width: auto !important;
  max-width: 170px !important;
  max-height: 24px !important;
  object-fit: contain;
}

dialog {
  width: min(720px, calc(100vw - 2rem));
  border: 1px solid rgba(230, 220, 200, 0.24);
  border-radius: 18px;
  padding: 0;
  background: #1f1812;
  color: var(--text-main);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.wizard-shell {
  padding: 1.1rem 1.15rem 1rem;
}

.wizard-shell h2 {
  margin: 0.35rem 0 0;
  font-family: "Fraunces", Georgia, serif;
}

.stepper {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stepper li {
  border: 1px solid rgba(230, 220, 200, 0.24);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: #c9bca8;
  font-size: 0.86rem;
}

.stepper li.active {
  color: #1f130f;
  background: linear-gradient(130deg, #cfaa63, #bb8d44);
  border-color: #af7d38;
  font-weight: 700;
}

.wizard-step {
  display: none;
  gap: 0.75rem;
}

.wizard-step.active {
  display: grid;
}

.wizard-step h3 {
  margin: 0;
  font-size: 1.05rem;
}

.wizard-step label {
  display: grid;
  gap: 0.35rem;
}

.wizard-hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.review-panel {
  border: 1px solid rgba(230, 220, 200, 0.24);
  border-radius: 12px;
  background: rgba(42, 33, 26, 0.9);
  padding: 0.75rem;
}

.review-panel p {
  margin: 0.2rem 0;
}

.wizard-error {
  min-height: 1.3rem;
  color: #e99481;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.wizard-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.empty-state {
  margin: 0;
  border: 1px dashed rgba(230, 220, 200, 0.28);
  border-radius: 14px;
  padding: 1rem;
  color: var(--text-soft);
  background: rgba(32, 25, 19, 0.64);
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .hero-copy h1 {
    max-width: 22ch;
  }
}

@media (max-width: 700px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    height: 43px;
  }

  .top-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
