/* ================================================
   LOISTE STUDIO - ABOUT PAGE PREMIUM STYLES
   ================================================ */

/* 1. About Hero */
.about__hero__section__wrapper {
    width: 100%;
    background-color: var(--white-beige);
}

.about__hero__section {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.about__hero__section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 2. Artistry / Flower Section Polish - The "New Look" */
.about__flower__section__wrapper {
    background-color: var(--white-beige) !important;
    padding-top: 0 !important;
}

.about__flower__section {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10rem 8% !important;
    background: transparent !important;
    gap: 15rem;
    position: relative;
    max-width: 1700px;
    margin: 0 auto;
}

.about__flower__section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(163, 129, 58, 0.1), transparent);
    z-index: 1;
}

.about__flower__section__content {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.about__flower__label {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--neutral-dark);
    margin-bottom: 4rem;
    font-weight: 600;
    opacity: 0.9;
}

.about__flower__label::before {
    content: '';
    width: 4rem;
    height: 1px;
    background: var(--color-bronze);
}

.about__flower__heading {
    font-family: "Clarist", serif !important;
    font-size: 6.2rem !important;
    line-height: 1.05;
    color: var(--color-coffee);
    margin-bottom: 4rem;
    font-style: normal;
    font-weight: 300 !important;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.about__flower__heading em {
    font-family: inherit;
    font-style: italic;
    color: var(--neutral-dark);
    font-weight: 300 !important;
    display: inline-block;
}

.about__flower__para {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about__flower__para .para__highlight {
    font-size: 2.8rem !important;
    color: var(--color-coffee);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    position: relative;
    padding-left: 3.5rem;
    border-left: 2px solid rgba(163, 129, 58, 0.4);
    transition: all 0.6s ease;
}

.about__flower__section:hover .para__highlight {
    border-left-color: var(--color-bronze);
    padding-left: 4.5rem;
}

.about__flower__visual {
    flex: 1.5;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__flower__image__frame {
    position: relative;
    width: 100%;
    max-width: 75rem;
    height: 85rem;
    padding: 0;
    overflow: visible;
    background: #fff;
    border: 1px solid rgba(163, 129, 58, 0.15);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.08);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    outline: 1.5rem solid #fff;
    outline-offset: -1.5rem;
}

.about__flower__visual::after {
    content: 'STRATEGIC PARTNER';
    position: absolute;
    right: -5rem;
    top: 50%;
    transform: rotate(90deg) translateY(-50%);
    font-family: "Mulish", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.6em;
    color: var(--neutral-dark);
    opacity: 0.4;
    white-space: nowrap;
}

.corner-detail {
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 1px solid var(--color-bronze);
    opacity: 0.35;
    z-index: 1;
}

.corner-detail.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-detail.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.year-badge {
    position: absolute;
    bottom: 4rem;
    left: -6rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(163, 129, 58, 0.2);
    padding: 2.5rem 5rem;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.year-badge .year {
    font-family: "Clarist", serif;
    font-size: 5rem;
    font-weight: 300;
    color: var(--neutral-dark);
    line-height: 1;
    letter-spacing: 2px;
}

.badge-text {
    font-family: "Mulish", sans-serif;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    margin-top: 1rem;
    font-weight: 600;
}

.about__flower__section__image {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about__flower__section__image img {
    width: 100%;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    filter: sepia(0.1) contrast(1.05);
    opacity: 1 !important;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center bottom;
}

/* 3. Legacy Section Redesign (Floating Card Style) */
.about__legacy__section__wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--white-beige);
}

.about__legacy__section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 0;
}

.legacy__background__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.legacy__bg__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* High quality background as per image */
}

.legacy__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(246, 245, 236, 0.1);
    z-index: 1;
}

.about__legacy__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 8%;
}

