/* ===============================
   ABOUT SECRET PAGE - Decoupled Styles
   =============================== */

/* Hide hamburger menu on about page */
body.page-template-page-about-secret-php .mobile-menu-toggle,
body.page-template-page-about-secret-php .navbar-hamburger,
body.page-about-secret .mobile-menu-toggle,
body.page-about-secret .navbar-hamburger,
body.page-template-page-about-php .mobile-menu-toggle,
body.page-template-page-about-php .navbar-hamburger,
body.page-about .mobile-menu-toggle,
body.page-about .navbar-hamburger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Match background color for body and content areas */
body.page-template-page-about-secret-php,
body.page-about-secret,
body.page-template-page-about-php,
body.page-about {
    background-color: #F9F9F9 !important;
    background: #F9F9F9!important;
}

/* ===============================
   ABOUT HERO
   =============================== */

.about-hero {
    position: relative;
    min-height: 640px;
    height: 100vh;
    max-height: 902px;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 0 64px;
    box-sizing: border-box;
    border-radius: 0 0 20px 20px;
}

/* Hero background image */
.about-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../website-images/about/hero-bg.png');
    background-size: cover;
    background-position: bottom center;
}

/* Hero inner layout */
.about-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    text-align: left;
    width: 100%;
    padding: 0 80px;
    min-height: 640px;
    height: 100vh;
    max-height: 902px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero title */
.about-hero-title {
    color: #FAFAFA;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 32px;
    line-height: 1; /* 100% */
    font-weight: 500; /* Medium */
    text-transform: uppercase;
    letter-spacing: 0; /* 0% */
    margin: 0 0 32px;
}

/* "EXPLORE" CTA */
.about-hero-cta {
    position: absolute;
    left: 80px;
    bottom: 64px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: "Saira", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.2s ease;
    color: #fafafa;
    text-decoration: none;
}

.about-hero-cta:hover {
    text-decoration: none;
}

.about-hero-cta:hover svg path {
    stroke: var(--accent-color);
}

.about-hero-cta:hover svg {
    transform: translateY(2px);
}

/* CTA arrow container */
.about-hero-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* CTA SVG arrow: 24×8 as in Figma */
.about-hero-cta-arrow svg {
    display: block;
    width: 24px;
    height: 8px;
    
}

/* ===============================
   PAGE SECTIONS
   =============================== */

.page-section {
    background-color: #F9F9F9;
    padding: 80px 0;
}

/* Prevent horizontal scroll on the first section */
#content-about {
    overflow-x: hidden;
}

/* Constrain section content to the same width as hero/navbar */
.page-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

/* Left column: section label / title */
.page-section__left {
    flex: 0 0 320px;
    max-width: 320px;
}

/* Right column: main content */
.page-section__right {
    flex: 1 1 auto;
    min-width: 0;
}

/* Shared section title */
.page-section__title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1;
    color: #000;
    margin: 0;
    text-transform: capitalize;
}

/* Main copy wrapper */
.page-section__body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300; /* Light weight - thinner */
    font-size: 18px; /* Reduced from 20px */
    line-height: 1.75; /* More generous line spacing for readability */
    letter-spacing: 0.02em; /* Match FAQ answer spacing to prevent squished letters */
    color: #000000 !important; /* Pure black */
    max-width: 840px;
}

.page-section__body p {
    margin: 0 0 1.5rem 0;
    color: #000000 !important; /* Pure black */
}

.page-section__body p:last-child {
    margin-bottom: 0;
}

/* Optional media row under the copy (rover images) */
.page-section__media {
    margin-top: 40px;
}

/* ===============================
   ABOUT: MEDIA CAROUSEL
   =============================== */

#content-about .page-section__media {
    margin-top: 40px;
}

/* Carousel wrapper:
   - starts at the right-column edge
   - visually extends towards the viewport edge */
#content-about .about-media-carousel {
    position: relative;
    overflow: hidden;

    /* 100% of the right column + extra half of (viewport - max-width)
       → on wide screens the carousel touches the viewport edge,
       on smaller screens extra part becomes 0. */
    width: calc(
        100% + max(0px, (100vw - var(--max-width)))
    );
}

/* Track with all slides */
#content-about .about-media-carousel__track {
    display: flex;
    gap: 24px;
    width: max-content;
    /* Animation disabled by default - enabled when page-ready */
    animation: none;
}

/* Enable animation only when page is ready */
body.page-ready #content-about .about-media-carousel__track {
    animation: about-media-slide 40s linear infinite;
}

