/* ═══════════════════════════════════════════════════════════════
 *  DAMIRICA FOUNDER'S NOTE — EDITORIAL LAYOUT
 *  Design System: Canvas-Cream #F5F2EA | Surface-White #FFFFFF
 *  Brand-Gold #D4AF37 | Ink-Charcoal #1A1A1A
 * ═══════════════════════════════════════════════════════════════ */

.damirica-founders-note {
    position: relative;
    width: 100%;
    background-color: #F5F2EA;
}

.damirica-founders-note__container {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}

.damirica-founders-note__card {
    background-color: #FFFFFF;
    border-radius: 32px;
    padding: 80px;
    box-shadow: 0px 10px 40px rgba(26, 26, 26, 0.06);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.damirica-founders-note__layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* ── Visual Column ── */
.damirica-founders-note__visual {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

[dir='rtl'] .damirica-founders-note__visual,
body.rtl .damirica-founders-note__visual,
body.translated-rtl .damirica-founders-note__visual {
    text-align: center;
}

.damirica-founders-note__image-frame {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    filter: sepia(0.1) contrast(1.05);
    background-color: #F5F2EA;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.damirica-founders-note__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.damirica-founders-note__founder-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.damirica-founders-note__name-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
}

.damirica-founders-note__name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
}

.damirica-founders-note__degree {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: italic;
    color: #6b6158;
}

.damirica-founders-note__title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D4AF37;
    font-weight: 600;
}

/* ── Letter Column ── */
.damirica-founders-note__letter {
    position: relative;
    padding-top: 64px;
}

.damirica-founders-note__quotemark {
    position: absolute;
    top: -20px;
    left: -40px;
    font-family: 'Playfair Display', serif;
    font-size: 240px;
    line-height: 1;
    color: rgba(212, 175, 55, 0.08);
    pointer-events: none;
    z-index: 0;
}

[dir='rtl'] .damirica-founders-note__quotemark,
body.rtl .damirica-founders-note__quotemark,
body.translated-rtl .damirica-founders-note__quotemark {
    left: auto;
    right: -40px;
    transform: scaleX(-1);
}

.damirica-founders-note__eyebrow {
    position: relative;
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 48px;
    z-index: 1;
}

.damirica-founders-note__greeting {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-style: italic;
    color: #1A1A1A;
    margin-bottom: 40px;
    z-index: 1;
}

.damirica-founders-note__message {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 18px; /* Slightly refined for editorial elegance, closer to 16px base */
    line-height: 1.8;
    color: #1A1A1A;
    margin-bottom: 64px;
    z-index: 1;
}

.damirica-founders-note__message p {
    margin-bottom: 24px;
}

.damirica-founders-note__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

[dir='rtl'] .damirica-founders-note__footer,
body.rtl .damirica-founders-note__footer,
body.translated-rtl .damirica-founders-note__footer {
    flex-direction: row-reverse;
}

.damirica-founders-note__closing {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: #6b6158;
    margin-bottom: 24px;
}

.damirica-founders-note__signature {
    max-width: 200px;
    height: auto;
    filter: brightness(0.9);
    opacity: 0.9;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .damirica-founders-note__card {
        padding: 64px 40px;
    }

    .damirica-founders-note__layout {
        flex-direction: column;
        gap: 48px;
        align-items: center;
    }
    
    .damirica-founders-note__visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }

    .damirica-founders-note__image-frame {
        margin: 0 auto;
    }
    
    .damirica-founders-note__quotemark {
        font-size: 180px;
        left: -20px;
    }

    [dir='rtl'] .damirica-founders-note__quotemark,
    body.rtl .damirica-founders-note__quotemark,
    body.translated-rtl .damirica-founders-note__quotemark {
        left: auto;
        right: -20px;
    }
}

@media (max-width: 768px) {
    .damirica-founders-note {
        padding: 64px 16px !important; /* Force reduction of section padding */
    }

    .damirica-founders-note__card {
        padding: 40px 24px;
        border-radius: 24px;
        width: 100%;
    }

    .damirica-founders-note__layout {
        gap: 32px;
    }

    .damirica-founders-note__image-frame {
        width: 180px;
        height: 180px;
    }

    .damirica-founders-note__name-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .damirica-founders-note__letter {
        padding-top: 40px;
    }

    .damirica-founders-note__quotemark {
        font-size: 120px;
        top: -10px;
        left: -10px;
    }

    .damirica-founders-note__greeting {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .damirica-founders-note__message {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .damirica-founders-note__footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
}
