/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHARED LABEL TAG
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
}

.label-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green-mid);
  opacity: 0.6;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL REVEAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@media (max-width: 1024px) {
  .story-chapter-inner {
    gap: 60px;
    padding: 0 48px;
  }
}

@media (max-width: 900px) {
  .hero-parallax { background-attachment: scroll; }
  .parallax-break { background-attachment: scroll; height: 400px; }

  .story-chapter { padding: 80px 0; }
  .story-chapter-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 32px;
  }

  .story-chapter--reverse .story-chapter-inner {
    direction: ltr;
  }

  /* On mobile, image always comes first */
  .story-chapter--reverse .story-image { order: -1; }

  .story-image-frame--portrait { aspect-ratio: 4 / 3; }

  .fullbleed-break { height: 380px; }
  .footer-content-inner { flex-direction: column; text-align: center; }
  .footer-links-block { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 48px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .story-chapter-inner { padding: 0 24px; gap: 36px; }
  .story-chapter { padding: 64px 0; }
  .story-heading { font-size: 32px; }
  .parallax-quote { font-size: 26px; }
  .fullbleed-text p { font-size: 17px; }
  .footer-content { padding: 72px 24px 116px; }

}


/* FloraVision - Landing Page */

.hero-parallax {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/hero-meadow.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 26, 20, 0.50) 0%,
    rgba(14, 26, 20, 0.38) 50%,
    rgba(14, 26, 20, 0.72) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 40px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.hero-rule {
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.42);
}

.hero-orb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 500;
  color: white;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 32px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.25);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 0.1px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: white;
  color: var(--green-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.btn-hero-primary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.22);
  color: var(--green-deep);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  color: white;
}

.story-wrap {
  background: var(--white);
}

.story-chapter {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.story-chapter::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,74,62,0.03) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.story-chapter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.story-chapter--reverse .story-chapter-inner {
  direction: rtl;
}

.story-chapter--reverse .story-chapter-inner > * {
  direction: ltr;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 0;
}

.story-heading em {
  color: var(--green-deep);
  font-style: italic;
}

.story-text p {
  font-size: 18px;
  color: var(--ink-light);
  line-height: 1.9;
  font-weight: 300;
  max-width: 460px;
}

.story-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  border-bottom: 1px solid var(--green-light);
  padding-bottom: 2px;
  width: fit-content;
  transition: all 0.2s;
}

.story-link:hover {
  color: var(--green-mid);
  border-color: var(--green-mid);
  gap: 10px;
}

.story-image {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.story-image-frame--tall {
  aspect-ratio: 3 / 4;
}

.story-image-frame--wide {
  aspect-ratio: 4 / 3;
}

.story-image-frame--portrait {
  aspect-ratio: 2 / 3;
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  filter: saturate(0.92) brightness(0.98);
}

.story-image-frame:hover img {
  transform: scale(1.03);
}

.story-image-caption {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 4px;
}

.parallax-break {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/Cosmos.jpg');
  background-color: #2D4A3E; /* fallback if image fails to load */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 20, 0.60);
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

.parallax-deco {
  width: 80px;
  margin-bottom: 32px;
}

.parallax-quote {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-style: italic;
  font-weight: 400;
  color: white;
  max-width: 680px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin: 0;
}

.parallax-cite {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  letter-spacing: 1.5px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}
