/* ==========================================================================
   ABOUT SECTION  —  [sy_about]
   Markup: inc/shortcodes.php. Content: Customize > SY Sections > About.
   ========================================================================== */


/* --- Layout: images left, cream panel right ------------------------------ */
.sy-about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #ffffff;
}

/* --- Images ---------------------------------------------------------------
   Two equal portrait images side by side; the second sits lower.
   They do not overlap horizontally — that matches the reference. */
.sy-about-images {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 1.6vw, 26px);
    padding: clamp(40px, 5vw, 90px) clamp(20px, 3vw, 56px);
}

.sy-about-images .sy-img {
    flex: 1 1 0;
    min-width: 0;
}

/* The vertical stagger */
.sy-about-images .sy-img-2 {
    margin-top: clamp(56px, 9vw, 170px);
}

.sy-about-images .sy-img img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* --- Scroll reveal: fade in from the left --------------------------------
   The shortcode's inline IntersectionObserver adds .sy-img--visible. */
.sy-about-images .sy-img {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.sy-about-images .sy-img-2 {
    transition-delay: 0.22s;   /* second image trails the first */
}

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

@media (prefers-reduced-motion: reduce) {
    .sy-about-images .sy-img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Content panel -------------------------------------------------------- */
.sy-about-content {
    background: #f2efe9;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(56px, 7vw, 112px) clamp(30px, 6.5vw, 120px);
}

/* Eyebrow — "THE COMPANY" (first word is in <em>) */
.sy-about-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: #2c2520;
    margin-bottom: 26px;
}

.sy-about-eyebrow em {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 2px;
}

/* Heading — serif at regular weight. The biggest single change:
   heavy sans reads corporate, high-contrast serif reads editorial. */
.sy-about-heading {
    font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif !important;
    font-size: clamp(35.2px, 3.4vw, 56px) !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.005em !important;
    text-transform: uppercase;
    color: #1f1b18 !important;
    margin: 0 0 32px !important;
}

.sy-about-heading em {
    font-style: italic;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
}

/* Body copy — loose leading is a large part of the look */
.sy-about-body p {
    font-size: 15px;
    line-height: 2;
    color: #5a5249;
    margin: 0 0 22px;
}

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

/* Button */
.sy-about-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 38px;
    background: #6b6157;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 34px;
    border-radius: 0;
    transition: background-color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sy-about-btn:hover {
    background: #4a423a;
    color: #ffffff !important;
}

/* --- Tablet ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .sy-about-wrap {
        grid-template-columns: 1fr;
    }

    .sy-about-images {
        padding: 40px 24px 0;
    }

    .sy-about-images .sy-img-2 {
        margin-top: 58px;
    }
}

/* --- Mobile ----------------------------------------------------------------
   Images stay side by side with the stagger — they do NOT stack. */
@media (max-width: 767px) {
    .sy-about-images {
        padding: 32px 16px 44px;
        gap: 12px;
    }

    .sy-about-images .sy-img-2 {
        margin-top: 52px;
    }

    .sy-about-content {
        padding: 46px 26px 52px;
    }

    .sy-about-eyebrow {
        margin-bottom: 20px;
    }

    .sy-about-heading {
        margin-bottom: 24px !important;
    }

    .sy-about-btn {
        margin-top: 30px;
        padding: 18px 28px;
    }
}



/* ==========================================================================
   MOBILE TYPE SCALE
   Appended last so it wins over the base rules above. The base sizes were
   tuned for desktop and read too small on a phone, where the text column is
   full-width rather than half.
   ========================================================================== */

@media (max-width: 767px) {
    .sy-about-eyebrow {
        font-size: 12px;
        letter-spacing: 2.4px;
    }

    .sy-about-heading {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .sy-about-body p {
        font-size: 16.5px;
        line-height: 1.95;
    }

    .sy-about-btn {
        font-size: 13px;
        letter-spacing: 2.2px;
    }
}

@media (max-width: 380px) {
    .sy-about-heading {
        font-size: 34.4px !important;
    }

    .sy-about-body p {
        font-size: 16px;
    }
}