/* Single slide (Figma size) */
#content-about .about-media-carousel__item {
    flex: 0 0 auto;
    width: 345px;
    height: 218px;
}

/* Image fills the slide */
#content-about .about-media-carousel__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Infinite looping animation */
@keyframes about-media-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===============================
   NEWSLETTER (BEEHIIV EMBED)
   =============================== */

.newsletter-embed {
    margin-top: 24px;
}

/* ===============================
   ANTI-VALUES GRID
   =============================== */

#section-anti-values .page-section__body {
    width: 100%;
}

/* 3×2 grid on desktop */
.anti-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(20px, 4vw, 32px);
    row-gap: clamp(32px, 6vw, 96px);
}

/* Single anti-value item */
.anti-value {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #000;
    padding: 8px 0;
    justify-content: space-between;
    height: 100%;
    min-height: clamp(180px, 22vw, 289px);
}

/* "001" index */
.anti-value__index {
    display: block;
    font-family: "Saira";
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Label "COMPLACENCY" etc. */
.anti-value__label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Text inside each anti-value cell */
.anti-value__text {
    font-size: 16px;
    font-weight: 300; /* Light weight - thinner */
    line-height: 1.75; /* More generous line spacing for readability */
    letter-spacing: 0.02em; /* Match FAQ answer spacing to prevent squished letters */
    color: #000000 !important; /* Pure black */
}


/* ===============================
   UNIVERSAL FAQ ACCORDION
   =============================== */

/* FAQ ACCORDION */
.faq-accordion {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;              
    text-align: left;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 24px;           
    line-height: 1.2;
    color: #000000;

    transition: opacity 0.2s ease;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-question-text {
    flex: 1;
}

/* Icon */
.faq-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 18px;
}

/* SVG */
.faq-icon-svg {
    display: block;
    width: 22px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
    transform-origin: 50% 50%;
}

.faq-question[aria-expanded="true"] .faq-icon-svg {
    transform: rotate(-45deg);
}



.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0;                  
    opacity: 0;

    transition:
        max-height 0.35s ease,
        opacity 0.35s ease,
        padding-top 0.35s ease,
        padding-bottom 0.35s ease;
}

.faq-answer p {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;             
    line-height: 1.3;
    letter-spacing: 0.02em; /* Add spacing to prevent squished letters */
    color: #000000;
    margin: 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;            
    padding-top: 0;               
    padding-bottom: 32px;        
    opacity: 1;
}
/* Responsive FAQ */

@media (max-width: 1024px) {
    .faq-question {
        font-size: 20px;
    }

    .faq-answer p {
        font-size: 18px;
    }
}


@media (max-width: 768px) {
    .faq-question {
        font-size: 18px;
        padding: 16px 0;
    }

    .faq-answer p {
        font-size: 16px;
    }
}


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

/* 1368px and down – adjust carousel to touch screen edges */
@media (max-width: 1368px) {
    #content-about .about-media-carousel {
        margin-left: -16px; /* align with left screen edge */
        width: calc(100% + max(0px, (100vw - 16px)));
    }
}

/* 1280px and down – 2-column Anti-Values grid */
@media (max-width: 1280px) {
    .anti-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 1024px and down – generic section layout tweaks (tablet) */
@media (max-width: 1024px) {
    .page-section__inner {
        padding: 0 40px;
        gap: 40px;
    }

    .page-section__left {
        flex-basis: 260px;
        max-width: 260px;
    }

    .page-section__title {
        font-size: 28px;
    }
}

/* 991px and down – hero tweaks + Anti-Values single column */
@media (max-width: 991px) {
    .about-hero {
        height: 75vh;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-inner {
        padding: 0 15px;
        text-align: center;
        height: 100%;
    }

    .about-hero-bg {
        background-position: center center;
    }

    .about-hero-cta {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }

    .anti-values-grid {
        grid-template-columns: 1fr;
    }
}

/* 768px and down – mobile layout */
@media (max-width: 768px) {
    /* Hero */
    .about-hero {
        padding: 80px 24px 48px;
        justify-content: center;
    }

    .about-hero-title {
        font-size: 24px;
    }

    /* Sections */
    .page-section {
        padding: 40px 0;
    }

    .page-section__inner {
        padding: 0 16px;
        flex-direction: column;
        gap: 24px;
    }

    .page-section__left,
    .page-section__right {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .page-section__title {
        font-size: 24px;
    }

    /* Anti-Values card vertical spacing */
    .anti-value {
        min-height: auto;
        height: auto;
        gap: 24px;
    }
    .anti-value__text {
        font-size: 16px;
    }
}