/* Relo section layouts — features, tools, personas */

/* ---------- Features: Nomad-style 3-up ---------- */

.relo-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4vw, 3rem);
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-block: 0.5rem 1.25rem;
}

@media (min-width: 900px) {
  .relo-features {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.75rem, 2.8vw, 2.5rem);
    width: min(1140px, calc(100% - 4rem));
  }
}

.relo-feature {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.relo-feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(13, 45, 42, 0.14);
  background: #0d2d2a;
  box-shadow:
    0 0 0 1px rgba(163, 247, 191, 0.08) inset,
    0 18px 36px -28px rgba(13, 45, 42, 0.45);
}

.relo-feature:nth-child(2) .relo-feature__media {
  background: #164740;
  border-color: rgba(163, 247, 191, 0.22);
}

.relo-feature:nth-child(3) .relo-feature__media {
  background: #0a1614;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 18px 36px -28px rgba(13, 45, 42, 0.45);
}

.relo-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.relo-feature__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: #fff;
}

.relo-feature__body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: rgba(232, 242, 238, 0.62);
  max-width: 32ch;
}

/* ---------- Tools: product stage + editorial copy ---------- */

.relo-tools {
  align-items: center;
}

.relo-tools__stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.relo-tools__tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #0d2d2a;
  border: 1px solid rgba(13, 45, 42, 0.2);
  box-shadow: 0 18px 40px -28px rgba(5, 10, 10, 0.35);
}

.relo-tools__tile--mint {
  background: #0d2d2a;
  border-color: rgba(163, 247, 191, 0.28);
}

.relo-tools__tile--amber {
  background: #164740;
  border-color: rgba(255, 255, 255, 0.18);
}

.relo-tools__tile video,
.relo-tools__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.relo-tools__tile--mint::after,
.relo-tools__tile--amber::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.relo-tools__tile--mint::after {
  background:
    radial-gradient(ellipse 80% 70% at 30% 20%, rgba(163, 247, 191, 0.35), transparent 55%),
    linear-gradient(160deg, rgba(13, 45, 42, 0.25), transparent 50%);
  mix-blend-mode: soft-light;
}

.relo-tools__tile--amber::after {
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(244, 244, 244, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(163, 247, 191, 0.22), transparent 50%);
  mix-blend-mode: soft-light;
}

.relo-tools__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline: 0;
}

@media (min-width: 1024px) {
  .relo-tools__copy {
    padding-left: clamp(1.5rem, 3vw, 3rem);
    max-width: 26rem;
  }
}

.relo-tools__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(163, 247, 191, 0.65);
}

.relo-tools__headline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
  color: #fff;
  text-wrap: balance;
}

.relo-tools__stack {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 28ch;
}

.relo-tools__prose {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: rgba(232, 242, 238, 0.68);
}

@media (max-width: 900px) {
  .relo-tools__stage {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .relo-tools__tile {
    border-radius: 12px;
  }
}

/* ---------- Contribute personas — left editorial on pattern ---------- */

.relo-persona {
  gap: 0;
  padding-block: 0;
}

.relo-persona__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 22rem;
  padding-block: 1rem;
}

@media (min-width: 1024px) {
  .relo-persona__inner {
    max-width: 26rem;
    gap: 1.5rem;
  }
}

.relo-persona__eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(163, 247, 191, 0.65);
}

.relo-persona__title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
}

.relo-persona__body {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.68);
}

.relo-persona__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.relo-persona__visual {
  display: none;
}

@media (min-width: 768px) {
  .relo-persona__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(0.5rem, 2vw, 1.5rem);
  }
}

.relo-persona__frame {
  width: min(100%, 460px);
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(163, 247, 191, 0.2);
  background: rgba(5, 10, 10, 0.55);
  box-shadow:
    0 28px 70px -24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.relo-persona__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.relo-persona__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.4rem;
  border-radius: 980px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.relo-persona__btn:active {
  transform: scale(0.98);
}

.relo-persona__btn--primary {
  border: 1px solid transparent;
  background: #a3f7bf;
  color: #050a0a;
}

.relo-persona__btn--primary:hover {
  background: #c5fbd6;
}

.relo-persona__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.relo-persona__btn--ghost:hover {
  border-color: rgba(163, 247, 191, 0.55);
  color: #a3f7bf;
}

/* Soften dark wash so dash pattern reads */
[data-contribute-section] [data-contribute-slide] > div[aria-hidden="true"].absolute.inset-0 {
  background: rgba(5, 10, 10, 0.18) !important;
}


/* contribute compact — no product frames; shorter sticky stage */
[data-contribute-section].relo-contribute--compact {
  height: 210svh;
}
[data-contribute-section].relo-contribute--compact > .sticky {
  height: min(72svh, 640px);
  padding: 1rem;
}
@media (min-width: 1024px) {
  [data-contribute-section].relo-contribute--compact > .sticky {
    padding: 1.25rem;
  }
}
[data-contribute-section] .relo-persona__title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  max-width: 14ch;
}
[data-contribute-section] .relo-persona__body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 36ch;
}
[data-contribute-section] .relo-persona__inner {
  gap: 0.85rem;
}
[data-contribute-section] .relo-persona__visual {
  display: none !important;
}
