/* =============================================
   GLOBAL
   ============================================= */

body { font-family: 'Georgia', serif; margin: 0; overflow-x: hidden; }


/* =============================================
   BANNER
   ============================================= */

.about-banner {
    height: 340px;                   /* smaller image on desktop */
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%), url("back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
}

.main-title {
    color: #ffffff;
    padding: 40px 50px;
    margin: 0;
    font-family: 'Georgia', serif;
    font-size: 5.5rem;               /* larger on desktop */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    text-align: left;
}

/* Banner overlay — left-aligned on desktop */
.banner-overlay {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

/* Tablet */
@media (max-width: 768px) {
    .about-banner {
        height: 320px;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .banner-overlay {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        justify-content: center;
    }
    .main-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
        text-align: center;
        padding: 0;
        letter-spacing: 1px;
        width: 100%;
    }
}

/* iPhone 12 Pro and smaller */
@media (max-width: 390px) {
    .about-banner {
        height: 260px;
        overflow: hidden;
    }
    .main-title {
        font-size: clamp(1.8rem, 9.5vw, 2.4rem);
        letter-spacing: 0.5px;
    }
}


/* =============================================
   BIO SECTION
   ============================================= */

.bio-section {
    display: flex;
    align-items: stretch;            /* both columns same height */
    justify-content: space-between;
    gap: 5%;
    padding: 80px 5% 0;              /* no bottom padding — let bsb-about-container's top padding create the gap */
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;                /* prevent absolutely positioned child from bleeding out */
}

.bio-text {
    flex: 1;
    padding-top: 20px;
    min-width: 0;                    /* prevents text from pushing image off screen */
}

.bio-heading {
    font-family: 'Georgia', serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.bio-paragraph {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    max-width: 480px;
}

/* Image stack — same height as text column */
.bio-image-container {
    flex: 1.2;
    display: flex;
    align-items: stretch;
}

.image-stack {
    position: relative;
    width: 100%;
    padding-bottom: 20px;            /* minimal — just enough for the detail image overlap */
}

.main-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-img-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;                         /* aligned to left of container, not bleeding left */
    width: 40%;
    z-index: 10;
    border: 15px solid #fff;
}

.detail-img-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .bio-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px 20px 0;
        overflow: visible;           /* allow detail image to bleed below */
    }
    .bio-text { width: 100%; padding-bottom: 0; text-align: left; }
    .bio-paragraph { max-width: 100%; }

    .bio-image-container { width: 100%; }

    .image-stack {
        width: 100%;
        padding-bottom: 0;
        position: relative;
        margin-bottom: 100px;
    }

    .main-img { width: 100%; height: auto; display: block; object-fit: unset; }

    .detail-img-wrapper {
        position: absolute;
        bottom: -80px;
        right: 0;
        left: auto;
        width: 48%;
        border: 10px solid #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .bio-section {
        padding: 40px 0 0;          /* remove side padding so image bleeds to edges */
        gap: 20px;
        overflow: visible;
    }

    /* Text block gets its own padding so it isn't edge-flush */
    .bio-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bio-heading { font-size: 1.8rem; }
    .bio-paragraph { font-size: 14px; max-width: 100%; }

    /* Image container: full viewport width, bleed to both edges */
    .bio-image-container {
        width: 100vw;
        margin-left: calc(-0px);    /* already at edge since parent has no padding */
        position: relative;
    }

    .image-stack {
        width: 100%;
        margin-bottom: 100px;       /* room for the hanging detail image */
        position: relative;
    }

    /* Main photo: full bleed, portrait crop */
    .main-img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

    /* Detail image: shifted left from right edge */
    .detail-img-wrapper {
        position: absolute;
        bottom: -80px;
        right: 28%;                 /* moved further left */
        left: auto;
        width: 52%;
        border: 8px solid #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        z-index: 10;
    }
}


/* =============================================
   FOUNDER / BIOGRAPHY
   ============================================= */

.bsb-about-container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
    color: #000;
}

.bsb-statement-wrapper {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 100px auto;
}

