/* ============================================================
   TAKEAWAY — Logo Payoff
   Sezione autonoma dopo il manifesto
   ============================================================ */

:root {
  --lp-sub-size-desktop: var(--text-body-lg);
  --lp-sub-size-mobile:  var(--text-body-md);
}

#logo-payoff {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

/* Centro — logo + testo */
.lp-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

/* Logo SVG wrap */
.lp-mark-wrap {
  position: relative;
  width: 20vw;
  height: 20vw;
  flex-shrink: 0;
}

.lp-mark-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Testo payoff al centro del logo */
.lp-text-area {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 68%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.lp-sub {
  display: block;
  width: 100%;
  max-width: 16ch;
  margin: 0 auto;
  font-family: var(--font);
  font-size: var(--lp-sub-size-desktop);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body);
  color: var(--c-text);
  text-align: center;
  white-space: pre-line;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  #logo-payoff {
    height: 100svh;
  }
  .lp-mark-wrap {
    width: 60vw;
    height: 60vw;
  }
  .lp-text-area {
    width: 80%;
    height: 80%;
  }
  .lp-sub {
    font-size: var(--lp-sub-size-mobile);
    max-width: 20ch;
  }
}
