/* ============================================================
   ABOUT PAGE — Styles
   Robert Mamani · Sky Hawk
   ============================================================ */

/* === HEADER INIT (scrolled state for inner pages) === */
.header--scrolled-init {
    background: rgba(13, 11, 26, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header__nav-link--active {
    color: var(--gold) !important;
}

.header__nav-link--active::after {
    width: 100% !important;
}

/* ============================================================
   BLOCK 1: ABOUT HERO
   ============================================================ */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: brightness(0.35) saturate(1.3);
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(13, 11, 26, 0.6) 0%,
            rgba(13, 11, 26, 0.3) 40%,
            rgba(13, 11, 26, 0.7) 80%,
            rgba(13, 11, 26, 1) 100%);
}

.about-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 800px;
}

.about-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--sand);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5em;
    letter-spacing: 0.04em;
    animation: fadeInUp 1s ease;
}

.about-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.about-hero__epigraph {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold);
    font-style: italic;
    border: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* ============================================================
   BLOCKS 2–3: STORY SECTIONS (zigzag)
   ============================================================ */
.about-story {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-story--reverse {
    background: var(--bg-section);
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story__grid--reverse {
    direction: rtl;
}

.about-story__grid--reverse>* {
    direction: ltr;
}

.about-story__heading {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-story__heading-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-story__text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.2em;
}

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

.about-story__photo-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid rgba(212, 160, 23, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transition: border-color var(--transition), transform var(--transition);
}

.about-story__photo-frame:hover {
    border-color: rgba(212, 160, 23, 0.5);
    transform: scale(1.02);
}

.about-story__photo-frame img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ============================================================
   BLOCK 4: PHILOSOPHY
   ============================================================ */
.about-philosophy {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-philosophy__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1B1464 0%, #3B2314 50%, #0D0B1A 100%);
    z-index: 0;
}

.about-philosophy__overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 40px,
            rgba(212, 160, 23, 0.03) 40px,
            rgba(212, 160, 23, 0.03) 41px);
}

.about-philosophy .container {
    position: relative;
    z-index: 1;
}

.about-philosophy__body {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-philosophy__body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.2em;
}

.about-philosophy__quote {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--sand);
    font-style: italic;
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin: 2rem 0;
    background: rgba(212, 160, 23, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    line-height: 1.8;
}

.about-philosophy__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.about-philosophy__pillar {
    background: rgba(26, 23, 48, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.about-philosophy__pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 160, 23, 0.4);
}

.about-philosophy__pillar-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.about-philosophy__pillar h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.about-philosophy__pillar p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   BLOCK 5: TIMELINE
   ============================================================ */
.about-timeline {
    padding: 80px 0;
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(212, 160, 23, 0) 0%,
            rgba(212, 160, 23, 0.4) 10%,
            rgba(212, 160, 23, 0.4) 90%,
            rgba(212, 160, 23, 0) 100%);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.timeline__item--left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline__item--right {
    left: 50%;
    text-align: left;
    padding-left: 50px;
}

.timeline__dot {
    position: absolute;
    top: 4px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid rgba(212, 160, 23, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    transition: border-color var(--transition), transform var(--transition);
}

.timeline__item:hover .timeline__dot {
    border-color: var(--gold);
    transform: scale(1.15);
}

.timeline__item--left .timeline__dot {
    right: -20px;
}

.timeline__item--right .timeline__dot {
    left: -20px;
}

.timeline__card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.timeline__item:hover .timeline__card {
    border-color: rgba(212, 160, 23, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.timeline__period {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.timeline__card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================
   BLOCK 6: ABOUT GALLERY (masonry-style)
   ============================================================ */
.about-gallery {
    padding: 80px 0;
    background: var(--bg-section);
}

.about-gallery__grid {
    columns: 3;
    column-gap: 16px;
}

.about-gallery__item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform var(--transition);
}

.about-gallery__item:hover {
    transform: scale(1.02);
}

.about-gallery__item img {
    width: 100%;
    display: block;
    transition: filter 0.4s ease;
}

.about-gallery__item:hover img {
    filter: brightness(1.1);
}

/* ============================================================
   BLOCK 7: BIG QUOTE
   ============================================================ */
.about-bigquote {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.about-bigquote__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0D0B1A 0%, #3B2314 50%, #1B1464 100%);
}

.about-bigquote__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(212, 160, 23, 0.06) 0%,
            transparent 70%);
}

.about-bigquote .container {
    position: relative;
    z-index: 2;
}

.about-bigquote__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--sand);
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    border: none;
    padding: 0;
}

