/* ==========================================================================
   What Is House Of Noor — client ref: photo | story | Noor card
   ========================================================================== */

.what-is {
    --what-is-bg: #E2D6C4;
    --what-is-text: #181818;
    --what-is-gold: #F5511C;
    --what-is-card: #F7F1EA;

    position: relative;
    background-color: var(--what-is-bg);
    padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 88px);
    overflow: hidden;
}

.what-is__corner-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(140px, 16vw, 240px);
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.what-is__inner {
    position: relative;
    z-index: 2;
}

.what-is__section-title {
    margin: 0 0 clamp(28px, 3.5vw, 48px);
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: left;
    color: var(--what-is-text);
    white-space: nowrap;
}

.what-is__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(240px, 0.78fr);
    column-gap: clamp(22px, 3vw, 44px);
    align-items: start;
}

/* Photo */
.what-is__media {
    position: relative;
    min-width: 0;
}

.what-is__slideshow {
    position: relative;
    overflow: hidden;
    border-radius: clamp(16px, 1.8vw, 28px);
    background-color: #F0EBE3;
    box-shadow: 0 18px 48px rgba(24, 24, 24, 0.1);
    aspect-ratio: 4 / 5;
}

.what-is__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.what-is__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.what-is__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.what-is__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.what-is__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(24, 24, 24, 0.35);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.what-is__dot.is-active,
.what-is__dot:hover,
.what-is__dot:focus-visible {
    background-color: var(--what-is-gold);
    border-color: var(--what-is-gold);
    transform: scale(1.15);
}

.what-is__dot:focus-visible {
    outline: 2px solid var(--what-is-gold);
    outline-offset: 3px;
}

/* Story copy */
.what-is__copy {
    min-width: 0;
    padding-top: clamp(8px, 1.5vw, 28px);
}

.what-is__heading {
    margin: 0 0 clamp(16px, 2vw, 22px);
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--what-is-text);
}

.what-is__heading-line {
    display: block;
}

.what-is__rule {
    display: block;
    width: clamp(48px, 6vw, 72px);
    height: 2px;
    margin: 0 0 clamp(20px, 2.4vw, 28px);
    background-color: var(--what-is-gold);
}

.what-is__intro {
    margin: 0 0 1.1em;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--what-is-text);
}

.what-is__intro:last-of-type {
    margin-bottom: 0;
}

.what-is__promise {
    margin: clamp(24px, 2.8vw, 36px) 0 0;
    padding: clamp(18px, 2vw, 24px) 0 0;
    border-top: 2px solid var(--what-is-gold);
}

.what-is__promise-lead {
    margin: 0 0 10px;
    font-family: var(--font-subheading);
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--what-is-gold);
}

.what-is__promise-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--what-is-text);
}

/* Noor card — client ref design */
.what-is__meaning {
    margin: 0;
    padding: clamp(36px, 4vw, 52px) clamp(22px, 2.5vw, 34px);
    background: var(--what-is-card);
    border-radius: clamp(28px, 3vw, 44px);
    box-shadow: 0 12px 32px rgba(24, 24, 24, 0.06);
    text-align: center;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(280px, 32vw, 420px);
}

.what-is__meaning-icon {
    width: clamp(52px, 5vw, 68px);
    height: clamp(34px, 3.2vw, 44px);
    margin-bottom: clamp(20px, 2.2vw, 28px);
    color: var(--what-is-gold);
}

.what-is__meaning-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.what-is__meaning-lead {
    margin: 0 0 16px;
    font-family: var(--font-subheading);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--what-is-gold);
}

.what-is__meaning-text {
    margin: 0;
    max-width: 240px;
    font-family: var(--font-body);
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #3A3A3A;
}

/* Animations */
.what-is [data-animate] {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.what-is [data-animate='fade-up'] {
    transform: translateY(28px);
}

.what-is.is-visible [data-animate] {
    opacity: 1;
    transform: none;
}

.what-is.is-visible [data-animate-delay='80'] {
    transition-delay: 0.08s;
}

.what-is.is-visible [data-animate-delay='120'] {
    transition-delay: 0.12s;
}

.what-is.is-visible [data-animate-delay='180'] {
    transition-delay: 0.18s;
}

@media (max-width: 1100px) {
    .what-is__section-title {
        white-space: normal;
        font-size: clamp(26px, 4vw, 44px);
    }

    .what-is__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        row-gap: 28px;
    }

    .what-is__meaning {
        grid-column: 1 / -1;
        max-width: 380px;
        width: 100%;
        margin-inline: auto;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .what-is {
        padding: 48px 0 40px;
    }

    .what-is__corner-deco {
        width: clamp(110px, 28vw, 150px);
    }

    .what-is__section-title {
        white-space: normal;
        font-size: clamp(24px, 7vw, 34px);
        margin-bottom: 24px;
    }

    .what-is__grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .what-is__slideshow {
        max-width: 420px;
        margin: 0 auto;
    }

    .what-is__copy {
        padding-top: 0;
    }

    .what-is__heading {
        font-size: clamp(26px, 7.5vw, 36px);
    }

    .what-is__meaning {
        grid-column: 1;
        max-width: 100%;
        border-radius: 32px;
        padding: 36px 28px;
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .what-is [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .what-is__slide {
        transition: none;
    }
}
