:root {
  color-scheme: light;
  --ink: #20251e;
  --muted: #687064;
  --paper: #f8f6f0;
  --panel: #fffdf8;
  --moss: #536f3c;
  --leaf: #789b55;
  --fern: #2f6f52;
  --clay: #a36f4b;
  --stone: #a7ada1;
  --water: #8eb7aa;
  --line: rgba(32, 37, 30, 0.13);
  --shadow: 0 22px 60px rgba(32, 37, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 6rem);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(142, 183, 170, 0.26), transparent 30rem),
    linear-gradient(135deg, #f8f6f0 0%, #eef3e7 48%, #f6efe5 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 0.75rem;
  padding: 0.7rem clamp(1rem, 4vw, 3.5rem) 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 240, 0.86);
  backdrop-filter: blur(18px);
}

.header-topline,
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-topline {
  color: var(--muted);
  font-size: 0.82rem;
}

.header-topline a {
  color: var(--muted);
  text-decoration: none;
}

.header-main {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #f8f6f0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--fern), var(--clay));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  gap: 0.35rem;
}

.nav-links a {
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(83, 111, 60, 0.1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.65rem 0.95rem;
  color: #fffdf8;
  border-radius: 999px;
  background: var(--ink);
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
}

.section-band {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3.5rem);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.92fr);
  align-items: center;
  min-height: calc(100vh - 4.25rem);
  gap: clamp(2rem, 6vw, 5rem);
  color: #fffdf8;
  background:
    radial-gradient(circle at 78% 48%, rgba(47, 111, 82, 0.34), transparent 0 22rem),
    radial-gradient(circle at 12% 18%, rgba(163, 111, 75, 0.18), transparent 0 18rem),
    linear-gradient(135deg, #060806 0%, #11170f 48%, #020302 100%);
}

.hero::before {
  position: absolute;
  inset: 8% -10% auto 42%;
  z-index: -1;
  height: min(72vw, 46rem);
  content: "";
  background:
    radial-gradient(circle at 48% 42%, rgba(142, 183, 170, 0.26), transparent 0 34%),
    radial-gradient(circle at 58% 58%, rgba(163, 111, 75, 0.16), transparent 0 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.08), transparent 0 56%);
  filter: blur(16px);
}

.hero-copy {
  position: relative;
  max-width: 42rem;
}

.hero .eyebrow {
  color: #d4b08f;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.94;
  font-weight: 500;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  font-weight: 500;
}

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

.hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action,
.reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 740;
  text-decoration: none;
}

.primary-action {
  color: #fffdf8;
  background: var(--fern);
  box-shadow: 0 12px 28px rgba(47, 111, 82, 0.24);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.hero .secondary-action {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.3);
  background: rgba(255, 253, 248, 0.08);
}

.hero-visual,
.builder-preview-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.placeholder-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 23rem);
  margin: 0;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.42));
}

.hero-photo-frame::before {
  position: absolute;
  inset: 8% -14% -2%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(142, 183, 170, 0.24), transparent 62%),
    radial-gradient(ellipse at center, rgba(255, 253, 248, 0.12), transparent 68%);
  filter: blur(18px);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 0.5625;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 62%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0 62%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
}

.terrarium-preview {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 0.82;
  filter: drop-shadow(0 24px 48px rgba(32, 37, 30, 0.16));
}

.terrarium-preview-large {
  width: min(100%, 34rem);
}

.glass {
  position: absolute;
  inset: 2% 8% 6%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(32, 37, 30, 0.24);
  border-radius: 47% 47% 18% 18% / 42% 42% 14% 14%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(142, 183, 170, 0.18) 46%, rgba(255, 253, 248, 0.2));
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.46);
}

.glass::before,
.glass::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.glass::before {
  top: 8%;
  bottom: 14%;
  left: 18%;
  width: 10%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
  filter: blur(1px);
}

.glass::after {
  left: 18%;
  right: 18%;
  bottom: 5%;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.ground,
.soil,
.plant,
.decor,
.mist {
  position: absolute;
  z-index: 2;
}

.ground {
  left: 18%;
  right: 18%;
  bottom: 20%;
  height: 12%;
  border-radius: 50% 50% 38% 38%;
  background: var(--moss);
}

.ground::before {
  position: absolute;
  inset: 12% 6%;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 253, 248, 0.22) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 68% 36%, rgba(255, 253, 248, 0.2) 0 0.1rem, transparent 0.12rem),
    radial-gradient(circle at 46% 72%, rgba(32, 37, 30, 0.18) 0 0.12rem, transparent 0.14rem);
}

.soil {
  left: 20%;
  right: 20%;
  height: 5%;
  border-radius: 999px;
}

.soil-top {
  bottom: 16%;
  background: var(--clay);
}

.soil-bottom {
  bottom: 11%;
  background: #5a4435;
}

.plant {
  bottom: 25%;
  width: 18%;
  height: 34%;
  transform-origin: bottom center;
  background: var(--leaf);
  clip-path: polygon(50% 0, 66% 32%, 100% 44%, 70% 58%, 85% 100%, 50% 73%, 15% 100%, 30% 58%, 0 44%, 34% 32%);
}

.plant-left {
  left: 27%;
  transform: rotate(-15deg) scale(0.88);
}

.plant-center {
  left: 41%;
  bottom: 27%;
  height: 42%;
  background: var(--fern);
}

.plant-right {
  right: 27%;
  transform: rotate(15deg) scale(0.82);
}

.decor-stone {
  right: 30%;
  bottom: 23%;
  width: 12%;
  height: 7%;
  border-radius: 55% 45% 45% 55%;
  background: var(--stone);
}