.bsb-brand-ethos {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bsb-story-flex {
    display: flex;
    align-items: stretch;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.bsb-story-visual,
.bsb-story-text {
    flex: 1;
    font-family: 'Georgia', serif;
}

.bsb-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bsb-story-heading {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.bsb-story-paragraph {
    font-family: 'Georgia', serif;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin-bottom: 25px;
    font-weight: 400;
}

.bsb-signature { padding-top: 40px; }
.bsb-name { font-size: 18px; font-weight: 600; margin: 0; color: #000; }
.bsb-title { font-size: 16px; color: #666; margin: 5px 0 0 0; }

@media (max-width: 768px) {
    .bsb-about-container { padding: 50px 20px; }
    .bsb-brand-ethos { font-size: 18px; }
    .bsb-statement-wrapper { margin-bottom: 50px; }
    .bsb-story-flex { flex-direction: column; gap: 20px; }
    .bsb-story-heading { font-size: 2rem; }
    .bsb-story-paragraph { font-size: 14px; }
}


/* =============================================
   TEAM TITLE
   ============================================= */

.team-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 30px;
    text-align: center;
    background-color: white;
}

.script-text {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 400;
    color: #555;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.main-text {
    font-family: 'Georgia', serif;
    font-size: clamp(52px, 9vw, 130px);
    font-weight: 400;
    letter-spacing: 6px;
    line-height: 1;
    margin: 0;
    color: #3a4a5c;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .main-text { font-size: 10vw !important; letter-spacing: 3px; white-space: normal; text-align: center; }
    .script-text { font-size: 28px !important; margin-bottom: 8px; }
}


/* =============================================
   TEAM CARDS
   ============================================= */

.team-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;        /* all cards same height in each row */
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;                /* fill grid row height */
}

/* text wrapper grows to fill card, button pushed to bottom */
.team-card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card-text .team-bio { flex: 1; }  /* bio absorbs extra space */
.team-card .book-btn {
    width: fit-content;
    padding: 12px 20px;
    text-align: center;
    margin-top: auto;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.team-name {
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.team-title {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.team-bio {
    font-family: 'Georgia', serif;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 25px;
}

.book-btn {
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    transition: opacity 0.3s;
}

.book-btn:hover { opacity: 0.8; }

/* 2x2 grid when 4 columns get too tight */
@media (max-width: 1100px) {
    .team-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 40px;
        max-width: 800px;
    }

    /* reset any row-direction overrides — keep vertical layout at 2x2 */
    .team-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-wrapper {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
        margin-bottom: 20px;
        flex: unset;
    }

    .team-card-text {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .team-card-text .team-bio { flex: 1; }
}

@media (max-width: 600px) {
    .team-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }

    /* Horizontal card: image left, text right — equal heights */
    .team-card {
        flex-direction: row;
        align-items: stretch;        /* both columns grow to same height */
        gap: 14px;
    }

    .image-wrapper {
        flex: 0 0 140px;             /* wider image */
        width: 140px;
        height: auto;                /* grows to match text column height */
        aspect-ratio: unset;
        margin-bottom: 0;
        border-radius: 6px;
    }

    .image-wrapper img {
        width: 100%;
        height: 100%;                /* fills full column height */
        object-fit: cover;
    }

    /* Text column same height as image via stretch */
    .team-card-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;  /* spreads content to fill height */
    }

    .team-name { font-size: 15px; margin-top: 0; margin-bottom: 3px; }
    .team-title { font-size: 12px; margin-bottom: 6px; }
    .team-bio { font-size: 12px; line-height: 1.35; margin-bottom: 10px; flex: 1; }

    .book-btn {
        padding: 7px 14px;
        font-size: 11px;
        align-self: flex-start;
        margin-top: auto;
    }
}

/* =============================================
   NEWSLETTER STRIP
   ============================================= */

.newsletter-section {
    font-family: 'Georgia', serif;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    display: block;
}

.brand-header {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.brand-title {
    font-size: 1.5rem;
    letter-spacing: 4px;
    font-weight: 300;
    margin: 0;
}
