/* mobile-gate.css — shows on phones (<=720px) only.
   Hides the desktop letterboxed canvas and renders a single scrapbook-style
   note asking visitors to view on desktop, plus contact links. */

.mobile-gate { display: none; }

@media (max-width: 720px) {
  /* Hide the desktop site */
  body > *:not(.mobile-gate) { display: none !important; }

  html, body {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: hidden;
    background: #F0E8D6 !important;
  }
  body { cursor: auto !important; }

  .mobile-gate {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 24px;
    box-sizing: border-box;
    /* Same green paper texture as the desktop site — no overlay so the
       color reads true. */
    background: url('assets/green-paper-texture.jpg') center / cover no-repeat, #6b7234;
    color: #F0E8D6;
    font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    position: relative;
  }

  /* Big script name — scaled to fit a 390px phone with room to breathe */
  .mg-name {
    font-family: 'Sundae', 'Crumb', 'Caveat', cursive;
    font-size: 42px;
    line-height: 0.95;
    letter-spacing: 0.3px;
    color: #F7F1E2;
    margin: 12px 0 6px;
    transform: rotate(-2deg);
  }
  .mg-tag {
    font-family: 'Patrick Hand', cursive;
    font-size: 18px;
    color: #DDE54E;
    margin-bottom: 28px;
  }

  /* The "note" — a tilted paper card on cream */
  .mg-card {
    background: #F7F1E2;
    border-radius: 3px;
    box-shadow:
      0 1px 0 rgba(0,0,0,.04),
      0 14px 28px -10px rgba(63,78,30,.18),
      0 28px 60px -20px rgba(63,78,30,.14);
    padding: 28px 24px 26px;
    max-width: 320px;
    width: 100%;
    position: relative;
    transform: rotate(-1.2deg);
    margin-bottom: 24px;
  }
  .mg-card::before {
    /* butter-yellow tape strip, matching the nav stickers */
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 92px;
    height: 20px;
    background: rgba(221, 229, 78, 0.7);
    border-left: 1px dashed rgba(0,0,0,.06);
    border-right: 1px dashed rgba(0,0,0,.06);
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
  }
  .mg-card h2 {
    font-family: 'Crumb', 'Archivo Black', system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.05;
    margin: 0 0 12px;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    color: #3F4E1E;
  }
  .mg-card p {
    font-family: 'Patrick Hand', cursive;
    font-size: 17px;
    line-height: 1.35;
    color: #3F4E1E;
    margin: 0 0 6px;
  }
  .mg-card .pp {
    color: #5C6D2F;
    font-size: 15px;
    margin-top: 10px;
  }

  /* Email button — uses --tomato accent, big touch target */
  .mg-cta {
    display: inline-block;
    background: #E6712E;
    color: #F7F1E2 !important;
    font-family: 'aktiv-grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 999px;
    margin: 4px 0 20px;
    box-shadow: 0 8px 20px -8px rgba(63,78,30,.4);
  }
  .mg-cta:active { transform: translateY(1px); }

  /* Elsewhere links */
  .mg-elsewhere {
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    color: #5C6D2F;
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
  }
  .mg-elsewhere a {
    color: #3F4E1E;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
  }
  .mg-elsewhere .dot {
    display: inline-block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #8A9670;
  }

  /* Footer hidden per request */
  .mg-foot { display: none; }

  /* Decorative polaroid peeking from corner */
  .mg-corner {
    position: absolute;
    top: -10px;
    right: -22px;
    width: 110px;
    transform: rotate(14deg);
    opacity: 0.85;
    pointer-events: none;
  }
  .mg-corner img { width: 100%; display: block; }
}