.mist {
  left: 24%;
  right: 24%;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.mist-one {
  top: 27%;
}

.mist-two {
  top: 36%;
  left: 34%;
}

[data-vessel="jar"] .glass {
  inset: 5% 18% 6%;
  border-radius: 26% 26% 14% 14% / 18% 18% 12% 12%;
}

[data-vessel="bowl"] .glass {
  inset: 22% 8% 7%;
  border-radius: 18% 18% 48% 48% / 14% 14% 42% 42%;
}

[data-ground="pebble"] .ground {
  background: repeating-radial-gradient(circle at 20% 50%, #b9b8ae 0 0.3rem, #8f958d 0.34rem 0.58rem);
}

[data-ground="sand"] .ground {
  background: #d5b887;
}

[data-plant="fittonia"] .plant {
  background: #8baf76;
  border-radius: 50% 50% 40% 40%;
  clip-path: polygon(50% 0, 100% 48%, 50% 100%, 0 48%);
}

[data-plant="succulent"] .plant {
  height: 22%;
  border-radius: 50%;
  background: #7f9d8c;
  clip-path: polygon(50% 0, 62% 30%, 95% 22%, 72% 52%, 100% 78%, 62% 70%, 50% 100%, 38% 70%, 0 78%, 28% 52%, 5% 22%, 38% 30%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-note {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.styles-section {
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(32, 37, 30, 0.96), rgba(47, 111, 82, 0.92)),
    var(--ink);
}

.styles-section .eyebrow {
  color: #d4b08f;
}

.styles-section .filter-button {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.24);
  background: rgba(255, 253, 248, 0.1);
}

.styles-section .filter-button:hover {
  background: rgba(255, 253, 248, 0.18);
}

.styles-section .filter-button.active {
  color: var(--ink);
  background: #f0d5b6;
}

.style-controls,
.care-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.filter-button,
.option-button,
.care-tab,
.reset-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.74);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-button,
.care-tab {
  min-height: 2.45rem;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
}

.filter-button:hover,
.option-button:hover,
.care-tab:hover,
.reset-button:hover {
  transform: translateY(-1px);
}

.filter-button.active,
.option-button.active,
.care-tab.active {
  color: #fffdf8;
  border-color: transparent;
  background: var(--fern);
}

.style-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.style-card,
.gallery-card,
.care-card,
.setup-summary,
.builder-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 16px 42px rgba(32, 37, 30, 0.07);
}

.style-card,
.gallery-card {
  padding: 0.8rem;
}

.styles-section .style-card {
  border-color: rgba(255, 253, 248, 0.16);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.styles-section .style-card p {
  color: rgba(255, 253, 248, 0.74);
}

.style-card p,
.setup-summary p,
.care-card p {
  color: var(--muted);
  line-height: 1.6;
}

.image-placeholder,
.card-image {
  display: grid;
  width: 100%;
  aspect-ratio: 0.78;
  margin-bottom: 0.9rem;
  border-radius: 6px;
}

.image-placeholder {
  place-items: center;
  color: rgba(32, 37, 30, 0.58);
  border: 1px dashed rgba(32, 37, 30, 0.24);
  background:
    linear-gradient(135deg, rgba(83, 111, 60, 0.12), rgba(142, 183, 170, 0.16)),
    rgba(255, 253, 248, 0.58);
}

.card-image {
  display: block;
  object-fit: contain;
  border: 1px solid rgba(32, 37, 30, 0.08);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 253, 248, 0.8), transparent 0 58%),
    linear-gradient(135deg, rgba(142, 183, 170, 0.16), rgba(32, 37, 30, 0.08)),
    rgba(255, 253, 248, 0.58);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.95fr) minmax(22rem, 1.05fr);
  gap: clamp(1.25rem, 4vw, 3.25rem);
  align-items: start;
}

.builder-section {
  background:
    radial-gradient(circle at 92% 18%, rgba(142, 183, 170, 0.28), transparent 0 20rem),
    linear-gradient(135deg, #f8f6f0 0%, #eef3e7 58%, #eee3d5 100%);
}

.carousel-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 253, 248, 0.72), transparent 0 16rem),
    radial-gradient(circle at 86% 72%, rgba(47, 111, 82, 0.12), transparent 0 18rem),
    linear-gradient(135deg, rgba(240, 213, 182, 0.95), rgba(238, 243, 231, 0.9)),
    #f0d5b6;
}

.carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.carousel-window {
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 360ms ease;
}

.carousel-slide {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(16rem, 1fr);
  flex: 0 0 100%;
  min-width: 0;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}

.carousel-slide img {
  display: block;
  width: min(100%, 24rem);
  aspect-ratio: 0.5625;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 253, 248, 0.54), transparent 0 62%),
    rgba(255, 253, 248, 0.18);
  box-shadow: 0 24px 60px rgba(32, 37, 30, 0.18);
}

.carousel-copy {
  max-width: 31rem;
}

.carousel-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 500;
}

.carousel-copy p:not(.eyebrow) {
  color: #4e584d;
  font-size: 1.05rem;
  line-height: 1.7;
}

.carousel-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: #fffdf8;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.carousel-dots button {
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: 1px solid rgba(32, 37, 30, 0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button.active {
  border-color: var(--ink);
  background: var(--ink);
}

.builder-panel {
  display: grid;
  gap: 1.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.6rem;
  font-weight: 760;
}

.option-group {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.option-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.option-group legend {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.option-group legend span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: #fffdf8;
  border-radius: 50%;
  background: var(--ink);
  font-size: 0.78rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.option-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 4.5rem;
  margin: 0;
  padding: 0.65rem;
  border-radius: 8px;
  text-align: left;
}

.option-button.active {
  color: var(--ink);
  outline: 2px solid rgba(47, 111, 82, 0.34);
  background: rgba(255, 253, 248, 0.92);
}

.option-swatch {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 30, 0.12);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.72);
}

