/* ── Quote ───────────────────────────────────────────────────
   Figma: desktop 1397:12314, mobile 1397:12029.
   ─────────────────────────────────────────────────────────── */

.quote {
    padding: 80px var(--pad-x);
    background: var(--color-beamwood);
    color: var(--color-canvas);
    text-align: center;
}

.quote__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.quote__intro {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    line-height: 1.2;
}

.quote__text {
    position: relative;
    font-family: var(--font-heading);
    font-size: 96px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -1.92px;
    margin: -13px 0 -12px; /* Figma sets the two lines in a 177px box */
}

/* The big quote marks, top left and bottom right */
.quote__text::before,
.quote__text::after {
    position: absolute;
    font-size: 160px;
    line-height: 1;
    color: var(--color-candle-wax);
}

.quote__text::before {
    content: "“";
    top: -0.45em;
    left: -0.4em;
}

.quote__text::after {
    content: "”";
    right: -0.35em;
    bottom: -0.6em;
}

.quote__cite {
    display: flex;
    gap: 22px;
    padding-top: 16px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 4.48px;
    text-transform: uppercase;
}

.quote__cite cite {
    font-style: normal;
}

.quote__dot {
    color: var(--color-candle-wax);
}


/* Tablet and mobile — 1024px and below */
@media (max-width: 1024px) {
    .quote {
        padding: var(--section-y) var(--pad-x);
    }

    .quote__inner {
        gap: 32px;
    }

    .quote__text {
        margin: 0;
        padding: 0 8px;
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -0.32px;
    }

    .quote__text::before,
    .quote__text::after {
        font-size: 64px;
    }

    .quote__text::before {
        top: -0.3em;
        left: -0.1em;
    }

    .quote__text::after {
        right: -0.1em;
        bottom: -0.7em;
    }

    .quote__cite {
        flex-direction: column;
        gap: 12px;
        padding-top: 0;
    }

    .quote__dot {
        display: none;
    }
}
