/* About Us Section */
.about-us {
    padding: 80px 0 100px;
    background: white;
}

.about-card {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--light-blue) 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-pill {
    display: inline-block;
    padding: 5px 20px;
    border: 2px solid var(--pill-blue);
    border-radius: 20px;
    color: var(--pill-blue);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.about-title {
    font-size: 55px;
    font-weight: 800;
    color: #142A70;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-title .brush-text {
    font-family: var(--font-brush);
    font-size: 64px;
    color: var(--brush-red-2);
    font-weight: 700;
}

.quote {
    font-family: var(--font-quote);
    font-size: 21px;
    color: #4A4A4A;
    margin-bottom: 25px;
}

.body-text {
    font-size: 18px;
    font-weight: 400;
    color: #444444;
    margin-bottom: 40px;
}

/* Page scroll is frozen while the mobile drawer is open. `!important` beats the
   `overflow-x-hidden` utility already on <body>, which has the same specificity. */
body.menu-open {
    overflow: hidden !important;
}

.about-illustrations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Footer brush headline */
footer .brush-text {
    font-family: var(--font-brush);
    font-weight: 700;
    display: inline-block;
}


/* ── About card · mobile artwork ──────────────────────────────────
   From md up the card is wide enough for the full-bleed crop: copy on the
   left, book stack on the right. A phone-width card is portrait, so a cover
   crop of that artwork is height-driven and only ever shows a narrow middle
   column of sky — the books fall off frame entirely. Below md the stack is
   brought back as its own element instead: assets/about/about-books.webp is the
   stack and its bulb cut out of the same artwork, with a feathered alpha
   edge so it drops onto the card's own sky without a seam. The card keeps
   its natural height — this is framing only. */
@media (max-width: 767px) {
    .about-card-art {
        position: absolute;
        right: 0;
        /* The card background is the same artwork under a height-driven cover,
           so the painted table runs across the bottom 8% of the card whatever
           its height. Parking the cutout there sits the stack on that table
           rather than floating it above the edge. */
        bottom: 8%;
        /* Wide enough to read on a phone, and capped so the wider end of the
           range — where the card is short and the copy runs the full width —
           keeps the stack in the corner instead of under the text. */
        width: 36%;
        max-width: 150px;
        aspect-ratio: 900 / 752;
        z-index: 15;
        pointer-events: none;
        background-image: url('../assets/about/about-books.webp');
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: contain;
    }

    /* Light veil to settle the copy onto the watercolour. It sits under the
       cutout, so the books stay at full strength. The wash this replaces ran
       at 0.92 because it was also the only thing carrying text over the
       artwork; with the books lifted out to the corner, 0.3 is enough. */
    .about-card-scrim {
        position: absolute;
        inset: 0;
        z-index: 14;
        pointer-events: none;
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.30) 0%,
                rgba(255, 255, 255, 0.16) 100%);
    }
}

/* "Your Password to Success" headline image in the About Us card.
   Plain CSS on purpose: tailwind.min.css is a prebuilt/purged bundle, so
   arbitrary max-w-[...] utilities added here would silently not exist.
   Tune the three max-widths below to resize the headline. */
.about-headline {
    display: block;
    width: 100%;
    max-width: 26rem;
    height: auto;
}

@media (min-width: 768px) {
    .about-headline {
        max-width: 31rem;
    }
}

@media (min-width: 1024px) {
    .about-headline {
        max-width: 38rem;
    }
}