.option-text {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.option-text strong,
.option-text small {
  overflow-wrap: anywhere;
}

.option-text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.vessel-swatch::before {
  position: absolute;
  inset: 18% 24% 12%;
  content: "";
  border: 2px solid rgba(47, 111, 82, 0.58);
  background: rgba(142, 183, 170, 0.16);
}

.vessel-dome::before {
  border-radius: 48% 48% 18% 18% / 42% 42% 16% 16%;
}

.vessel-jar::before {
  inset: 12% 30% 10%;
  border-radius: 24% 24% 10% 10%;
}

.vessel-bowl::before {
  inset: 34% 14% 12%;
  border-radius: 16% 16% 48% 48%;
}

.plant-swatch {
  background: #edf4e4;
}

.plant-swatch::before,
.plant-swatch::after {
  position: absolute;
  content: "";
  background: var(--fern);
}

.plant-fern::before {
  inset: 22% 44% 18%;
  width: 0.18rem;
  border-radius: 999px;
}

.plant-fern::after {
  inset: 18% 20% 20%;
  clip-path: polygon(50% 0, 60% 30%, 100% 38%, 65% 52%, 84% 100%, 50% 72%, 16% 100%, 35% 52%, 0 38%, 40% 30%);
}

.plant-fittonia::before {
  inset: 20% 17%;
  border-radius: 50%;
  background: #92ad6f;
  clip-path: polygon(50% 0, 100% 48%, 50% 100%, 0 48%);
}

.plant-fittonia::after {
  inset: 35% 26%;
  background: #d76f78;
  clip-path: polygon(48% 0, 56% 0, 56% 100%, 48% 100%, 48% 58%, 0 72%, 0 62%, 48% 48%);
}

.plant-succulent::before {
  inset: 22%;
  border-radius: 50%;
  background: #7f9d8c;
  clip-path: polygon(50% 0, 62% 30%, 95% 22%, 72% 52%, 100% 78%, 62% 70%, 50% 100%, 38% 70%, 0 78%, 28% 52%, 5% 22%, 38% 30%);
}

.ground-swatch {
  background: var(--moss);
}

.ground-pebble {
  background: repeating-radial-gradient(circle at 28% 48%, #c8c5b9 0 0.26rem, #8f958d 0.28rem 0.48rem);
}

.ground-sand {
  background: linear-gradient(135deg, #dfc48f, #b88d58);
}

.light-swatch {
  background: radial-gradient(circle at 50% 42%, #fff5c7, #8eb7aa 52%, #536f3c);
}

.light-bright {
  background: radial-gradient(circle at 50% 40%, #fff7c9 0 24%, #e1a957 48%, #8eb7aa 100%);
}

.light-low {
  background: radial-gradient(circle at 50% 48%, #8eb7aa 0 18%, #384a3b 58%, #11170f 100%);
}

.setup-summary {
  width: min(100%, 32rem);
  padding: 1.15rem;
}

.builder-preview-wrap {
  justify-items: stretch;
}

.preview-stage {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 31rem;
  padding: 2.5rem 1rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 30, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 253, 248, 0.76), transparent 0 12rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.7), rgba(142, 183, 170, 0.2) 54%, rgba(32, 37, 30, 0.1) 100%);
  box-shadow: var(--shadow);
}

.builder-preview-wrap[data-light="bright"] .preview-stage {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 245, 199, 0.94), transparent 0 12rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(240, 213, 182, 0.34) 56%, rgba(32, 37, 30, 0.12) 100%);
}

.builder-preview-wrap[data-light="low"] .preview-stage {
  background:
    radial-gradient(circle at 50% 26%, rgba(142, 183, 170, 0.32), transparent 0 11rem),
    linear-gradient(180deg, rgba(32, 37, 30, 0.9), rgba(47, 69, 54, 0.82) 58%, rgba(13, 18, 12, 0.9));
}

.preview-stage::after {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 2.8rem;
  height: 1.2rem;
  content: "";
  border-radius: 50%;
  background: rgba(32, 37, 30, 0.22);
  filter: blur(12px);
}

.preview-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.builder-preview-wrap[data-light="low"] .preview-label {
  color: rgba(255, 253, 248, 0.68);
}

.light-beam {
  position: absolute;
  inset: -4% 18% auto;
  z-index: 1;
  height: 52%;
  background: linear-gradient(180deg, rgba(255, 245, 199, 0.5), transparent);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  opacity: 0.45;
  filter: blur(4px);
}

[data-light="bright"] .light-beam {
  opacity: 0.74;
}

[data-light="low"] .light-beam {
  background: linear-gradient(180deg, rgba(142, 183, 170, 0.24), transparent);
  opacity: 0.38;
}

.preview-stage .terrarium-preview {
  z-index: 2;
}

.soil-middle {
  bottom: 6%;
  background: #2f2a24;
}

.layer-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 26rem);
  gap: 0.4rem;
  margin-top: -0.4rem;
}