.about-bigquote__author {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   BLOCK 8: STATS
   ============================================================ */
.about-stats {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-stats__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.about-stats__card {
    flex: 1 1 180px;
    max-width: 200px;
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius);
    transition: transform var(--transition), border-color var(--transition);
}

.about-stats__card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 160, 23, 0.4);
}

.about-stats__number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.about-stats__suffix {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}

.about-stats__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.4;
}

/* ============================================================
   BLOCK 9: ACTIVITIES
   ============================================================ */
.about-activities {
    padding: 80px 0;
    background: var(--bg-section);
}

.about-activities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-activities__card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-activities__card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 160, 23, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.about-activities__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-activities__card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.about-activities__card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-activities__link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: 0.03em;
    transition: color var(--transition);
}

.about-activities__link:hover {
    color: var(--gold);
}

/* ============================================================
   BLOCK 10: PRESS
   ============================================================ */
.about-press {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-press__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 3rem;
}

.about-press__item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(212, 160, 23, 0.1);
    transition: transform var(--transition), border-color var(--transition);
}

.about-press__item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
}

.about-press__item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.about-press__item:hover img {
    filter: brightness(1.1);
}

.about-press__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 11, 26, 0.9) 0%, transparent 100%);
    padding: 32px 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.85rem;
}

.about-press__label span:first-child {
    font-family: var(--font-display);
    color: var(--gold);
    font-weight: 600;
}

.about-press__label span:last-child {
    color: var(--text-muted);
}

.about-press__quote {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--sand);
    font-style: italic;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    border: none;
    padding: 0;
}

.about-press__quote footer {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gold);
    font-style: normal;
    letter-spacing: 0.05em;
}

/* ============================================================
   BLOCK 11: INTERVIEW QUOTE
   ============================================================ */
.about-interview {
    padding: 60px 0;
    background: var(--bg-section);
}

.about-interview__card {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    position: relative;
}

.about-interview__quotes {
    font-size: 4rem;
    color: rgba(212, 160, 23, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    font-family: serif;
}

.about-interview__text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-light);
    font-style: italic;
    border: none;
    margin: 0 0 20px;
    padding: 0;
}

.about-interview__author {
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

/* ============================================================
   BLOCK 12: CTA
   ============================================================ */
.about-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.about-cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--terracotta), var(--gold), var(--andean-blue));
    opacity: 0.15;
}

.about-cta__overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    opacity: 0.85;
}

.about-cta .container {
    position: relative;
    z-index: 2;
}

.about-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--sand);
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.about-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.about-cta__btn--primary {
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold);
    border: 2px solid var(--gold);
}

.about-cta__btn--primary:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(212, 160, 23, 0.3);
}

.about-cta__btn--secondary {
    background: rgba(194, 69, 45, 0.15);
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
}

.about-cta__btn--secondary:hover {
    background: var(--terracotta);
    color: #fff;
    transform: translateY(-2px);
}

.about-cta__btn--ghost {
    color: var(--text-light);
    border: 1px solid rgba(208, 205, 224, 0.3);
}

.about-cta__btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — ABOUT PAGE
   ============================================================ */

@media (max-width: 1024px) {
    .about-philosophy__pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .about-gallery__grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 55vh;
    }

    .about-story__grid,
    .about-story__grid--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    .about-story__heading {
        justify-content: center;
    }

    .about-story__text {
        text-align: center;
    }

    .about-story__photo-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-philosophy__pillars {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    /* Timeline → mobile vertical */
    .timeline__line {
        left: 20px;
    }

    .timeline__item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 32px 60px !important;
        text-align: left !important;
    }

    .timeline__dot {
        left: 0 !important;
        right: auto !important;
    }

    .about-gallery__grid {
        columns: 2;
    }

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

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

    .about-interview__card {
        padding: 32px 24px;
    }

    .about-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-cta__btn {
        width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-gallery__grid {
        columns: 1;
    }

    .about-stats__card {
        flex: 1 1 140px;
    }
}