/* DELF Foundation – About page. Extends css/home.css (load it first). */

/* Page hero: same split as the homepage, a little shorter */
.dl .hero--page { min-height: clamp(420px, 62vh, 560px); }
.dl .hero--page .hero__copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }

/* Who we are */
.dl .pull { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; letter-spacing: -.008em; color: var(--navy); margin: 0 0 22px; padding-left: 22px; border-left: 6px solid var(--marigold); max-width: 22em; }
.dl .facts { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule); max-width: none; }
.dl .facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.dl .facts dt { font-weight: 700; color: var(--navy); margin: 0; }
.dl .facts dd { margin: 0; max-width: none; }

/* Vision and mission */
.dl .vm { border-top: 4px solid var(--navy); padding-top: 22px; height: 100%; }
.dl .vm h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; color: var(--navy); margin: 0 0 12px; }
.dl .vm p { font-size: 1.12rem; line-height: 1.7; max-width: 46ch; margin: 0; }

/* Values and programs */
.dl .tiles { display: grid; grid-template-columns: 1fr; gap: 40px 48px; margin-top: 44px; }
@media (min-width: 768px) { .dl .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .dl .tiles { grid-template-columns: repeat(3, 1fr); } }
.dl .tile { max-width: none; border-top: 1px solid var(--rule); padding-top: 24px; }
.dl .band--fog .tile { border-top-color: #b9c3d1; }
.dl .tile__icon { display: block; font-size: 28px; line-height: 1; color: var(--navy); margin-bottom: 14px; }
.dl .tile p { margin: 0 0 14px; max-width: 42ch; }
.dl .tile .more { display: inline-block; }

/* Results */
.dl .results { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
@media (min-width: 992px) { .dl .results { grid-template-columns: repeat(4, 1fr); } }
.dl .result { border-top: 4px solid var(--marigold); padding-top: 18px; }
.dl .result__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; margin-bottom: 10px; }
.dl .result__label { display: block; color: rgba(255,255,255,.84); font-size: 15.5px; line-height: 1.5; max-width: 20ch; }
.dl .results-note { margin: 40px 0 0; font-size: 14px; color: rgba(255,255,255,.72); }
.dl .results-note a { color: #fff; }
.dl .results-note a:hover { color: var(--marigold); }

/* Stories */
.dl .quote-card { display: flex; flex-direction: column; height: 100%; max-width: none; }
.dl .quote-card .photo { margin-bottom: 24px; }
.dl .quote-card .photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; background: var(--white); }
.dl .quote-card blockquote { margin: 0 0 20px; flex: 1; }
.dl .quote-card blockquote p { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.55; color: var(--navy); margin: 0; text-wrap: pretty; }
.dl .quote-by { margin: 0; padding-top: 16px; border-top: 1px solid #b9c3d1; font-size: 15px; line-height: 1.45; }
.dl .quote-by strong { display: block; color: var(--navy); }
.dl .quote-by span { color: var(--green); font-weight: 600; }

/* Partner logos on this page are a little larger */
.dl .partners--lg { margin-top: 40px; }
.dl .partners--lg img { height: 52px; }

/* Refined closing call to action: light, elegant and visually connected to the footer */
.dl .cta--about {
    position: relative;
    overflow: hidden;
    padding-block: clamp(60px, 7vw, 88px);
    background: #fbfcfe;
    color: var(--navy);
    border-top: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
    isolation: isolate;
}
.dl .cta--about::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(38vw, 500px);
    aspect-ratio: 1;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(15,37,71,.07);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(15,37,71,.025), 0 0 0 76px rgba(15,37,71,.018);
    pointer-events: none;
}
.dl .cta--about .container { position: relative; z-index: 1; }  
.dl .cta--about .cta__eyebrow {
    margin: 0 0 14px; color: #9a681b; font-size: .78rem;
    font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
}
.dl .cta--about h2 {
    max-width: 18ch; margin: 0 0 18px; color: var(--navy); font-family: var(--serif);
    font-size: clamp(2.15rem, 4.5vw, 3.65rem); font-weight: 600;
    line-height: 1.1; letter-spacing: -.025em;
}
.dl .cta--about > .container > p:not(.cta__eyebrow) {
    max-width: 64ch; margin: 0; color: #4d5b6d;
    font-size: 1.06rem; line-height: 1.8;
}
.dl .cta--about .cta__actions {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 16px 26px; margin-top: 28px;
}
.dl .cta--about .btn-solid {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: 13px 22px; border: 1px solid var(--navy); border-radius: 4px;
    background: var(--navy); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 5px 14px rgba(15,37,71,.10);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.dl .cta--about .btn-solid:hover {
    transform: translateY(-2px); background: #1b3a66; color: #fff;
    box-shadow: 0 8px 20px rgba(15,37,71,.15);
}
.dl .cta--about .cta__text-link {
    display: inline-flex; align-items: center; gap: 9px; color: var(--navy);
    font-weight: 700; text-decoration: none;
}
.dl .cta--about .cta__text-link:hover { color: #94621a; }
.dl .cta--about .cta__text-link i { transition: transform .2s ease; }
.dl .cta--about .cta__text-link:hover i { transform: translateX(4px); }
@media (max-width: 575.98px) {
    .dl .cta--about { padding-block: 52px; }
    .dl .cta--about::before { width: 78vw; right: -38%; opacity: .7; }
    .dl .cta--about .cta__actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .dl .cta--about .btn-solid, .dl .cta--about .cta__text-link i { transition: none; }
}


/* Impact principles replace figures that need a current, published source */
.dl .impact-principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .dl .impact-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
.dl .impact-principles article { border-top: 2px solid var(--marigold); padding-top: 18px; }
.dl .impact-principles h3 {
    margin: 0 0 10px; color: #fff; font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25;
}
.dl .impact-principles p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 36ch; }


/* Expanded partners grid and editable placeholder logos */
.dl .partners--expanded {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-top: 38px;
    padding: 0;
    border-top: 0;   /* the base .partners rule adds a divider line that touched the cards */
    list-style: none;
}
.dl .partners--expanded > li {
    min-width: 0;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 14px;
    border: 1px solid #e7ebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 37, 71, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dl .partners--expanded > li:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(15, 37, 71, .07);
}
.dl .partners--expanded > li > a {
    width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center;
}
.dl .partners--expanded img {
    display: block; width: auto; max-width: 100%; max-height: 58px;
    height: auto; object-fit: contain;
}
.dl .partners--expanded .partner-placeholder img { width: 100%; max-width: 190px; max-height: 62px; }
.dl .partners--expanded .partner-placeholder span {
    color: #6b7788; font-size: .75rem; font-weight: 700; letter-spacing: .09em;
    line-height: 1.35; text-align: center; text-transform: uppercase;
}
.dl .partners-edit-note {
    margin: 20px 0 0; color: #748094; font-size: .86rem; line-height: 1.6;
}
@media (min-width: 576px) {
    .dl .partners--expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 992px) {
    .dl .partners--expanded { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .dl .partners--expanded > li { min-height: 132px; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .dl .partners--expanded > li { transition: none; }
}

