/* About Us Page Styles */

/* Base & Typography specific to About */
.about-wrapper {
    background-color: var(--clr-surface);
    overflow: hidden;
}

.font-serif {
    font-family: 'Playfair Display', var(--font-headline); /* Injecting a classic serif feel if available, falling back to headline */
}

.text-gold {
    color: var(--clr-secondary);
}

/* About Hero */
.about-hero {
    position: relative;
    padding: 10rem 0 8rem;
    background: linear-gradient(to right, var(--clr-primary) 0%, #0a2540 100%);
    color: white;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/about_us/about-us.webp') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.15;
    mix-blend-mode: luminosity;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.about-eyebrow {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-secondary-fixed);
    margin-bottom: 1rem;
    display: block;
}

.about-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.about-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* The Story Section - Magazine Layout */
.story-section {
    padding: 8rem 0;
    background-color: var(--clr-surface);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--clr-on-surface-variant);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    pointer-events: none;
}

.story-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    display: block;
}

.uk-stamp {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 150px;
    height: 150px;
    background: var(--clr-primary);
    color: var(--clr-secondary-fixed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(3, 25, 53, 0.2);
    border: 8px solid var(--clr-surface);
    z-index: 20;
}

/* Philosophy Section - Dark Mode Base */
.philosophy-section {
    background-color: var(--clr-primary);
    color: white;
    padding: 8rem 0;
    position: relative;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 5rem;
}

.philosophy-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.philosophy-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .philosophy-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.phil-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
}

.phil-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-secondary);
}

.phil-icon {
    width: 4rem;
    height: 4rem;
    background: var(--clr-secondary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.phil-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-secondary-fixed);
}

.phil-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Call to Action */
.about-cta {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--clr-surface-container-low);
}

.about-cta h2 {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.25rem;
    color: var(--clr-on-surface-variant);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive Refinements */
@media (max-width: 1023px) {
    .about-hero {
        padding: 6rem 0 4rem;
        background-attachment: scroll;
    }

    .about-subtitle {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }

    .story-section, 
    .philosophy-section,
    .about-cta {
        padding: 4rem 0;
    }

    .story-grid {
        gap: 3rem;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .philosophy-header {
        margin-bottom: 3rem;
    }

    .philosophy-header h2 {
        font-size: 2.25rem;
    }

    .phil-card {
        padding: 2rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 2rem;
    }

    .about-cta p {
        font-size: 1.1rem;
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }

    .uk-stamp {
        width: 100px;
        height: 100px;
        font-size: 0.7rem;
        border-width: 4px;
        bottom: -1rem;
        right: -1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 5rem 0 3rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .story-content h2 {
        font-size: 1.75rem;
    }

    .story-content p {
        font-size: 1rem;
    }

    .philosophy-header h2 {
        font-size: 1.75rem;
    }

    .about-cta h2 {
        font-size: 1.75rem;
    }
}