.layer-strip span {
  padding: 0.45rem 0.35rem;
  color: var(--muted);
  border: 1px solid rgba(32, 37, 30, 0.11);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.builder-preview-wrap[data-light="low"] .layer-strip span {
  color: rgba(255, 253, 248, 0.72);
  border-color: rgba(255, 253, 248, 0.16);
  background: rgba(255, 253, 248, 0.08);
}

.summary-label {
  margin: 0 0 0.55rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.compatibility-note {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--fern);
  border-radius: 0 8px 8px 0;
  background: rgba(83, 111, 60, 0.1);
}

.setup-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.setup-summary dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.setup-summary dd {
  margin: 0.25rem 0 0;
  font-weight: 740;
}

.care-recipe {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.care-recipe li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.care-recipe li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  border-radius: 50%;
  background: var(--fern);
}

.reset-button {
  min-height: 2.35rem;
}

.care-section {
  background:
    radial-gradient(circle at 84% 20%, rgba(142, 183, 170, 0.26), transparent 0 18rem),
    radial-gradient(circle at 16% 86%, rgba(163, 111, 75, 0.1), transparent 0 16rem),
    linear-gradient(135deg, #f6faf5 0%, #e8f1eb 52%, #f8f6f0 100%);
}

.care-section .care-card {
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 46px rgba(47, 111, 82, 0.1);
}

.care-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  max-width: 50rem;
  padding: 1.2rem;
}

.care-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #fffdf8;
  border-radius: 50%;
  background: var(--clay);
  font-size: 1.2rem;
}

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

.gallery-section {
  color: #fffdf8;
  background:
    radial-gradient(circle at 14% 22%, rgba(142, 183, 170, 0.2), transparent 0 18rem),
    radial-gradient(circle at 84% 74%, rgba(163, 111, 75, 0.16), transparent 0 18rem),
    linear-gradient(135deg, #11170f 0%, #243023 58%, #060806 100%);
}

.gallery-section .eyebrow {
  color: #d4b08f;
}

.gallery-section .gallery-card {
  border-color: rgba(255, 253, 248, 0.14);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.gallery-section .gallery-card p {
  color: rgba(255, 253, 248, 0.72);
}

.gallery-section .card-image {
  border-color: rgba(255, 253, 248, 0.12);
}

.site-footer {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem) 1.25rem;
  color: rgba(255, 253, 248, 0.7);
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  background:
    radial-gradient(circle at 12% 22%, rgba(83, 111, 60, 0.28), transparent 0 18rem),
    radial-gradient(circle at 92% 80%, rgba(163, 111, 75, 0.2), transparent 0 18rem),
    linear-gradient(135deg, #060806 0%, #11170f 54%, #20251e 100%);
}

.site-footer .brand,
.site-footer h2,
.site-footer h3 {
  color: #fffdf8;
}

.site-footer .brand small,
.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 253, 248, 0.7);
}

.site-footer a:hover {
  color: #fffdf8;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(18rem, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand p {
  max-width: 34rem;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links h3 {
  color: #fffdf8;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 253, 248, 0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fffdf8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
  }

  .header-action {
    display: none;
  }

  .header-main,
  .section-heading,
  .footer-primary {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .header-main {
    flex-direction: column;
  }

  .header-topline {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .builder-layout,
  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
  }

  .section-note {
    max-width: 100%;
  }

  .carousel-button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 9ch;
  }

  .style-grid,
  .gallery-grid,
  .info-grid,
  .option-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav-links {
    justify-content: flex-start;
  }

  .style-grid,
  .gallery-grid,
  .info-grid,
  .footer-links,
  .option-grid,
  .setup-summary dl,
  .care-card {
    grid-template-columns: 1fr;
  }

  .terrarium-preview {
    width: min(100%, 20rem);
  }

  .carousel-slide img {
    width: min(100%, 19rem);
  }

  .header-action {
    width: 100%;
  }
}

/* Preserve each existing image frame with intrinsic image dimensions present. */
.card-image,
.carousel-slide img,
.hero-photo-frame img {
  height: auto;
}