.about__legacy__card {
    width: 100%;
    max-width: 58rem;
    background: rgba(225, 218, 202, 0.4);
    /* Glassy Cream */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4.5rem;
    padding: 7rem 6rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.legacy__card__inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.legacy__top__line {
    width: 8rem;
    height: 1px;
    background: var(--color-brown-muted);
    opacity: 0.3;
}

.legacy__heading {
    font-family: var(--font-heading);
    font-size: 5.8rem !important;
    line-height: 1.1;
    color: var(--color-brown-muted);
    font-weight: 300;
    margin: 0;
    opacity: 0.8;
}

.legacy__para__group {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.legacy__para {
    font-family: var(--font-body);
    font-size: 1.8rem !important;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

.legacy__bottom__line {
    width: 100%;
    height: 1px;
    background: var(--color-brown-muted);
    opacity: 0.15;
    margin-top: 2rem;
}

.legacy__footer {
    display: flex;
    justify-content: flex-start;
}

.studio-mark {
    font-family: var(--font-body);
    font-size: 1.4rem;
    letter-spacing: 0.4em;
    color: var(--color-brown-muted);
    font-weight: 700;
    opacity: 0.9;
}

/* Response for Legacy Section */
@media (max-width: 1024px) {
    .about__legacy__card {
        max-width: 50rem;
        padding: 5rem 4rem;
        margin: 0 auto;
    }

    .legacy__heading {
        font-size: 4.2rem !important;
    }
}

@media (max-width: 768px) {
    .about__legacy__section {
        min-height: auto;
        padding: 8rem 0;
    }

    .about__legacy__card {
        max-width: 100%;
        border-radius: 3rem;
        padding: 4rem 3rem;
    }

    .legacy__heading {
        font-size: 3.6rem !important;
    }

    .legacy__para {
        font-size: 1.6rem !important;
    }
}

/* 4. Stats Authority Strip */
.about__stats__strip {
    background-color: var(--chalk-beige);
    padding: 6rem 8%;
    display: flex;
    justify-content: center;
    gap: 12rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    color: var(--color-coffee);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-brown-muted);
    font-weight: 700;
}

/* 5. Philosophy Section & Values */
.about__philosophy__section__wrapper.vintage-theme {
    background-color: var(--white-beige) !important;
    padding: 12rem 8% !important;
    position: relative;
    overflow: hidden;
}

.philosophy__vintage__image__container {
    width: 100%;
    margin-bottom: 8rem;
    overflow: hidden;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
    border-radius: 0.4rem;
}

.philosophy__vintage__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 60rem;
    transition: transform 1.5s ease;
}

.philosophy__vintage__image__container:hover img {
    transform: scale(1.05);
}

.about__philosophy__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10rem;
    align-items: flex-start;
}

.philosophy__subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    color: var(--neutral-dark);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3rem;
    display: block;
}

.philosophy__main__heading {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 0.95;
    color: var(--color-charcoal);
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.philosophy__main__heading em {
    font-style: italic;
    color: var(--neutral-dark);
}

.philosophy__content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.philosophy__item {
    position: relative;
    padding-left: 4.5rem;
    border-left: 1px solid rgba(163, 129, 58, 0.2);
}

.philosophy__item h4 {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--color-coffee);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}

.philosophy__item p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* 6. The Method (Process) Section */
.about__method__section {
    background-color: var(--white-beige);
    padding-bottom: 12rem;
}

.method__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.method__card {
    padding: 5rem 4rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 0.8rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.method__card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.method__step {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--neutral-dark);
    display: block;
    margin-bottom: 2rem;
}

.method__card h3 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    color: var(--color-coffee);
}

.method__card p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    opacity: 0.7;
}

/* 7. Services Accordion Enhancements */
.about__services__title {
    background-color: var(--white-beige) !important;
    padding: 12rem 0 6rem 0;
}

.about__services__section__wrapper {
    background-color: var(--white-beige) !important;
    padding: 0 8% 12rem 8% !important;
}

