/* ============================================================
   Projects v2 — collage layout (size presets, natural aspect)
   Reproduces the original "scrapbook" randomness: each displayed
   image keeps its natural aspect ratio, is sized by preset, and
   non-full tiles alternate left / right leaving whitespace.
   ============================================================ */
.pv2-collage {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 90px;
    box-sizing: border-box;
}
.pv2-tile {
    display: block;
    margin: 0 0 34px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.pv2-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s ease;
}
.pv2-tile:hover img { transform: scale(1.03); }

/* Size presets (widths); natural aspect preserved via height:auto */
.pv2-tile.size-full  { width: 100%; }
.pv2-tile.size-half  { width: 50%; }
.pv2-tile.size-third { width: 40%; }
.pv2-tile.size-small { width: 30%; }

/* Alternating alignment for non-full tiles -> collage whitespace */
.pv2-tile.align-left  { margin-right: auto; }
.pv2-tile.align-right { margin-left: auto; }
.pv2-tile.size-full   { margin-left: 0; margin-right: 0; }

/* Hover overlay */
.pv2-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.30);
    opacity: 0;
    transition: opacity .35s ease;
    padding: 16px;
}
.pv2-tile:hover .pv2-overlay { opacity: 1; }
.pv2-overlay .pv2-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: .5px;
}
.pv2-overlay .pv2-cta {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, .7);
    padding-top: 8px;
}

@media (max-width: 767px) {
    .pv2-tile.size-half,
    .pv2-tile.size-third,
    .pv2-tile.size-small { width: 100%; margin-left: 0; margin-right: 0; }
}