:focus-visible {
  outline: 3px solid #b66c23;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.responsive-picture { display: contents; }
.plant-reference { max-width: 76rem; margin: 1.5rem auto 0; padding: 1rem 1.25rem; border: 1px solid #d7dbc9; border-radius: 12px; background: #faf8f1; }
.plant-reference > summary, .faq-list summary { cursor: pointer; font-weight: 650; line-height: 1.5; }
.plant-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.25rem; }
.plant-reference-grid article { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.84rem; line-height: 1.6; }
.plant-reference-grid h3 { margin: 0; font: 400 1.5rem/1.25 Georgia, serif; }
.plant-reference-grid dl > div { margin-bottom: 0.6rem; }
.plant-reference-grid dt { font-weight: 650; }
.plant-reference-grid dd { margin: 0; }
.plant-reference-grid a { color: var(--fern); text-underline-offset: 3px; }
.terrarium-faq { max-width: 76rem; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.terrarium-faq > h3 { margin: 0 0 1.5rem; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.2 Georgia, serif; }
.faq-list { max-width: 56rem; }
.faq-list details { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq-list p { max-width: 48rem; margin: 0.8rem 0 0; color: #43563b; line-height: 1.7; font-size: 0.92rem; }
@media (max-width: 880px) { .plant-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plant-reference-grid { grid-template-columns: 1fr; } }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--panel);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Match the photography to its frame; originals remain available in the gallery. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  min-height: auto;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: radial-gradient(ellipse at 20% 70%, #263c2b, transparent 70%), #101e17;
}
.hero h1 { max-width: none; font-size: clamp(3.3rem, 5.6vw, 5.8rem); line-height: 1.06; letter-spacing: -0.055em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #dcc8a1; font-weight: 400; }
.hero .eyebrow { margin-bottom: 1.5rem; letter-spacing: 0.14em; }
.hero-copy > p:not(.eyebrow) { max-width: 29rem; }
.primary-action, .text-link, .header-action { gap: 0.75rem; }
.hero .primary-action { color: #15261b; background: #e7d7b9; }
.hero .primary-action:hover { background: #f7e9cf; }
.hero-footnote { display: flex; align-items: center; gap: 0.65rem; margin-top: 2.4rem; color: #b8c2b5; font-size: 0.82rem; }
.hero-footnote > span { color: #d5bd88; font-size: 1.5rem; }
.hero-photo-frame { width: 100%; max-width: 24rem; justify-self: center; filter: none; gap: 0; }
.hero-photo-frame::before { display: none; }
.hero-photo-crop {
  width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 48% 48% 4px 4px / 30% 30% 4px 4px;
}
.hero-photo-frame img {
  width: 106%; max-width: none; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%;
  border-radius: 0;
  -webkit-mask-image: none; mask-image: none;
}
.hero-photo-frame figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; gap: 0.5rem; padding-top: 1rem; color: #e2d8c4; font-size: 0.74rem; }
.hero-photo-frame figcaption span:last-child { color: #aebbae; }
.nature-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.8rem clamp(1rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); background: #eee8da; }
.nature-note p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.4rem, 2.8vw, 2.25rem); }
.nature-note em { color: var(--fern); }
.nature-note > span { color: var(--muted); font-size: 0.9rem; }
.section-heading { gap: 2rem; margin-bottom: 2.25rem; }
.section-heading h2 { max-width: 22ch; font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; }
.section-heading .eyebrow { letter-spacing: 0.12em; margin-bottom: 1rem; }
.section-note { max-width: 25rem; font-size: 0.96rem; }
.styles-section .section-note, .gallery-section .section-note { color: #c1cec1; }
.carousel-section { background: #f2eee4; }
.carousel-section .section-heading h2 { max-width: none; }
.carousel-slide { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding: 0.5rem; }
.feature-photo { width: 100%; max-width: 27rem; max-height: 33rem; overflow: hidden; justify-self: center; border-radius: 8px; }
.feature-photo--square { aspect-ratio: 1; }
.feature-photo--portrait { aspect-ratio: 4 / 5; width: min(100%, 26.4rem); }
.feature-photo--tall { aspect-ratio: 9 / 16; width: auto; height: 33rem; max-width: 100%; }
.feature-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; box-shadow: none; }
.carousel-copy h3 { max-width: 12ch; font-size: clamp(2.4rem, 4.3vw, 4rem); }
.carousel-copy .eyebrow { letter-spacing: 0.1em; }
.carousel-copy p:not(.eyebrow) { max-width: 31rem; }
.text-link { display: inline-flex; color: var(--fern); padding: 0.6rem 0; text-underline-offset: 0.4rem; font-weight: 650; }
.carousel-dots button { width: 1.5rem; height: 1.5rem; border: 7px solid #f2eee4; background: #b9b9a9; }
.carousel-dots button.active { border-color: #f2eee4; background: var(--fern); }
.styles-section { background: #233b2c; }
.style-card, .gallery-card { padding: 0; overflow: hidden; border: none; border-radius: 8px; }
.styles-section .style-card { background: #2d4435; box-shadow: none; }
.style-card h3, .style-card p { margin-left: 1.25rem; margin-right: 1.25rem; }
.style-card h3 { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.style-card p:last-child { margin-bottom: 1.5rem; font-size: 0.9rem; }
.card-image { aspect-ratio: 4 / 5; object-fit: cover; border: none; border-radius: 0; margin-bottom: 1.25rem; background: #17241a; }
.card-image.crop-low { object-position: 50% 64%; }
.style-card .card-kicker { color: #d7c3a1; margin-top: 0.25rem; margin-bottom: 0.65rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; }
.style-grid, .gallery-grid { gap: 1.5rem; }
.builder-section { background: #f4f0e7; padding-top: 3rem; padding-bottom: 3rem; }
.builder-section .section-heading { max-width: 76rem; margin-left: auto; margin-right: auto; }
.builder-section .plant-intro { max-width: 34rem; margin: 1rem 0 0; }
.plant-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; max-width: 76rem; margin: auto; }
.plant-controls legend { margin-bottom: 1rem; font-size: 1rem; }
.plant-group + .plant-group { margin-top: 1.1rem; }
.plant-group h3 { margin: 0 0 0.55rem; font-family: inherit; font-size: 0.8rem; font-weight: 650; line-height: 1.4; color: #536346; }
.plant-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.plant-choice { display: flex; align-items: center; position: relative; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 9px; background: #eee9dc; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.plant-choice img { display: block; width: 38%; height: 88px; flex-shrink: 0; object-fit: contain; }
.plant-choice > span { display: block; padding: 0.6rem 0.5rem; }
.plant-choice strong { display: block; font-size: 0.82rem; line-height: 1.35; }
.plant-choice small { display: block; margin-top: 0.2rem; font-size: 0.7rem; color: #59634f; }
.plant-choice[aria-pressed="true"] { border-color: #2d4936; background: #e0e7d9; }
.plant-choice[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 0.25rem; left: 0.25rem; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; border-radius: 50%; background: #2d4936; color: white; font-size: 0.7rem; }
.plant-choice:hover { border-color: #2d4936; }
.plant-image-note { max-width: 34rem; margin: 1rem 0 0; color: #626959; font-size: 0.72rem; line-height: 1.5; }
.plant-detail { min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid #d7dbc9; border-radius: 14px; background: #faf8f1; }
.plant-profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 1.1rem; }
.plant-portrait { margin: 0; }
.plant-portrait figcaption { margin-top: 0.5rem; color: #626959; font-size: 0.72rem; line-height: 1.5; }
.selected-plant-image { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #eee9dc; border-radius: 10px; }
.plant-detail-copy { min-width: 0; }
.plant-role { margin: 0 0 0.55rem; font-size: 0.67rem; color: #536346; text-transform: uppercase; letter-spacing: 0.09em; }
.plant-detail h3 { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 Georgia, serif; }
.plant-botanical { margin: 0.3rem 0 0.8rem; color: #626959; font-size: 0.8rem; font-style: italic; }
#setupDescription { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.plant-care-group { margin-top: 1.25rem; padding: 1rem; border-radius: 10px; background: #eaf0e5; }
.plant-care-group h4 { margin: 0 0 0.8rem; font-size: 0.88rem; }
.plant-care-facts { display: grid; gap: 0.7rem; margin: 0 0 1rem; }
.plant-care-facts > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem; }
.plant-care-facts dt { margin-bottom: 0.3rem; font-weight: 700; font-size: 0.72rem; }
.plant-care-facts dd { margin: 0; font-size: 0.78rem; line-height: 1.5; color: #53604b; }
.plant-environment { margin: 0 0 1rem; color: #43563b; font-size: 0.78rem; line-height: 1.6; }
.plant-notes { font-size: 0.78rem; line-height: 1.6; }
.plant-notes summary { cursor: pointer; font-weight: 650; }
.plant-notes p { margin: 0.6rem 0; }
.plant-notes a { color: var(--fern); text-underline-offset: 3px; }
.plant-reset { min-height: 44px; padding: 0.4rem 0; margin-top: 0.4rem; border: 0; background: transparent; color: #56644d; font: inherit; font-size: 0.75rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 880px) {
  .plant-builder { grid-template-columns: 1fr; gap: 2rem; }
  .plant-profile { grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .plant-choice { flex-direction: column; align-items: stretch; }
  .plant-choice img { width: 100%; height: 88px; }
  .plant-choice > span { padding-top: 0.2rem; }
  .plant-profile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.8rem; }
  .plant-role { font-size: 0.6rem; }
}
.care-section { background: #e5ece3; }
.care-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.care-content { min-width: 0; }
.care-card { min-height: 12rem; align-content: start; }
.care-reminder { color: var(--muted); line-height: 1.6; font-size: 0.88rem; max-width: 34rem; }
.care-photo { width: 100%; max-width: 25rem; margin: 0; justify-self: center; }
.care-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 65%; border-radius: 24px; }
.care-photo figcaption { padding-top: 0.85rem; color: var(--fern); font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; text-align: center; }
.gallery-section { background: #15281e; container-type: inline-size; }
.gallery-section > .section-heading, .gallery-navigation, .gallery-track { width: 100%; max-width: calc(1134px + 6.25rem); margin-left: auto; margin-right: auto; }
.gallery-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; margin-bottom: 1.25rem; }
.gallery-navigation p { margin: 0; color: #c5ccbd; font-size: 0.85rem; }
.gallery-arrows { display: flex; gap: 0.65rem; }
.gallery-arrows[hidden] { display: none; }
.gallery-arrows button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #6f8071; border-radius: 50%; color: #f4f0e7; background: transparent; font: inherit; font-size: 1.3rem; cursor: pointer; }
.gallery-arrows button:hover:not(:disabled) { background: #304635; }
.gallery-arrows button:disabled { opacity: 0.35; cursor: default; }
.gallery-track { --gallery-image-height: clamp(240px, calc((100cqw - 6.25rem) / 4.05), 280px); display: flex; align-items: stretch; gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #85967d #23372a; padding: 0 0 1rem; }
.gallery-track .gallery-card { flex: 0 0 calc(var(--gallery-image-height) * 9 / 16); min-width: 0; scroll-snap-align: start; }
.gallery-track .gallery-card--square { flex-basis: var(--gallery-image-height); }
.gallery-track .gallery-card--rounded { flex-basis: calc(var(--gallery-image-height) * 4 / 5); }
.gallery-section .gallery-card { background: transparent; box-shadow: none; }
.gallery-card h3 { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; line-height: 1.35; min-height: 2.7em; margin: 0.85rem 0 0.5rem; text-wrap: balance; }
.gallery-card p { font-size: 0.82rem; margin: 0; }
.gallery-open { position: relative; display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; overflow: hidden; border-radius: 16px; }
.gallery-open .card-image { margin-bottom: 0; }
.gallery-track .gallery-open .card-image { width: 100%; height: var(--gallery-image-height); aspect-ratio: auto; object-fit: contain; }
.style-card .gallery-open { border-radius: 8px 8px 0 0; margin-bottom: 1.25rem; }
.gallery-open:hover .gallery-zoom { background: #fffdf7; }
.gallery-open:focus-visible { outline-offset: -4px; }
.gallery-zoom { position: absolute; bottom: 0.8rem; right: 0.8rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: #213b2b; background: #f3ecde; font-size: 1.2rem; }
.closing-section { background: #e9deca; text-align: center; }
.closing-section .eyebrow { letter-spacing: 0.13em; }
.closing-section h2 { font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1.07; letter-spacing: -0.04em; }
.closing-section h2 em { color: var(--fern); }
.closing-section > p:not(.eyebrow) { color: #58614f; margin: 1.5rem 0; line-height: 1.7; }
.closing-section .primary-action { margin-top: 0.5rem; }
.site-footer { background: #101e17; }
.brand-mark { flex-shrink: 0; font-size: 0.7rem; font-weight: 750; letter-spacing: -0.04em; }
.collection-enquiry { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 44px; margin: 1rem 1.25rem 1.25rem; padding-top: 0.8rem; border-top: 1px solid #526151; color: #e8d4ae; font-size: 0.78rem; text-decoration: none; }
.collection-enquiry:hover { color: #fffdf7; text-decoration: underline; text-underline-offset: 4px; }
.contact-section { background: #ece3d2; }
.contact-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.contact-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: 1.08; letter-spacing: -0.04em; }
.contact-intro h2 em { color: var(--fern); font-weight: 400; }
.contact-intro > div > p:not(.eyebrow) { max-width: 33rem; margin: 1.3rem 0; line-height: 1.7; color: #56614f; }
.contact-intro .primary-action { margin-top: 0.3rem; background: #243e2d; color: #fffdf7; }
.contact-intro .primary-action:hover { background: #36563e; }
.contact-intro .contact-handle { font-size: 0.8rem; }
.contact-handle a, .contact-channel a { color: #294c36; text-underline-offset: 4px; }
.visit-card { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #c9c9b3; border-radius: 16px; background: #f7f3e9; }
.visit-card h3 { margin: 0.9rem 0 1.5rem; font: 400 clamp(1.6rem, 2.5vw, 2.1rem)/1.2 Georgia, serif; }
.visit-card address { font-style: normal; line-height: 1.7; font-size: 0.94rem; }
.visit-card > p:not(.contact-kicker) { margin: 1rem 0 0.5rem; color: #66705e; font-size: 0.78rem; line-height: 1.6; }
.visit-card .text-link { font-size: 0.82rem; }
.contact-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0; color: #53614a; font-size: 0.72rem; font-weight: 700; }
.sample-badge { display: inline-block; padding: 0.2rem 0.5rem; border: 1px solid #c1baa3; border-radius: 20px; color: #726341; font-size: 0.62rem; font-weight: 500; }
.contact-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #c9c4b3; }
.contact-channel { min-width: 0; }
.channel-value { display: block; margin-top: 0.8rem; font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.contact-channel p { margin: 0.5rem 0 0; color: #66705e; font-size: 0.78rem; line-height: 1.6; }
.footer-primary { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
.footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-links h3 { font-size: 0.9rem; margin: 0 0 0.4rem; }
.footer-links a, .footer-pending { font-size: 0.82rem; line-height: 1.6; }
.site-footer .footer-pending { color: #9ba998; }
.footer-brand p { max-width: 25rem; font-size: 0.9rem; }
.footer-instagram { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; text-decoration: none; font-size: 0.82rem; }
.footer-bottom { font-size: 0.76rem; }
.footer-bottom a { text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .header-action { font-size: 0.8rem; }
  .nav-links a { padding-left: 0.5rem; padding-right: 0.5rem; }
}
@media (max-width: 880px) {
  .contact-intro, .footer-primary { grid-template-columns: 1fr; }
  .visit-card { max-width: 38rem; }
}
@media (max-width: 560px) {
  .contact-channels { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-channel + .contact-channel { border-top: 1px solid #d3cdbb; padding-top: 1.6rem; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
}
.gallery-dialog { width: min(90vw, 58rem); max-height: 92dvh; padding: 1.25rem; border: 1px solid #c8d0bf; border-radius: 12px; color: var(--ink); background: var(--paper); }
.gallery-dialog::backdrop { background: rgba(5, 15, 8, 0.85); }
.gallery-dialog > img { display: block; width: 100%; height: 65dvh; object-fit: contain; background: #142019; border-radius: 5px; }
.gallery-dialog h2 { font-size: 1.8rem; margin-top: 1.2rem; }
.gallery-dialog p { color: var(--muted); line-height: 1.5; }
.dialog-close { display: block; margin: 0 0 1rem auto; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 30px; color: var(--ink); background: #ebe5d7; cursor: pointer; font: inherit; }
body:has(.gallery-dialog[open]) { overflow: hidden; }
@media (min-width: 1600px) {
  .section-band, .site-header, .nature-note, .site-footer { padding-left: max(3.5rem, calc((100vw - 1480px) / 2)); padding-right: max(3.5rem, calc((100vw - 1480px) / 2)); }
}
@media (max-width: 880px) {
  .hero, .carousel-slide, .care-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 38rem; }
  .hero h1 { font-size: clamp(3.3rem, 9vw, 5.3rem); }
  .hero-photo-frame { justify-self: center; max-width: 22rem; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .section-heading h2 { max-width: 24ch; }
  .section-note { max-width: 36rem; }
  .carousel-copy { padding: 0.5rem 0 1.5rem; max-width: none; }
  .carousel-copy h3 { max-width: 20ch; }
  .feature-photo { max-width: 25rem; }
  .feature-photo--tall { height: 30rem; }
  .feature-photo img { width: 100%; }
}
@media (max-width: 560px) {
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(2.8rem, 11.8vw, 4.1rem); }
  .hero .eyebrow { font-size: 0.68rem; }
  .hero-footnote { margin-top: 1.5rem; font-size: 0.72rem; }
  .hero-photo-frame { max-width: 18rem; }
  .hero-photo-frame figcaption { font-size: 0.65rem; }
  .nature-note { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .nature-note > span { font-size: 0.78rem; }
  .style-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 2.4rem; }
  .card-image { aspect-ratio: 4 / 5; }
  .gallery-dialog { width: 94vw; padding: 0.85rem; }
  .gallery-dialog > img { height: 58dvh; }
}

/* Compact navigation keeps the full page available without a tall mobile header. */
.menu-toggle, .mobile-nav-contact, .collection-mobile-hint { display: none; }
.menu-toggle[hidden] { display: none; }
@media (max-width: 1100px) {
  .site-header.nav-ready { position: sticky; padding: 0.6rem max(1rem, env(safe-area-inset-right)) 0.6rem max(1rem, env(safe-area-inset-left)); }
  .nav-ready .header-main { flex-direction: row; align-items: center; gap: 0.75rem; }
  .nav-ready .header-action { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 0.65rem; min-height: 44px; padding: 0.65rem 0.8rem; border: 1px solid #b9c2b3; border-radius: 24px; color: #243e2d; background: #f8f6f0; font-family: inherit; font-size: 0.85rem; font-weight: 650; line-height: 1.2; cursor: pointer; }
  .menu-icon { position: relative; width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-icon::before { position: absolute; content: ""; top: 3px; left: 0; width: 16px; border-top: 2px solid currentColor; }
  .menu-open .menu-icon { height: 16px; border: 0; }
  .menu-open .menu-icon::before, .menu-open .menu-icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; border-top: 2px solid currentColor; transform: rotate(45deg); }
  .menu-open .menu-icon::after { transform: rotate(-45deg); }
  .nav-ready .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 0.75rem 1rem 1rem; max-height: 75dvh; overflow-y: auto; background: #f8f6f0; border-bottom: 1px solid #cbd2c3; box-shadow: 0 16px 24px #101e1720; }
  .nav-ready.menu-open .nav-links { display: grid; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0.65rem 0.85rem; border-radius: 8px; font-size: 0.95rem; color: #344a36; background: #edf0e7; }
  .nav-links .mobile-nav-contact { display: flex; grid-column: 1 / -1; justify-content: space-between; color: #fffdf7; background: #243e2d; }
}
@media (max-width: 560px) {
  .site-header .brand { gap: 0.5rem; }
  .site-header .brand strong { font-size: 0.95rem; }
  .site-header .brand small { font-size: 0.62rem; }
  .site-header .brand-mark { width: 1.9rem; height: 1.9rem; }
  .section-band { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .section-heading { margin-bottom: 1.5rem; gap: 1rem; }
  .section-heading h2 { font-size: clamp(2rem, 8.5vw, 2.4rem); line-height: 1.12; }
  .section-note { font-size: 0.9rem; }
  .hero { gap: 1.75rem; padding-top: 2rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero-copy > p:not(.eyebrow) { margin-top: 1.1rem; line-height: 1.6; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.5rem; }
  .hero-actions a { min-height: 48px; padding: 0.65rem 0.5rem; gap: 0.3rem; font-size: 0.8rem; text-align: center; }
  .hero-footnote { margin-top: 1.25rem; font-size: 0.8rem; line-height: 1.5; }
  .hero-photo-frame { max-width: 16rem; }
  .hero-photo-frame figcaption { font-size: 0.7rem; }
  .feature-photo { max-width: min(100%, 20rem); max-height: 22rem; }
  .feature-photo--tall { height: 22rem; }
  .carousel-slide { padding: 0; gap: 1.5rem; }
  .carousel-copy h3 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .carousel-copy { padding: 0; }
  .carousel-dots button { width: 44px; height: 44px; border-width: 16px; }
  .style-card h3 { font-size: 1.5rem; }
  .style-card h3, .style-card p { margin-left: 1rem; margin-right: 1rem; }
  .collection-enquiry { margin-left: 1rem; margin-right: 1rem; font-size: 0.85rem; }
  .plant-builder { gap: 1.25rem; }
  .plant-choice { flex-direction: row; align-items: center; }
  .plant-choice img { width: 34%; height: 80px; }
  .plant-choice > span { padding: 0.5rem 0.35rem; }
  .plant-choice strong { font-size: 0.78rem; }
  .plant-choice small { font-size: 0.7rem; }
  .plant-role { font-size: 0.65rem; }
  .plant-care-facts dt, .plant-care-facts dd, .plant-notes, .plant-reset { font-size: 0.85rem; }
  .plant-notes summary { min-height: 44px; padding: 0.6rem 0; }
  .care-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; }
  .care-tab { min-height: 44px; padding: 0.6rem 0.25rem; font-size: 0.8rem; }
  .care-card { min-height: 0; padding: 1.25rem; }
  .care-photo { max-width: 18rem; }
  .care-photo figcaption { font-size: 1rem; }
  .terrarium-faq { margin-top: 2rem; padding-top: 1.5rem; }
  .faq-list details { padding: 0.25rem 0; }
  .faq-list summary { padding: 0.65rem 0; min-height: 44px; font-size: 0.9rem; }
  .faq-list p { margin-top: 0.25rem; padding-bottom: 0.75rem; }
  .gallery-track { --gallery-image-height: 230px; gap: 1rem; }
  .gallery-navigation { gap: 0.65rem; }
  .gallery-navigation p { font-size: 0.78rem; }
  .gallery-arrows { gap: 0.4rem; flex-shrink: 0; }
  .gallery-dialog { width: calc(100% - 1.25rem); max-height: calc(100dvh - 1.25rem); overflow-y: auto; }
  .gallery-dialog > img { height: min(54dvh, 28rem); }
  .contact-intro h2 { font-size: clamp(2.1rem, 8.5vw, 2.65rem); }
  .contact-intro .primary-action { display: flex; min-height: 48px; }
  .visit-card { padding: 1.25rem; }
  .contact-channels { margin-top: 2rem; padding-top: 1.5rem; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
  .footer-links div { gap: 0.15rem; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 880px) {
  .collection-mobile-hint { display: block; margin: 0 0 0.9rem; color: #c1cec1; font-size: 0.8rem; }
  .style-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 18rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; gap: 1rem; padding-bottom: 0.8rem; scrollbar-width: thin; }
  .style-card { min-width: 0; scroll-snap-align: start; }
}