/* Accordion Unfolding Animation */
.loiste-accordion-item.active .about__service__content__wrapper {
    animation: unfold 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.loiste-accordion-item.active .about__service__content__wrapper:nth-child(2) {
    animation-delay: 0.1s;
}

.loiste-accordion-item.active .about__service__content__wrapper:nth-child(3) {
    animation-delay: 0.2s;
}

.loiste-accordion-item.active .about__service__content__wrapper:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes unfold {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about__service__main__title {
    font-family: var(--font-heading) !important;
    font-size: 4.8rem !important;
    font-weight: 300 !important;
    transition: color 0.4s ease, transform 0.4s ease;
}

.loiste-accordion-item:hover .about__service__main__title {
    color: var(--color-bronze);
    transform: translateX(1.5rem);
}

/* 8. Team Section - Image Polish */
.loiste-team-featured-image {
    border-radius: 0.4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.loiste-team-featured-image img {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}

.loiste-team-nav-item:hover {
    color: var(--color-bronze);
    padding-left: 5rem;
}

/* Responsive updates for new sections */
@media (max-width: 1024px) {
    .about__stats__strip {
        flex-wrap: wrap;
        gap: 6rem;
    }

    .method__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about__stats__strip {
        gap: 4rem;
    }

    .stat-number {
        font-size: 3.2rem;
    }
}

.about__services__section {
    max-width: 160rem;
    margin: 0 auto;
}

.loiste-accordion-item {
    border-bottom: 1px solid rgba(163, 129, 58, 0.2) !important;
    background-color: var(--white-beige) !important;
}

.loiste-accordion-header {
    background-color: var(--white-beige) !important;
    padding: 4rem 0 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about__service__main__title {
    font-family: "Clarist", serif !important;
    font-size: 4.2rem !important;
    font-style: italic;
    font-weight: 700 !important;
}

.loiste-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.loiste-accordion-item.active .loiste-accordion-content {
    max-height: 2000px;
    opacity: 1;
    padding-bottom: 6rem;
}

.about__service__content__wrapper {
    display: grid;
    grid-template-columns: 14rem 1.6fr 1fr;
    gap: 6rem;
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    align-items: baseline;
}

.about__service__title {
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 1rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.about__service__heading {
    font-family: "Clarist", serif;
    font-size: 4rem;
    line-height: 1.1;
}

.about__service__para p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #555;
}

.about__service__tags {
    grid-column: 2 / span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.service__tag {
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    text-transform: uppercase;
}

/* 6. Team Section */
.loiste-team-wrapper {
    background-color: var(--white-beige);
    padding: 0 8% 15rem 8%;
}

.loiste-team-tabs-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    margin-top: 6rem;
}

.loiste-team-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.loiste-team-featured-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.loiste-team-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.loiste-team-featured-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.loiste-team-featured-info h2 {
    font-family: "Clarist", serif !important;
    font-size: 3.2rem;
    color: var(--color-charcoal);
}

.loiste-team-nav {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    list-style: none;
}

.loiste-team-nav-item {
    font-family: "Mulish", sans-serif !important;
    font-size: 2.4rem;
    font-style: italic;
    font-weight: bold;
    color: var(--color-coffee);
    padding: 1.5rem 4rem;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.6s ease;
}

.loiste-team-nav-item.active {
    opacity: 1;
    transform: translateX(20px);
}

/* 7. Quote Slider */
.agency-quote-section {
    padding: 15rem 10%;
    background-color: var(--white-beige);
    text-align: center;
}

.agency-quote-wrapper p {
    font-family: "Mulish", sans-serif !important;
    font-size: 5rem;
    line-height: 1.2;
    color: var(--color-charcoal);
    text-transform: uppercase;
    font-weight: 300;
}

.agency-quote-wrapper p em {
    font-style: italic;
    color: var(--color-bronze);
}

.quote-slide {
    display: none;
}

.quote-slide.active {
    display: block;
}

/* Standardized globally in premium-enhancements.css */

/* 9. Responsive Refinements */
@media (max-width: 1200px) {

    .about__flower__heading,
    .philosophy__main__heading {
        font-size: 7rem !important;
    }
}

@media (max-width: 1024px) {

    .about__flower__section,
    .about__philosophy__grid,
    .loiste-team-tabs-layout {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .about__flower__section__content {
        align-items: center;
        text-align: center;
    }

    .about__flower__heading,
    .philosophy__main__heading {
        font-size: 5.5rem !important;
    }

    .about__flower__image__frame {
        height: 60rem;
    }

    .year-badge {
        left: 0;
        bottom: -3rem;
        padding: 1.5rem 3rem;
    }

    .loiste-team-display {
        grid-template-columns: 1fr;
    }

    .loiste-team-nav {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 4rem;
        justify-content: center;
    }

    .loiste-team-nav-item {
        padding: 1rem 2rem;
        font-size: 1.8rem;
    }

    .loiste-team-nav-item.active {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .about__flower__section {
        padding: 6rem 2rem;
        flex-direction: column;
        gap: 4rem;
    }

    .about__flower__section__content {
        max-width: 100%;
        text-align: center;
    }

    .about__flower__heading {
        font-size: clamp(32px, 7vw, 48px);
        line-height: 1.2;
    }

    .about__flower__para {
        font-size: 1.6rem;
    }

    .philosophy__main__heading {
        font-size: 4rem !important;
    }

    .about__legacy__section {
        padding: 12rem 0;
    }

    .legacy__heading {
        font-size: 4.5rem !important;
    }

    .about__service__content__wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .about__service__title {
        font-size: 0.8rem;
    }

    .about__service__heading {
        font-size: 2.8rem;
    }

    .about__service__para p {
        font-size: 1.4rem;
    }

    .agency-quote-wrapper p {
        font-size: 3rem;
    }

}

@media (max-width: 480px) {

    .about__flower__heading,
    .philosophy__main__heading {
        font-size: 3.2rem !important;
    }

    .year-badge .year {
        font-size: 3.5rem;
    }

    .about__flower__image__frame {
        height: 45rem;
    }

    .loiste-team-featured-info h2 {
        font-size: 2.4rem;
    }

    .loiste-team-nav-item {
        font-size: 1.4rem;
        padding: 0.8rem 1.2rem;
    }
}

/* 9. Location Section */
.about__location__section {
    background-color: var(--white-beige);
    padding: 10rem 0 15rem 0;
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
    margin-top: 6rem;
}

.location__info h3 {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    margin-bottom: 2.5rem;
    color: var(--color-coffee);
}

.location__info p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.8;
    margin-bottom: 4rem;
}

.location__contact p {
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-brown-muted);
}

.location__image__frame {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.8rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.location__image__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.location__image__frame:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .location__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 10. Utility & Polish */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

.about__hero__section {
    overflow: hidden;
    position: relative;
    height: 80vh;
    /* Fixed height for better parallax control */
}

.about__hero__section img {
    height: 120% !important;
    /* Larger than container for room to move */
    object-fit: cover;
    width: 100%;
}

.fade-out {
    opacity: 0 !important;
    transform: translateY(20px);
}

html {
    scroll-behavior: smooth;
}

/* Ensure images don't overflow on small devices */
img {
    max-width: 100%;
}