.ovo-projects-section {
    padding: 96px 0;
    background: #fffaf3;
}

.ovo-projects-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto 42px;
}

.ovo-projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #d02e3f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.ovo-projects-eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: '';
}

.ovo-projects-heading h2,
.ovo-project-detail h1 {
    max-width: 760px;
    margin: 0;
    color: #10112d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(44px, 5.2vw, 78px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: .98;
}

.ovo-projects-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 12px 0;
    border-bottom: 1px solid currentColor;
    color: #9a172b;
    font-size: 14px;
    font-weight: 800;
}

.ovo-projects-link span { font-size: 18px; }

.ovo-projects-mosaic,
.ovo-projects-grid {
    display: grid;
    max-width: 960px;
    margin: 0 auto;
    gap: 12px;
}

.ovo-projects-mosaic {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 214px;
}

.ovo-projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ovo-project-card {
    position: relative;
    min-height: 214px;
    overflow: hidden;
    border-radius: 22px;
    isolation: isolate;
    background: #17183a;
    color: #fff;
}

.ovo-projects-mosaic .ovo-project-card { grid-column: span 3; }
.ovo-projects-mosaic .ovo-project-card.is-featured { grid-column: span 6; grid-row: span 2; }
.ovo-projects-grid .ovo-project-card { min-height: 350px; }

.ovo-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.ovo-project-card:hover img,
.ovo-project-card:focus-visible img { transform: scale(1.045); }

.ovo-project-card-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 17, 45, .08) 20%, rgba(16, 17, 45, .92) 100%);
}

.ovo-project-card-content {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 17px;
    left: 18px;
    display: grid;
    gap: 7px;
}

.ovo-project-card-label {
    color: #ffd8dd;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.ovo-project-card strong {
    display: -webkit-box;
    overflow: hidden;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(25px, 2.2vw, 38px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: .98;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ovo-project-card:not(.is-featured) strong { font-size: clamp(23px, 1.7vw, 31px); }

.ovo-project-card-description {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ovo-project-detail { padding: 48px 0 110px; background: #fffaf3; }

.ovo-project-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .45fr);
    gap: clamp(32px, 7vw, 120px);
    align-items: end;
    max-width: 1040px;
    margin: 0 auto 46px;
}

.ovo-project-detail-intro {
    max-width: 680px;
    margin: 25px 0 0;
    color: #4c4c60;
    font-size: 19px;
    line-height: 1.65;
}

.ovo-project-detail-meta { margin: 0; display: grid; gap: 16px; }
.ovo-project-detail-meta div { padding-top: 14px; border-top: 1px solid rgba(16, 17, 45, .18); }
.ovo-project-detail-meta dt { margin-bottom: 4px; color: #9a172b; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ovo-project-detail-meta dd { margin: 0; color: #10112d; font-size: 14px; font-weight: 700; }

.ovo-project-detail-image { max-width: 1040px; height: min(62vw, 620px); margin: 0 auto 58px; overflow: hidden; border-radius: 26px; background: #17183a; }
.ovo-project-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.ovo-project-detail-content { max-width: 740px; margin: 0 auto; color: #343445; font-size: 17px; line-height: 1.8; }
.ovo-project-detail-content h2, .ovo-project-detail-content h3 { margin-top: 1.8em; color: #10112d; font-family: Georgia, 'Times New Roman', serif; }

.ovo-programs-section { padding: 104px 0; background: #fff; }
.ovo-programs-heading { max-width: 920px; margin: 0 auto 38px; }
.ovo-programs-eyebrow { margin: 0 0 16px; color: #d02e3f; font-size: 12px; font-weight: 800; letter-spacing: 0; line-height: 1.2; text-transform: uppercase; }
.ovo-programs-heading h2 { max-width: 800px; margin: 0; color: #10112d; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 5vw, 76px); font-weight: 700; letter-spacing: 0; line-height: .99; }
.ovo-programs-heading > p:last-child { max-width: 640px; margin: 22px 0 0; color: #5b5869; font-size: 17px; line-height: 1.65; }
.ovo-programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; margin: 0 auto; gap: 12px; }
.ovo-program-card { display: flex; min-height: 252px; overflow: hidden; border: 1px solid #e7ded6; border-radius: 18px; background: #fffaf3; color: #10112d; }
.ovo-program-card.has-image { flex-direction: column; }
.ovo-program-card-image { height: 170px; overflow: hidden; background: #17183a; }
.ovo-program-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ovo-program-card:hover .ovo-program-card-image img { transform: scale(1.035); }
.ovo-program-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px; }
.ovo-program-card-number { display: inline-grid; width: 33px; height: 33px; place-items: center; margin-bottom: 23px; border-radius: 50%; background: #10112d; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.ovo-program-card.has-image .ovo-program-card-number { margin-bottom: 17px; background: #9a172b; }
.ovo-program-card h3 { margin: 0; color: #10112d; font-size: 17px; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.ovo-program-card p { margin: 10px 0 0; color: #746b7a; font-size: 13px; line-height: 1.62; }
.ovo-program-card.has-no-image:nth-child(3n + 2) { background: #fff8f8; }
.ovo-program-card.has-no-image:nth-child(3n) { background: #fffdf7; }

@media (max-width: 991px) {
    .ovo-projects-mosaic { grid-auto-rows: 190px; }
    .ovo-projects-mosaic .ovo-project-card.is-featured { grid-column: span 7; }
    .ovo-projects-mosaic .ovo-project-card { grid-column: span 5; }
    .ovo-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .ovo-projects-section { padding: 70px 0; }
    .ovo-projects-heading { display: block; margin-bottom: 30px; }
    .ovo-projects-heading h2 { font-size: clamp(43px, 13vw, 60px); }
    .ovo-projects-link { margin-top: 22px; }
    .ovo-projects-mosaic,
    .ovo-projects-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
    .ovo-projects-mosaic .ovo-project-card,
    .ovo-projects-mosaic .ovo-project-card.is-featured,
    .ovo-projects-grid .ovo-project-card { grid-column: auto; grid-row: auto; min-height: 290px; }
    .ovo-projects-mosaic .ovo-project-card.is-featured { min-height: 440px; }
    .ovo-project-card { border-radius: 18px; }
    .ovo-project-card strong, .ovo-project-card:not(.is-featured) strong { font-size: 31px; }
    .ovo-project-detail { padding: 30px 0 74px; }
    .ovo-project-detail-header { display: block; margin-bottom: 30px; }
    .ovo-project-detail-intro { font-size: 17px; }
    .ovo-project-detail-meta { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ovo-project-detail-image { height: 68vw; margin-bottom: 38px; border-radius: 18px; }
    .ovo-project-detail-content { font-size: 16px; }
    .ovo-programs-section { padding: 74px 0; }
    .ovo-programs-heading { margin-bottom: 28px; }
    .ovo-programs-heading h2 { font-size: clamp(42px, 12vw, 59px); }
    .ovo-programs-grid { grid-template-columns: 1fr; gap: 12px; }
    .ovo-program-card { min-height: 220px; border-radius: 16px; }
    .ovo-program-card-image { height: 210px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ovo-programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
