/* =============================================================================
   AYAL TOURS AND TRAVEL — ABOUT / OUR STORY PAGE
   Built by Vanquish Brand Design | vanquish.co.ke
   Enqueued only on page-about.php (see ayal_enqueue_about_styles()).

   Reskinned Sep 2026 for the approved "A&K-direct" direction — deep olive
   accent, warm linen/ivory backgrounds, near-black ink text, Qaftan serif
   headings, DM Sans body. Every colour, font and spacing value below is
   pulled from the shared tokens in ayal-tokens.css (var(--ayal-*),
   var(--font-*), var(--text-*), var(--space-*), var(--radius-*)) — nothing
   here is hardcoded.

   No shared-chrome overrides — header/mega menu/footer are already in the
   correct palette globally (ayal-nav.css / ayal-footer.css), so this file
   only ever styles elements that live inside <main id="ayalAboutPage">.

   Reference: /home/claude/ayal-prototype/about-template.html (approved
   visual/structural direction) — translated here onto the real theme's
   ayal-* token system and .ayal-container / .ayal-section / .ayal-btn /
   .ayal-eyebrow / .ayal-section-title / .ayal-divider / .ayal-reveal
   utilities already provided by ayal-tokens.css. Markup/classes below are
   unchanged from the real page-about.php — this file only restyles them.
   ============================================================================= */


/* =============================================================================
   1. HERO
   Full-bleed featured image, header floats over it (.ayal-hero-zoom handles
   the Ken Burns creep + parallax hook already, see ayal-tokens.css §8).
   ============================================================================= */

.ayal-about-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: var(--ayal-green-deep); /* Fallback if no featured image */
    overflow: hidden;
}

.ayal-about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 21, 15, 0.18) 0%,
        rgba(20, 21, 15, 0.42) 55%,
        rgba(20, 21, 15, 0.74) 100%
    );
    pointer-events: none;
}

.ayal-about-hero__content {
    position: relative;
    z-index: var(--z-above);
    width: 100%;
    padding: clamp(88px, 12vw, 148px) 0 clamp(56px, 7vw, 90px);
    text-align: center;
}

.ayal-about-hero .ayal-eyebrow--sand {
    color: var(--ayal-sand);
    opacity: 0.9;
    margin-bottom: var(--space-16);
}

.ayal-about-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: var(--weight-light);
    color: var(--ayal-white);
    letter-spacing: var(--tracking-tight);
    line-height: 1.08;
    text-wrap: balance;
    margin-bottom: var(--space-20);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.18);
}

.ayal-about-hero__sub {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-relaxed);
    color: rgba(247, 245, 239, 0.86);
    max-width: 560px;
    margin: 0 auto;
}


/* =============================================================================
   2. OUR STORY
   ============================================================================= */

.ayal-about-story {
    padding-top: clamp(88px, 10vw, 128px);
    padding-bottom: clamp(72px, 9vw, 108px);
}

.ayal-about-story__body {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-loose);
    color: var(--ayal-charcoal-2);
}

.ayal-about-story__body p {
    margin-bottom: var(--space-24);
}

.ayal-about-story__body p:last-child {
    margin-bottom: 0;
}

.ayal-about-story__quote {
    margin: var(--space-48) 0 0;
    padding: var(--space-40) clamp(28px, 4vw, 48px);
    border-left: 2px solid var(--ayal-green);
    background: var(--ayal-green-muted);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ayal-about-story__quote p {
    font-family: var(--font-heading);
    font-style: normal; /* Qaftan ships one weight, no italic master — see ayal-tokens.css */
    font-size: clamp(20px, 2.2vw, 25px);
    font-weight: var(--weight-regular);
    line-height: 1.5;
    color: var(--ayal-charcoal);
    margin: 0 0 var(--space-16);
}

.ayal-about-story__quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: var(--text-caption);
    letter-spacing: var(--tracking-wide);
    color: var(--ayal-charcoal-3);
}


