/* ============ Fini Landing — components pack 2: sticky features + parallax footer ============ */

/* ---------- Sticky Features (adapted to Fini light theme) ---------- */
.sticky-features { padding: 40px 0; }
.sticky-features__wrap { width: 100%; position: relative; }
.sticky-features__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.sticky-features__container {
  display: flex;
  gap: 56px;
  align-items: stretch;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.sticky-feaures__col { flex: 1; position: relative; }
.sticky-feaures__col.is--img { overflow: hidden; border-radius: var(--radius-xl); }
.sticky-features__progress-w {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(20, 40, 8, 0.1);
  z-index: 2;
}
.sticky-features__progress-bar {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--lime-bright), var(--green-leaf));
  transform: scale3d(0, 1, 1);
  transform-origin: 0% 50%;
}
.sticky-features__img-collection { width: 100%; height: 100%; }
.sticky-features__img-list { aspect-ratio: 4 / 5; width: 100%; height: 100%; position: relative; }
.sticky-features__img-item {
  clip-path: inset(50% round 18px);
  width: 100%; height: 100%;
  position: absolute; inset: 0%;
}
[data-sticky-feature-visual-wrap]:first-of-type { clip-path: inset(0% round 18px); }
.sticky-features__img { object-fit: cover; width: 100%; height: 100%; position: absolute; inset: 0; }
.sticky-features__img .slot-fill { position: absolute; inset: 0; }
.sticky-features__text-collection { height: 100%; }
.sticky-features__text-list {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  position: relative;
}
.sticky-features__text-item {
  visibility: hidden;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 30em;
  position: absolute;
  right: 0;
}
[data-sticky-feature-item]:first-of-type { visibility: visible; }
.sticky-features__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-100);
  color: var(--green-deep);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 640;
}
.sticky-features__tag i { width: 18px; height: 18px; display: block; }
.sticky-features__heading {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--green-ink);
  text-wrap: balance;
}
.sticky-features__p { color: var(--ink-500); margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.sticky-features__p.is--link { color: var(--green-deep); font-weight: 620; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sticky-features__p.is--link svg { width: 16px; height: 16px; }

@media screen and (max-width: 860px) {
  .sticky-features__scroll { height: auto; min-height: 100svh; padding: 40px 0; }
  .sticky-features__container { flex-flow: column; gap: 32px; padding: 0 20px; }
  .sticky-features__img-list { aspect-ratio: 4 / 3; }
  .sticky-features__text-list { min-height: 18em; }
  .sticky-features__text-item { max-width: none; }
}

/* ---------- Parallax footer with Matter.js leaves ---------- */
.footer-wrap { position: relative; overflow: hidden; }
.fp-footer {
  position: relative;
  z-index: 1;
  background: var(--green-ink);
  color: rgba(253, 255, 250, 0.8);
  padding: 80px 0 48px;
  min-height: 96svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.fp-footer a { color: rgba(253, 255, 250, 0.72); text-decoration: none; }
.fp-footer a:hover { color: var(--lime-bright); }
.fp-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.fp-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fp-brand p { font-size: 14px; line-height: 1.55; color: rgba(253, 255, 250, 0.5); max-width: 260px; }
.fp-col h4 {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(253, 255, 250, 0.4); font-weight: 620; margin-bottom: 14px;
}
.fp-col ul { display: flex; flex-direction: column; gap: 10px; }
.fp-col a { font-size: 14.5px; }

/* Big logo + matter stage — logo anchored to bottom, tall drop zone */
.fp-logo-row { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0; min-height: 520px; padding-top: 40px; margin-bottom: -12px; }
.fp-logo-eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(253, 255, 250, 0.35); font-weight: 600; }
.fp-logo { width: min(1100px, 92%); display: block; line-height: 0; }
.fp-logo svg, .fp-logo img { width: 100%; height: auto; display: block; }
.fp-matter {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.fp-matter canvas { pointer-events: auto; }
.fp-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(253, 255, 250, 0.12);
  font-size: 13.5px; color: rgba(253, 255, 250, 0.45);
}
.footer-wrap__dark {
  opacity: 0;
  pointer-events: none;
  background: #071c02;
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
  z-index: 2;
}
@media screen and (max-width: 860px) {
  .fp-top { grid-template-columns: 1fr 1fr; }
  .fp-footer { min-height: auto; }
}
@media screen and (max-width: 520px) {
  .fp-top { grid-template-columns: 1fr; }
}
