/* about-page.css — banner unique to the "אודות" page.
   Pattern: same scaled-stage as projects page (claude-html §3.8/§VV).
   - Team photo bg with dark gradient
   - Centered title "אודות" + gold rule
   - 3 feature text columns (mobile: vertical stack with check icons)
   - White callout card with 2 paragraphs + pendant
   Canvas: 1920px. */


/* ===== BANNER ===== */
.about-banner {
    position: relative;
    width: 100%;
    height: 653px;                     /* Figma banner frame height */
    background: #131313;
    overflow: hidden;
    color: var(--c-wht);
}

.about-banner__stage {
    position: absolute;
    top: 0;
    left: 0;                           /* anchored to LEFT, NOT margin auto (claude-html §VV) */
    width: 1920px;
    height: 653px;
    transform-origin: top left;        /* NOT top center — see §VV */
}

/* Team photo bg — fills the banner */
.about-banner__photo {
    position: absolute;
    inset: 0;
    width: 1920px;
    height: 643px;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

/* Dark gradients */
.about-banner__fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 159px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.about-banner__fade-mid {
    position: absolute;
    top: 267px;
    left: 0;
    width: 1920px;
    height: 384px;
    background: linear-gradient(to bottom, rgba(19,19,19,0) 0%, #131313 100%);
    z-index: 2;
    pointer-events: none;
}

.about-banner__fade-bottom {
    position: absolute;
    top: 410px;
    left: 0;
    width: 1920px;
    height: 238px;
    background: linear-gradient(to bottom, rgba(19,19,19,0) 0%, rgba(19,19,19,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Breadcrumb (top-right) */
.about-banner__crumb {
    position: absolute;
    top: 105px;
    right: 310px;
    z-index: 5;
    display: flex;
    flex-direction: row-reverse;   /* RTL: house icon on the RIGHT (start), text to its left */
    align-items: center;
    gap: 8px;
    color: var(--c-wht);
    font-family: var(--ff-he);
    font-size: 16px;
    font-weight: 300;
    opacity: 0.85;
}

.about-banner__crumb a { color: inherit; }
.about-banner__crumb a:hover { opacity: 0.7; }

.about-banner__crumb svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Title — large "אודות" centered */
.about-banner__title {
    position: absolute;
    top: 267px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    z-index: 5;
    font-family: var(--ff-he);
    font-size: 110px;
    font-weight: 700;
    line-height: 128px;
    color: var(--c-wht);
    text-align: center;
    margin: 0;
    direction: rtl;
}

/* Gold rule under title (centered) */
.about-banner__rule {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    width: 222px;
    height: 6px;
    background: var(--c-gold-flat);
    z-index: 5;
    border-radius: 3px;
}

/* 3-feature row */
.about-banner__features {
    position: absolute;
    top: 434px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    height: 100px;
    z-index: 5;
    display: flex;
    direction: rtl;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    color: var(--c-wht);
}

.about-banner__feature {
    flex: 1 1 0;
    text-align: center;
    direction: rtl;
}

.about-banner__feature-text {
    font-family: var(--ff-he);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-wht);
    margin: 0;
}

/* Check icon (mobile-only by default; hidden in desktop columns).
   Hollow gold ring (24x24) + white checkmark inside (12.6x12.6) — per Figma node 1676:18740. */
.about-banner__feature-check {
    display: none;
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
}

.about-banner__feature-check-ring,
.about-banner__feature-check-mark {
    display: block;
    position: absolute;
}

.about-banner__feature-check-ring {
    width: 24px;
    height: 24px;
    top: 0;
    left: 0;
}

.about-banner__feature-check-mark {
    width: 12.63px;
    height: 12.63px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive scaling — section-level scaled-stage.
   CRITICAL: must use `1920px` (length) not `1920` (number) in calc, otherwise
   scale() receives a length and silently ignores the rule (claude-html §H). */
@media (max-width: 1919px) {
    .about-banner {
        height: calc(653px * (100vw / 1920px));
    }
    .about-banner__stage {
        transform: scale(calc(100vw / 1920px));
    }
}


/* ===== CALLOUT (white card, overlaps onto banner photo) ===== */
.about-banner-callout-wrap {
    position: relative;
    width: 100%;
    margin-top: -80px;
    padding: 0 24px 60px;
    z-index: 10;
    background: transparent;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.about-banner-callout {
    position: relative;
    width: 100%;
    max-width: 1300px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 60px 80px 50px;
    pointer-events: auto;
    text-align: center;
}

/* Gold pendant decoration at top-center */
.about-banner-callout__pendant {
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 75px;
    display: block;
    z-index: 2;
    pointer-events: none;
}

.about-banner-callout__text {
    font-family: var(--ff-he);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-blk);
    text-align: center;
    direction: rtl;
    margin: 0;
}

.about-banner-callout__text--bold {
    font-weight: 700;
    margin-bottom: 16px;
}

@media (max-width: 1919px) and (min-width: 1025px) {
    .about-banner-callout-wrap {
        margin-top: calc(-80px * (100vw / 1920));
    }
}


/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 1024px) {

    .about-banner {
        position: relative;
        height: auto;
        min-height: 680px;
        padding: 270px 0 30px;             /* push content down so photo is visible above */
        background: #131313;
        overflow: hidden;
    }

    .about-banner__stage {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        padding: 0 16px;
    }

    .about-banner__photo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 500px !important;          /* taller photo area */
        object-fit: cover;
        object-position: center top;
        z-index: 1;
        opacity: 0.95;
    }

    .about-banner__fade-top,
    .about-banner__fade-mid,
    .about-banner__fade-bottom {
        position: absolute !important;
        left: 0 !important;
        width: 100% !important;
    }
    .about-banner__fade-top    { top: 0 !important; height: 110px !important; }
    /* Fade the bottom of the photo into the dark bg — covers bottom half of photo (500px tall) */
    .about-banner__fade-mid    { top: 250px !important; height: 250px !important;
        background: linear-gradient(180deg, rgba(19, 19, 19, 0.00) 0%, #131313 100%) !important; }
    .about-banner__fade-bottom { display: none !important; }

    .about-banner__crumb {
        position: absolute !important;
        top: 70px !important;
        right: 16px !important;
        z-index: 5;
        justify-content: flex-end;
        font-size: 13px;
    }

    .about-banner__title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        font-size: 56px;
        line-height: 1.05;
        text-align: center;
        margin: 0 0 14px;
        z-index: 5;
    }

    .about-banner__rule {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 240px !important;
        height: 4px !important;
        margin: 0 auto 24px;
        z-index: 5;
    }

    .about-banner__features {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        z-index: 5;
    }

    .about-banner__feature {
        display: flex;
        flex-direction: row;                  /* RTL natural: DOM 1 (check) → visual RIGHT */
        align-items: flex-start;
        gap: 12px;
        text-align: right;
    }

    .about-banner__feature-check {
        display: inline-flex;
        margin-top: 3px;
    }

    .about-banner__feature-text {
        font-size: 15px;
        line-height: 1.55;
        text-align: right;
        flex: 1 1 auto;
    }

    /* ----- CALLOUT (mobile) ----- */
    .about-banner-callout-wrap {
        margin-top: -40px !important;
        padding: 0 16px 32px;
    }

    .about-banner-callout {
        padding: 28px 18px 22px;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    }

    .about-banner-callout__text {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .about-banner__title { font-size: 46px; }
}
