/* =========================================================
   LOOKOUTJPG — Mobile-only compact card layout
   Converts the Featured Work + full portfolio media cards
   from tall poster-style cards into compact horizontal list
   items on phone widths, matching an app-style feed. Desktop
   is completely untouched — everything here is scoped inside
   a max-width media query.

   No HTML/JS changes needed: script.js still builds the exact
   same markup (img + .work-card-meta / .featured-card-meta),
   this file only restyles how that markup lays out at narrow
   widths. Clicking a card still opens the lightbox exactly as
   before, since the click listener is on the whole card.
   ========================================================= */

@media (max-width: 719px){

  /* ---- Section spacing / headings ---- */
  section{ padding: 44px 0; }
  .section-head{ margin-bottom: 22px; }
  .section-head h2{ font-size: clamp(24px, 7vw, 32px); margin-top: 8px; }
  .section-head p{ font-size: 14.5px; margin-top: 10px; }

  /* ---- Featured Work (top 3 cards) ---- */
  .featured-grid{ grid-template-columns: 1fr; gap: 8px; }
  .featured-card{
    aspect-ratio: unset;
    height: 84px;
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-sm);
  }
  .featured-card::before{ content: none; }
  .featured-card img{
    position: static;
    flex: none;
    width: 34%;
    height: 100%;
    object-fit: cover;
  }
  .featured-card:hover img{ transform: none; }
  .featured-card-meta{
    position: static;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: var(--panel);
    border: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
  }
  .featured-card-meta > div{ min-width: 0; }
  .featured-card-title{ font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .featured-card-tag{ font-size: 10.5px; margin-top: 3px; }
  .featured-card-play{ width: 30px; height: 30px; flex: none; }
  .featured-card-play svg{ width: 10px; height: 10px; margin-left: 1px; }

  /* ---- Full portfolio grid (View All Work) ---- */
  .work-grid{ grid-template-columns: 1fr; gap: 8px; }
  .work-card,
  .work-card.is-photo{
    aspect-ratio: unset;
    height: 84px;
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-sm);
  }
  .work-card::before{ content: none; }
  .work-card img{
    position: static;
    flex: none;
    width: 34%;
    height: 100%;
    object-fit: cover;
  }
  .work-card:hover img{ transform: none; }
  .work-card-meta{
    position: static;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: var(--panel);
  }
  .work-card-meta > div{ min-width: 0; }
  .work-card-title{ font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .work-card-tag{ font-size: 10.5px; margin-top: 3px; }
  .work-card-play{ width: 30px; height: 30px; flex: none; }
  .work-card-play svg{ width: 10px; height: 10px; margin-left: 1px; }

  .full-portfolio{ margin-top: 32px; padding-top: 32px; }
  .filters{ margin-bottom: 20px; }
}
