:root {
    --ink: #0a0d0b;
    --parchment: #0d1410;
    --gold: #d4a94a;
    --gold-light: #e8c97a;
    --gold-pale: #2a2010;
    --dark-green: #0f1d16;
    --mid-green: #162a1e;
    --text: #c8d8cc;
    --muted: #7a9e8a;
    --border: #d4a94a33;
    --card-bg: #111a14;
    --card-border: #d4a94a28;
    --surface: #131c16;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


/* ─── HERO ─── */
.hero {
    position: relative;
    background: linear-gradient(160deg, #050d09 0%, #080f0b 60%, #0a1410 100%);
    color: var(--gold-pale);
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-arch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Animated star/rosette in hero */
.hero-rosette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    opacity: 0.12;
    animation: slowSpin 90s linear infinite;
}

@keyframes slowSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 50px 40px 40px;
    text-align: center;
    background: #0c3d28;
}

.section-label {

    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero h1 {
    color: #fff;
    margin-bottom: 12px;
    animation: fadeUp 0.8s ease forwards 0.4s;
    line-height: 56px;
    font-weight: 600;
    font-size: var(--font-50);
    font-family: 'Cormorant Garamond', serif;
}

.hero-subtitle {

    font-style: italic;
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-divider span {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.hero-divider-gem {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

.hero-intro {
    font-size: 14px;
    color: #8ab0a0;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 1s;
}

/* ─── ORNAMENT BAND ─── */
.ornament-band {
    position: relative;
    z-index: 1;
    background: #0c3d28;
    padding: 0;
    overflow: hidden;
    height: 36px;
}

.ornament-band::before {
    content: '';
    display: block;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='36'%3E%3Cpath d='M40 2 L78 34 M40 2 L2 34 M2 2 L40 34 L78 2' stroke='%23c9922a' stroke-width='1' fill='none' opacity='0.5'/%3E%3Ccircle cx='40' cy='18' r='4' fill='none' stroke='%23c9922a' stroke-width='0.8' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 80px 36px;
    opacity: 0.7;
}

/* ─── MAIN CONTENT ─── */
.content-wrap {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 22px 40px 20px;
    background: #0c3d28;
}

/* ─── INTRO BLOCK ─── */
.intro-block {
    background: #0c3d28;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 2px;
    padding: 12px 56px;
    margin-bottom: 20px;
    box-shadow: 0 4px 40px #00000040, 0 1px 0 #d4a94a22 inset;
    position: relative;
    overflow: hidden;
}

.intro-block::before {
    content: '"';

    font-size: 18rem;
    color: var(--gold);
    opacity: 0.05;
    position: absolute;
    top: -40px;
    left: 20px;
    line-height: 1;
    pointer-events: none;
}

.intro-block p {
    color: #ffffff;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    position: relative;
    line-height: 1.7em;
    font-size: var(--font-14);
}

.intro-block p:last-child {
    margin-bottom: 0;
}

/* ─── INSTITUTION LIST ─── */
.institution-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
    list-style: none;
}

.institution-list li {
    background: #080f0b;
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border: 1px solid #d4a94a44;
    background: rgba(255, 255, 255, 0.05);
}

/* ─── TOPIC PILLS ─── */
.topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
    list-style: none;
}

.topic-pills li {
    border: 1px solid var(--gold);
    color: #a8cabb;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    padding: 6px 18px;
    font-style: italic;
}

/* ─── SECTION HEADING ─── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.section-heading h2 {
    color: var(--gold-light);

    line-height: 56px;
    font-weight: 600;
    font-size: var(--font-50);
    font-family: 'Cormorant Garamond', serif;
}

.section-heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
}

/* ─── ESSAY CARDS ─── */
.essays-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    .essays-grid {
        grid-template-columns: 1fr;
    }

    .intro-block {
        padding: 22px 15px;
    }

    .content-wrap {
        padding: 8px 15px;
    }
}

.essay-card {
    border: 1px solid var(--card-border);
    border-bottom: 3px solid var(--gold);
    padding: 12px 28px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
    background: rgba(255, 255, 255, 0.05);
}

.essay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px #d4a94a18;
}

.essay-card::before {
    content: attr(data-num);

    font-size: 4.5rem;
    color: var(--gold);
    opacity: 0.12;
    position: absolute;
    top: 8px;
    right: 16px;
    line-height: 1;
}

.essay-tag {
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0px;
    display: block;
}

.essay-card h3 {
    font-size: 1.35rem;
    color: #d8eee4;
    margin-bottom: 4px;
    line-height: 1.35;
}

.essay-card p {
    font-size: 0.96rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── COMING SOON BADGE ─── */
.coming-soon-band {
    background: transparent;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

/* ─── CONTRIBUTORS SECTION ─── */
.contributors {
    border: 1px solid #d4a94a22;
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    padding: 26px 56px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    color: #c8ddd4;
    background: rgba(255, 255, 255, 0.05);
}
.contributors::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    height: 220px;
    border: 1px solid var(--gold);
    opacity: 0.12;
    transform: rotate(45deg);
    pointer-events: none;
}

.contributors h2 {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.contributors p {
    color: #fcfffd;
}

.contributors-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 8px 0 32px;
}
.learning-one_image img {
    position: relative;
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
}

@media (max-width: 600px) {
    .contributors-cols {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding: 30px 15px 30px;
    }
}

.contrib-group h4 {

    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    border-bottom: 1px solid #d4a94a33;
    padding-bottom: 8px;
}

.contrib-group ul {
    list-style: none;
}

.contrib-group ul li {
    font-size: 0.97rem;
    color: #becfc7;
    padding: 3px 0;
    /* border-bottom: 1px solid #ffffff08; */
    display: flex;
    align-items: center;
    gap: 10px;
}

.contrib-group ul li::before {
    content: '◆';
    font-size: 7px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-block {
    background: #ffffff08;
    border: 1px solid #d4a94a44;
    padding: 12px 18px;
    display: inline-block;
    margin-top: 8px;
}
.contact-block p {
    font-size: 1rem;
    margin: 0;
    color: #ddeee6;
}

.contact-block a {
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-light);
    transition: color 0.2s;

    font-size: 0.88rem;
    letter-spacing: 1px;
}

.contact-block a:hover {
    color: #fff;
}

/* ─── FOOTER QUOTE ─── */
.footer-quote {
    text-align: center;
    padding: 60px 40px 72px;
    position: relative;
    z-index: 1;
    background: #060d09;
    color: var(--gold-pale);
}

.footer-quote .arabic-text {

    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-quote blockquote {

    font-style: italic;
    font-size: 1.4rem;
    color: #6a8a7a;
    margin-bottom: 12px;
}

.footer-quote cite {
    font-size: 0.88rem;
    letter-spacing: 2px;

    color: var(--gold);
    text-transform: uppercase;
}

.footer-bottom {
    background: #030805;
    color: #3a5a4a;
    text-align: center;
    padding: 20px;

    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-bottom-gem {
    color: var(--gold);
    margin: 0 12px;
}

/* ─── FINAL TAGLINE ─── */
.tagline-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 40px;
    background: #0c3d28;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.intro-block.reveal .learning-one_image {
    margin: 0;
}

.tagline-section p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text);
    position: relative;
    padding-left: 2rem;

}

.tagline-section em {
    color: var(--gold);
    font-style: normal;
}

/* ─── IMAGE MOSAIC ─── */
.image-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 160px;
    gap: 6px;
    margin-bottom: 72px;
    overflow: hidden;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .image-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .essays-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 28px;
        margin-bottom: 80px;
    }

    .essay-card.reveal {
        grid-column: unset !important;
    }

    .contributors {

        padding: 16px 16px;
    }

    .intro-block .row .col-lg-6 {
        padding: 0;
    }

    .intro-block.reveal .learning-one_image {
        margin: 0 0 17px 0;
        border: 5px solid #fff;
        border-radius: 20px;
    }

    .coming-soon-band {
        margin-bottom: 16px;
    }

    .essays-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 50px;
    }

    .tagline-section {
        padding: 30px 15px;
    }

    section.tagline-section p {
        padding: 0;
    }

    .intro-block {
        margin-bottom: 40px;
    }

    .essay-card {
        padding: 30px 15px;
    }

    .section-heading {
        margin-bottom: 15px;
        margin-top: 50px;
    }

    .section-label {
        margin-bottom: 8px;
    }
}

.mosaic-item {
    overflow: hidden;
    position: relative;
}

.mosaic-item.span-col {
    grid-row: span 2;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(40%) brightness(0.65) contrast(1.1) saturate(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.mosaic-item:hover img {
    transform: scale(1.05);
    filter: sepia(15%) brightness(0.85) contrast(1.05);
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0d201888, transparent);
    pointer-events: none;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 1;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}