/* =========================
   WALLPAPER OFFER (signup)
========================= */
.offer-form { width: 100%; max-width: 30rem; margin: 0 auto; text-align: left; }
.offer-row { display: flex; gap: .6rem; }
.offer-form input[type="email"] {
  flex: 1; min-width: 0; padding: .85rem 1rem; font: 400 .95rem 'Inter', system-ui, sans-serif;
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 0;
  outline: none; transition: border-color .2s ease;
}
.offer-form input[type="email"]::placeholder { color: #7a7a7a; }
.offer-form input[type="email"]:focus { border-color: rgba(255,255,255,.75); }
.offer-form button {
  padding: .85rem 1.3rem; font: 500 .8rem 'Inter', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: #000; background: #e6e6e6; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap; transition: background .2s ease;
}
.offer-form button:hover { background: #fff; }
.offer-form button[disabled] { opacity: .5; cursor: default; }
.offer-consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0 0; font-size: .78rem; line-height: 1.5; color: #a8a8a8; cursor: pointer; }
.offer-consent input { margin: .2rem 0 0; accent-color: #e6e6e6; flex: none; width: 15px; height: 15px; }
.offer-consent a, .offer-small a { color: #cfcfcf; }
.offer-small { margin: .7rem 0 0; font-size: .72rem; line-height: 1.5; color: #6f6f6f; }
.offer-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.offer-msg { display: none; margin: 1rem 0 0; font-size: .9rem; line-height: 1.5; color: #e6e6e6; }
.offer-msg.is-error { color: #ff9b9b; }
.offer-form.is-done .offer-row, .offer-form.is-done .offer-consent, .offer-form.is-done .offer-small { display: none; }
.offer-form.is-done .offer-msg, .offer-msg.is-error { display: block; }

.offer-title { margin: 0 0 .6rem; font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.7rem; line-height: 1.15; color: #fff; }
.offer-text { margin: 0 0 1.4rem; font-size: .92rem; line-height: 1.6; color: #bdbdbd; }
.offer-thumbs { display: flex; gap: .45rem; align-items: flex-end; margin: 0 0 1.4rem; }
.offer-thumbs img { display: block; height: 92px; width: auto; }
.offer-thumbs img.is-wide { height: 62px; }

/* Footer offer */
.footer-offer { width: 100%; max-width: 34rem; margin: 9vh auto 0; padding-top: 9vh; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.footer-offer .offer-thumbs { justify-content: center; margin: 0 0 1.4rem; }
.footer-offer .offer-thumbs img { height: 92px; }
.footer-offer .offer-thumbs img.is-wide { height: 62px; }
.footer-offer .offer-text { margin-bottom: 1.6rem; }
.footer-offer .offer-title { font-size: clamp(1.5rem, 2.2vw, 2rem); }

/* Link under the brokenmeerror carousel */
.offer-cue { padding: 1.6rem var(--page-margin, 6vw) 0; }
.offer-cue button {
  padding: 0; background: none; border: 0; cursor: pointer; color: #bdbdbd;
  font: 400 .8rem 'Inter', system-ui, sans-serif; letter-spacing: .08em; text-align: left;
}
.offer-cue button:hover { color: #fff; }
.offer-cue button span { display: inline-block; transition: transform .25s ease; }
.offer-cue button:hover span { transform: translateX(4px); }

/* Panel: modal (from the cue) and slide-in (from Earlier work) */
.offer-panel {
  position: fixed; z-index: 50; right: 2rem; bottom: 2rem; width: min(25rem, calc(100vw - 2rem));
  padding: 2rem 1.8rem 1.6rem; background: #0b0b0b; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease;
}
.offer-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.offer-panel .offer-row { flex-direction: column; }
.offer-close {
  position: absolute; top: .55rem; right: .7rem; width: 2rem; height: 2rem; padding: 0;
  background: none; border: 0; color: #8a8a8a; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.offer-close:hover { color: #fff; }
.offer-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.offer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.offer-panel.is-modal { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, calc(-50% + 16px)); }
.offer-panel.is-modal.is-open { transform: translate(-50%, -50%); }

@media (max-width: 600px) {
  .offer-row { flex-direction: column; }
  .offer-panel, .offer-panel.is-modal { left: 0; right: 0; bottom: 0; top: auto; width: 100%; transform: translateY(100%); border-width: 1px 0 0; padding: 1.8rem 1.5rem 1.5rem; }
  .offer-panel.is-open, .offer-panel.is-modal.is-open { transform: none; }
  .offer-thumbs img { height: 74px; }
  .offer-thumbs img.is-wide { height: 50px; }
  .footer-offer { padding: 6vh 1.5rem 0; margin-top: 6vh; }
  .footer-offer .offer-thumbs img { height: 74px; }
  .footer-offer .offer-thumbs img.is-wide { height: 50px; }
}
.footer-place a { color: inherit; }
