/* Stepping Stone Plants — Greenhouse design */

:root {
  --sage: #E8EDE3;
  --cream: #F7F4ED;
  --charcoal: #2A2A28;
  --charcoal-soft: #4A4A47;
  --mustard: #D4A24C;
  --mustard-dark: #B5862F;
  --forest: #3D5A3D;
  --forest-deep: #2A4029;
  --border: #D4D8CC;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 115%;   /* +15% bump across all rem-based typography */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--sage);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 1.0625rem;   /* 17px × 1.15 ≈ 19.5px effective */
  /* Subtle paper texture */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(61, 90, 61, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 162, 76, 0.04) 0%, transparent 50%);
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--mustard);
  transition: color 0.2s, border-color 0.2s;
}

a:hover {
  color: var(--mustard-dark);
  border-color: var(--forest);
}

/* ── Navigation ─────────────────────────── */
header.nav {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--forest-deep);
  border: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.brand:hover { color: var(--mustard-dark); }

.footer-logo {
  max-width: 260px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  /* Elliptical mask + lighten blend so the cream backdrop dissolves
     into the dark forest footer instead of standing out as a patch. */
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at center,
    rgba(0,0,0,1) 22%,
    rgba(0,0,0,0.9) 48%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.2) 88%,
    transparent 100%);
          mask-image: radial-gradient(ellipse 58% 52% at center,
    rgba(0,0,0,1) 22%,
    rgba(0,0,0,0.9) 48%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.2) 88%,
    transparent 100%);
  mix-blend-mode: screen;
  filter: contrast(1.1) brightness(0.92);
  opacity: 0.85;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  color: var(--charcoal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
  color: var(--forest-deep);
  border-bottom-color: var(--mustard);
}

/* ── Hero ─────────────────────────── */
/* Hero stage — mossy forest at the top, fading down through sage
   into a creamy stone palette at the bottom. */
.hero-stage {
  position: relative;
  background-color: #F2EAD6;
  overflow: hidden;
}

/* Full-width brand hero banner: the palmetto + wordmark + stone-path
   illustration, stretched edge-to-edge across the page. */
.hero-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background-image: url('logo/hero-banner.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F5EDD8;
  position: relative;
}

/* (Old hero-banner-logo overlay no longer needed — the brand mark and
   wordmark are part of the hero-banner image itself.) */
.hero-banner-logo { display: none; }

/* (Old moss/stone overlay removed — the blurred logo backdrop now
   carries those tones natively.) */

/* Soft fade from the hero stage back into the page's sage below */
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(239, 231, 210, 0) 0%, var(--sage) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-logo {
  display: block;
  margin: 0 auto 1.5rem;
  width: clamp(360px, 44vw, 500px);
  height: auto;
  /* Soft elliptical fade — the hero stage background IS the logo's
     own backdrop, so the colours match natively; the mask just
     dissolves the rectangular boundary into the continuous palette. */
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at center,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.9) 60%,
    rgba(0,0,0,0.6) 78%,
    rgba(0,0,0,0.25) 92%,
    transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at center,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.9) 60%,
    rgba(0,0,0,0.6) 78%,
    rgba(0,0,0,0.25) 92%,
    transparent 100%);
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mustard-dark);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  position: relative;
  z-index: 1;
}

.hero-collage img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(42, 64, 41, 0.12);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-collage img:nth-child(2) { aspect-ratio: 4/6; transform: translateY(-1.5rem); }

/* ── Sections ─────────────────────────── */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section-cream {
  background-color: var(--cream);
}

.section-forest {
  background-color: var(--forest-deep);
  color: var(--cream);
}

.section-forest h2,
.section-forest h3 {
  color: var(--cream);
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mustard);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ── Story / about block ─────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text p {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
}

.story-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(42, 64, 41, 0.15);
}

/* ── What we grow ─────────────────────────── */
.grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.grow-card {
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-align: center;
}

.grow-icon {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--mustard);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.grow-card h3 { color: var(--forest-deep); }
.grow-card p {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  margin-bottom: 0;
}

/* ── Reviews ─────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card::before {
  content: "\201C";
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-style: italic;
  color: var(--mustard);
  line-height: 0.6;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  opacity: 0.5;
}

.review-stars {
  color: var(--mustard);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  margin-top: 1.25rem;
}

.review-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--forest-deep);
  margin-bottom: 1.5rem;
  flex: 1;
}

.review-author {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 600;
}

.review-source {
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Full-bleed banner ─────────────────────────── */
.banner {
  width: 100%;
  height: clamp(280px, 38vw, 480px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 64, 41, 0) 60%, rgba(42, 64, 41, 0.35) 100%);
}

/* ── Gallery ─────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.photo-cell {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(42, 64, 41, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(42, 64, 41, 0.18);
}

.photo-caption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: left;
  padding: 0 0.25rem;
}

.photo-caption strong {
  display: block;
  color: var(--forest-deep);
  font-weight: 600;
}

.photo-caption em {
  display: block;
  font-style: italic;
  color: var(--charcoal-soft);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 20, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.lightbox img {
  max-width: 70vw;
  max-height: 90vh;
  border-radius: 6px;
  flex-shrink: 1;
  min-width: 0;
}

.lightbox-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 1.5rem 1.4rem;
  width: clamp(220px, 22vw, 320px);
  flex-shrink: 0;
  align-self: center;
  color: var(--charcoal);
}

.lightbox-card h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--forest-deep);
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.lightbox-card p.latin {
  font-style: italic;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.lightbox-card p.note {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  color: var(--charcoal);
}

.lightbox-card:empty { display: none; }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
}

/* ── Contact ─────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.contact-info .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mustard-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--mustard);
  color: var(--forest-deep);
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: none;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: var(--forest-deep);
  color: var(--cream);
}

/* ── Footer ─────────────────────────── */
footer {
  background-color: var(--forest-deep);
  color: var(--cream);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

footer a {
  color: var(--mustard);
  border-color: transparent;
}

footer a:hover { border-color: var(--mustard); }

.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--cream);
  opacity: 0.95;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 1rem; }   /* 16px × 1.15 ≈ 18.4px effective */
  .hero { padding: 3rem 1.5rem 2rem; }
  .hero-collage { grid-template-columns: 1fr; }
  .hero-collage img:nth-child(2) { transform: none; }
  .hero-collage img:nth-child(3) { display: none; }
  section { padding: 3rem 1.5rem; }
  .story { grid-template-columns: 1fr; gap: 2rem; }
  .grow-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .lightbox-inner { flex-direction: column; gap: 0.75rem; }
  .lightbox img { max-width: 92vw; max-height: 60vh; }
  .lightbox-card { width: auto; max-width: 92vw; padding: 1rem 1.1rem; }
  .lightbox-card h3 { font-size: 1.15rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  nav ul { gap: 1rem; }
  nav a { font-size: 0.85rem; }
  header.nav { padding: 0.9rem 1.25rem; }
  .nav-inner { flex-direction: column; gap: 0.75rem; }
}

/* ── Built-by credit (Quantum Precision) ─────────────── */
.built-by {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.built-by-text {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.02em;
  margin: 0;
}
.built-by-logo {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.built-by-logo:hover { opacity: 1; }
.built-by-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}