/* =============================================================================
   3. OUR PHILOSOPHY / VALUES
   ============================================================================= */

.ayal-about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
    margin-top: var(--space-48);
}

.ayal-about-values__card {
    background: var(--ayal-white);
    border: 1px solid var(--ayal-border);
    border-radius: var(--radius-md);
    padding: var(--space-32) var(--space-24);
    text-align: left;
    transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}

.ayal-about-values__card:hover {
    border-color: var(--ayal-green-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.ayal-about-values__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--ayal-green-muted);
    border: 1px solid var(--ayal-green-border);
    color: var(--ayal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-20);
}

.ayal-about-values__title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: var(--weight-regular);
    color: var(--ayal-charcoal);
    line-height: 1.3;
    margin-bottom: var(--space-12);
}

.ayal-about-values__body {
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    line-height: var(--leading-relaxed);
    color: var(--ayal-charcoal-2);
}


/* =============================================================================
   4. MEET THE FOUNDER
   ============================================================================= */

.ayal-about-founder__grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-64) clamp(48px, 6vw, 72px);
    align-items: center;
}

.ayal-about-founder__image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ayal-sand-light);
}

.ayal-about-founder__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* Decorative fallback shown only when no ACF founder image is set yet —
   purely presentational, no copy, matches the approved prototype's
   placeholder treatment. */
.ayal-about-founder__img-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--ayal-green-hover) 0%, var(--ayal-green) 45%, var(--ayal-green-deep) 100%);
}

.ayal-about-founder__img-placeholder::before {
    content: 'AYAL';
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: var(--tracking-widest);
    color: rgba(247, 245, 239, 0.55);
    text-align: center;
}

.ayal-about-founder__content .ayal-eyebrow {
    margin-bottom: var(--space-16);
}

.ayal-about-founder__name {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: var(--weight-light);
    color: var(--ayal-charcoal);
    line-height: 1.12;
    margin-bottom: var(--space-4);
}

.ayal-about-founder__title {
    font-family: var(--font-body);
    font-size: var(--text-caption);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--ayal-green);
    margin-bottom: var(--space-24);
}

.ayal-about-founder__bio {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-loose);
    color: var(--ayal-charcoal-2);
    margin-bottom: var(--space-24);
}

.ayal-about-founder__quote {
    font-family: var(--font-heading);
    font-style: normal; /* Qaftan ships one weight, no italic master — see ayal-tokens.css */
    font-weight: var(--weight-regular);
    font-size: 19px;
    line-height: 1.55;
    color: var(--ayal-green-hover);
    padding-top: var(--space-24);
    border-top: 1px solid var(--ayal-border);
}


/* =============================================================================
   5. FINAL CTA
   ============================================================================= */

.ayal-about-cta {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.ayal-about-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--ayal-green-deep);
}

.ayal-about-cta__overlay {
    position: absolute;
    inset: 0;
    background: var(--ayal-overlay-deeper);
}

.ayal-about-cta__content {
    position: relative;
    z-index: var(--z-above);
    padding: var(--space-24);
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ayal-about-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: var(--weight-light);
    color: var(--ayal-white);
    letter-spacing: var(--tracking-tight);
    line-height: 1.18;
    text-wrap: balance;
    margin: var(--space-12) 0 var(--space-20);
}

.ayal-about-cta__body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-relaxed);
    color: rgba(247, 245, 239, 0.85);
    max-width: 480px;
    margin-bottom: var(--space-32);
}


/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1023px) {

    .ayal-about-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ayal-about-founder__grid {
        grid-template-columns: 340px 1fr;
        gap: var(--space-48);
    }

}

@media (max-width: 767px) {

    .ayal-about-story,
    .ayal-about-values,
    .ayal-about-founder {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .ayal-about-values__grid {
        grid-template-columns: 1fr;
    }

    .ayal-about-founder__grid {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }

    .ayal-about-founder__image {
        max-width: 320px;
        margin: 0 auto;
    }

    .ayal-about-story__quote {
        padding: var(--space-24);
    }

}
