/* UAE Culture — documentary film treatment */
.page-uae-culture {
    background: #0e0806;
}

.page-uae-culture .body-wrapper {
    background: var(--fi-cream);
}

/* Hero — slow Ken Burns */
.uc-hero {
    min-height: 92vh;
}

.uc-hero-img {
    animation: uc-kenburns 22s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes uc-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.uc-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(14, 8, 6, 0.35) 0%,
        rgba(14, 8, 6, 0.5) 40%,
        rgba(14, 8, 6, 0.94) 100%
    );
}

.uc-hero-runtime {
    margin: 20px 0 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Opening narration */
.uc-narration {
    background: #1a0e08;
    color: #fff;
    position: relative;
}

.uc-narration::before,
.uc-narration::after {
    content: "";
    display: block;
    height: 1px;
    width: min(120px, 20vw);
    background: var(--fi-gold);
    margin: 0 auto 28px;
    opacity: 0.6;
}

.uc-narration::after {
    margin: 28px auto 0;
}

.uc-narration-label {
    text-align: center;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--fi-gold);
    margin-bottom: 24px;
}

.uc-narration p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
    line-height: 2 !important;
    font-weight: 400 !important;
}

/* Full-width interstitial — film break */
.uc-interstitial {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.uc-interstitial img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-interstitial-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 8, 6, 0.72);
}

.uc-interstitial-quote {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0;
    padding: 40px 24px;
    text-align: center;
    color: #fff;
}

.uc-interstitial-quote p {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-style: italic;
    line-height: 1.75;
    margin: 0 0 16px;
}

.uc-interstitial-quote cite {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fi-gold);
    font-style: normal;
}

/* Chapter frames — cinematic crop */
.uc-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(14, 8, 6, 0.22);
}

.uc-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 160, 83, 0.25);
    border-radius: 4px;
    pointer-events: none;
}

.uc-frame img,
.uc-frame--wide img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.uc-chapter-visual .cc-chapter-visual img {
    box-shadow: none;
    border-radius: 0;
}

.uc-caption {
    padding-left: 12px;
    border-left: 2px solid var(--fi-gold);
}

.uc-chapter:nth-child(even) {
    border-top: 1px solid rgba(63, 32, 22, 0.06);
}

/* Timeline */
.uc-timeline {
    background: linear-gradient(165deg, #0e0806 0%, #1a0e08 40%, #3f2016 100%);
}

.uc-timeline-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.uc-timeline-track::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fi-gold), transparent);
    opacity: 0.35;
}

.uc-timeline-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 83, 0.18);
    border-radius: 4px;
    padding: 32px 24px 28px;
    position: relative;
}

.uc-timeline-year {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--fi-gold);
    margin-bottom: 12px;
}

.uc-timeline-item h3 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin: 0 0 10px;
}

.uc-timeline-item p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
}

/* Varieties */
.uc-varieties {
    background: #faf6ef;
}

.uc-variety-card img {
    filter: saturate(0.92) contrast(1.04);
}

/* Heritage */
.uc-heritage {
    background: #fff;
}

.uc-frame--wide img {
    aspect-ratio: 16/10;
}

/* Quote */
.uc-quote {
    background: #1a0e08;
    position: relative;
}

.uc-quote-mark {
    text-align: center;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 5rem;
    line-height: 0.5;
    color: var(--fi-gold);
    opacity: 0.25;
    margin-bottom: -10px;
}

.uc-quote blockquote {
    color: #fff;
}

/* Gallery — editorial grid */
.uc-gallery {
    background: #0e0806;
}

.uc-gallery-grid {
    gap: 12px;
}

.uc-gallery-item img {
    filter: saturate(0.9);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.uc-gallery-item:hover img {
    filter: saturate(1);
    transform: scale(1.02);
}

.uc-credits {
    text-align: center;
    margin-top: 32px;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

/* CTA */
.uc-cta {
    background: linear-gradient(135deg, var(--fi-brown), #1a0e08);
}

.uc-cta-ep {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--fi-gold);
    margin-bottom: 12px;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .uc-timeline-track {
        grid-template-columns: 1fr 1fr;
    }

    .uc-timeline-track::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .uc-timeline-track {
        grid-template-columns: 1fr;
    }

    .uc-interstitial {
        min-height: 45vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uc-hero-img {
        animation: none;
    }
}
