@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,300;1,400&display=swap');

/* ============================================================
   HOMEPAGE ABOUT SECTION  —  [sy_about] shortcode
   ============================================================ */

.sy-about-wrap {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* ── LEFT: image container ───────────────────────────────── */

.sy-about-images {
    position: relative !important;
    flex: 0 0 55%;
    height: 600px;        /* explicit height so % values on absolute children resolve */
    background: #f0ebe3;
    overflow: hidden;
}

/* Each image is an absolutely-placed box */
.sy-img {
    position: absolute !important;
    overflow: hidden;
}

/*
 * The <img> itself is absolutely pinned to fill the .sy-img box.
 * This bypasses any theme rule like "img { height: auto }" because
 * absolute positioning ignores flow-based sizing.
 */
.sy-img img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Image 1 — left column, flush to top, narrower portrait */
.sy-img-1 {
    top: 20px;
    left: 20px;
    right: 46%;          /* ~54% of container width */
    bottom: 14%;
}

/* Image 2 — right, bottom-anchored, overlaps img 1, starts lower */
.sy-img-2 {
    top: 14%;
    left: 24%;           /* overlaps img 1 by ~30% */
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ── SCROLL ANIMATION ────────────────────────────────────── */

.sy-img {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.sy-img-2 {
    transition-delay: 0.22s;
}

.sy-img--visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ── RIGHT: content panel ───────────────────────────────── */

.sy-about-content {
    flex: 0 0 45%;
    background-color: #f0ebe3;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.sy-about-eyebrow {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6b6256;
    margin-bottom: 18px;
}

.sy-about-eyebrow em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: none;
    color: #8a7f72;
}

.sy-about-heading {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    color: #2c2520;
    margin: 0 0 28px;
}

.sy-about-heading em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1em;
    color: #2c2520;
}

.sy-about-body p {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 2;
    color: #6b6256;
    margin: 0 0 14px;
}

.sy-about-body p:last-child {
    margin-bottom: 0;
}

.sy-about-btn {
    display: inline-block;
    margin-top: 36px;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #5a5048;
    padding: 18px 36px;
    text-decoration: none;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.sy-about-btn:hover {
    background-color: #2c2520;
    color: #ffffff;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1024px) {
    .sy-about-images {
        height: 520px;
    }
    .sy-about-content {
        padding: 60px 45px;
    }
}

@media (max-width: 768px) {
    .sy-about-wrap {
        flex-direction: column;
    }
    .sy-about-images {
        flex: none;
        width: 100%;
        height: 400px;
    }
    .sy-img-1 {
        top: 15px;
        left: 15px;
        right: 44%;
        bottom: 12%;
    }
    .sy-img-2 {
        top: 14%;
        left: 24%;
        right: 0;
        bottom: 0;
    }
    .sy-about-content {
        flex: none;
        width: 100%;
        padding: 50px 28px;
    }
    .sy-about-btn {
        align-self: stretch;
        text-align: center;
    }
}
