/* ----------------------------------------------------------
   Palms Collective — coming-soon page
   Colors sampled from supplied screenshots.
   ---------------------------------------------------------- */

:root {
  --bg:        #1E2118;   /* dark olive (matches meta theme-color) */
  --border:    #BFCF83;   /* lime border + button */
  --accent:    #e2543a;   /* coral / orange wordmark */
  --text:      #FFFFFF;
  --text-dark: #1E2118;
  --frame-gap: 14px;      /* gap between viewport edge and lime border */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Outer frame — the lime border around the photo area */
.frame {
  min-height: 100vh;
  padding: var(--frame-gap);
  background: var(--bg);
}

/* The stage holds the background photo + all content */
.stage {
  position: relative;
  border: 4px solid var(--border);
  background-color: var(--bg);
  background-image:
    /* dark overlay so white text is readable on the photo */
    linear-gradient(
      to right,
      rgba(30, 33, 24, 0.78) 0%,
      rgba(30, 33, 24, 0.55) 55%,
      rgba(30, 33, 24, 0.30) 100%
    ),
    url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - (var(--frame-gap) * 2));
  overflow: hidden;
}

/* ---------- Wordmark ---------- */
.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}

.brand--desktop {
  position: absolute;
  top: 48px;
  left: 56px;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.brand--mobile {
  display: none;
}

/* ---------- Body copy block ---------- */
.copy {
  position: absolute;
  left: 56px;
  bottom: 56px;
  max-width: 820px;
  padding-right: 24px;
}

.copy .lede {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}

.copy p {
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 12px;
  font-weight: 400;
  max-width: 760px;
}

.copy .contact-label {
  margin-top: 6px;
  margin-bottom: 16px;
}

.copy .contact-label strong { font-weight: 700; }

/* underline under the contact block, matching the screenshot */
.copy::after {
  content: '';
  position: absolute;
  left: 0;
  right: 24px;
  bottom: -22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* ---------- Email pill button ---------- */
.cta-wrap { margin: 4px 0 0; }

.cta {
  display: inline-block;
  background: var(--border);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cta:hover,
.cta:focus-visible {
  background: #cbdc92;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  outline: none;
}

.cta:active { transform: translateY(0); }

/* =========================================================
   MOBILE
   On narrow screens the layout flips:
   - photo + stacked "Palms / Collective" title sits at the top
   - copy block sits on a dark slab beneath the photo
   ========================================================= */
@media (max-width: 760px) {
  :root { --frame-gap: 10px; }

  .stage {
    /* turn the stage into a vertical container */
    min-height: calc(100vh - (var(--frame-gap) * 2));
    background: var(--bg);
    display: flex;
    flex-direction: column;
  }

  .stage::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-image:
      linear-gradient(
        to bottom,
        rgba(30, 33, 24, 0.35) 0%,
        rgba(30, 33, 24, 0.55) 60%,
        rgba(30, 33, 24, 0.85) 100%
      ),
      url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .brand--desktop { display: none; }

  .brand--mobile {
    display: block;
    position: absolute;
    top: 36px;
    left: 32px;
    right: 32px;
    font-size: clamp(2.6rem, 12vw, 4rem);
    line-height: 1.02;
  }

  .brand--mobile span { display: block; }

  .copy {
    position: static;
    padding: 36px 32px 48px;
    max-width: none;
  }

  .copy .lede {
    font-size: 1.35rem;
    margin-bottom: 22px;
  }

  .copy p {
    font-size: 1.18rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .copy .contact-label {
    font-size: 1.25rem;
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .copy::after { display: none; }

  .cta {
    display: block;
    text-align: center;
    /* shrink-to-fit so the email stays on one line on most phones */
    font-size: clamp(0.82rem, 3.9vw, 1.05rem);
    padding: 16px 10px;
    border-radius: 22px;
    white-space: nowrap;
  }
}

/* very small phones */
@media (max-width: 380px) {
  .brand--mobile { left: 24px; right: 24px; }
  .copy { padding: 28px 24px 36px; }
}

/* large screens — keep things grounded */
@media (min-width: 1600px) {
  .brand--desktop { top: 72px; left: 80px; }
  .copy { left: 80px; bottom: 80px; }
}

/* respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
