/*
 * The company's public pages: the home page's sections,
 * about, team, clients, gallery, exhibitions, contact, FAQ, careers and
 * the policies - in the theme of theme.css. Logical properties throughout.
 */

/* ------------------------------------------------------------ sections */

.content-section {
    padding: 72px 0;
}

.content-section--paper {
    background: var(--paper);
}

.content-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.content-head--start {
    margin-inline: 0;
    text-align: start;
}

.content-eyebrow {
    display: inline-block;
    margin-block-end: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[lang="ar"] .content-eyebrow {
    letter-spacing: 0;
}

.content-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.25;
}

.content-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 16px 0 0;
    border-radius: 2px;
    background: var(--brand);
}

/* The rule follows its heading: centred only under a centred section head. */
.content-head:not(.content-head--start) .content-title::after {
    margin-inline: auto;
}

/* A form's own heading, smaller than a section's. */
.content-title--form {
    margin-block-end: 24px;
    font-size: 26px;
}

.content-lead {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.content-prose {
    color: var(--text);
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.content-more {
    margin: 36px 0 0;
    text-align: center;
}

/* ------------------------------------------------------------ hero slider */

.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.hero-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.hero-slider__track::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: clamp(420px, 62vh, 640px);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    background: center / cover no-repeat;
    color: #fff;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 8, 12, .88) 0%, rgba(20, 8, 12, .66) 55%, rgba(20, 8, 12, .3) 100%);
}

html[dir="rtl"] .hero-slide::before {
    background: linear-gradient(270deg, rgba(20, 8, 12, .88) 0%, rgba(20, 8, 12, .66) 55%, rgba(20, 8, 12, .3) 100%);
}

.hero-slide__inner {
    position: relative;
    max-width: 720px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.hero-slide__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
}

.hero-slide__text {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.7;
    opacity: .92;
}

.hero-slider__controls {
    position: absolute;
    inset-inline-end: 24px;
    bottom: 24px;
    display: flex;
    gap: 10px;
}

.hero-slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.hero-slider__button:hover {
    background: var(--brand);
    border-color: var(--brand);
}

/* ------------------------------------------------------------ split */

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Without its picture the words keep a readable measure, not half the page. */
.content-split:not(:has(> .content-split__media)) {
    grid-template-columns: minmax(0, 760px);
}

.content-split__media img {
    display: block;
    width: 100%;
    max-height: 480px;
    border-radius: var(--radius-card);
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.content-split .content-title::after {
    margin-inline: 0;
}

/* A portrait is shown whole, never cropped to the frame. */
.content-split__media--whole img {
    max-height: none;
    object-fit: contain;
    background: #fff;
}

/* The founder's letter: who signs it, in the brand colour. */
.content-signature {
    margin: 18px 0 0;
    color: var(--brand);
}

/* ------------------------------------------------------------ cards */

.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.content-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--paper);
}

.content-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 24px;
}

.content-card__title {
    margin: 0;
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.content-card__title a {
    color: inherit;
}

.content-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.content-card--link {
    position: relative;
}

.content-card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.content-card__meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.content-card__meta .fa {
    margin-inline-end: 6px;
    color: var(--brand);
}

/* A conference card wears its congress's colour. */
.content-card--congress {
    --congress: var(--brand);
    --congress-deep: var(--brand-deep);
    border-top: 6px solid var(--congress);
}

.content-card--congress .fa {
    color: var(--congress-deep);
}

.content-card--congress .content-card__title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
}

/* ------------------------------------------------------------ banner CTA */

.content-cta {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(120deg, var(--brand-deep), var(--brand-bright)) center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.content-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(40, 6, 12, .62);
}

.content-cta__inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.content-cta__title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(26px, 3.6vw, 42px);
    font-weight: 700;
}

.content-cta__text {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.7;
    opacity: .92;
}

.content-cta .btn-style-two {
    border-color: #fff;
}

/* ------------------------------------------------------------ video */

.content-video {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--ink), var(--brand-deep));
    box-shadow: var(--shadow-card);
}

.content-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.content-video__play .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding-inline-start: 6px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 30px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .18);
}

/* ------------------------------------------------------------ people */

.content-people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-person {
    padding: 26px 18px;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.content-person__photo {
    display: block;
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border: 4px solid var(--brand-tint);
    border-radius: 50%;
    object-fit: cover;
}

.content-person__name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
}

.content-person__role {
    margin: 0;
    color: var(--brand);
    font-size: 14px;
    font-weight: 500;
}

.content-person__text {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------------------------------------------ logos */

.content-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 14px;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.content-logos img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(.2);
}

/* ------------------------------------------------------------ why us */

.content-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.content-reason {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.content-reason__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 10px;
    border-radius: 14px;
    background: var(--brand-tint);
    object-fit: contain;
}

.content-reason__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
}

.content-reason__text {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------------------------------------------ testimonials */

.content-quotes {
    display: grid;
    /* A few quotes sit centred at a readable width rather than stretched. */
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 380px));
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-quote {
    position: relative;
    padding: 28px 24px 24px;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.content-quote::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    inset-inline-end: 20px;
    color: var(--brand-tint);
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
}

.content-quote__text {
    position: relative;
    margin: 0 0 18px;
    color: var(--text);
    line-height: 1.8;
}

.content-quote__who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-quote__who img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.content-quote__name {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

.content-quote__role {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.content-stars {
    color: #f0a500;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ------------------------------------------------------------ facts */

/* ------------------------------------------------------------ gallery */

.content-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-gallery a,
.content-gallery video {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.content-gallery img,
.content-gallery video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}

.content-gallery a:hover img {
    transform: scale(1.04);
}

/* ------------------------------------------------------------ FAQ */

.content-faq {
    max-width: 900px;
    margin: 0 auto;
}

.content-faq__group {
    margin-block-end: 40px;
}

.content-faq__group h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.content-faq details {
    margin-block-end: 12px;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.content-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 14px 20px;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.content-faq summary::-webkit-details-marker {
    display: none;
}

.content-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--brand);
    font-size: 24px;
    line-height: 1;
}

.content-faq details[open] summary::after {
    content: "\2212";
}

.content-faq details[open] {
    border-color: var(--brand);
}

.content-faq__answer {
    padding: 0 20px 18px;
}

/* ------------------------------------------------------------ contact */

.content-contact {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
}

.content-contact__info {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 28px;
    list-style: none;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
    color: #fff;
}

.content-contact__info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.content-contact__info strong {
    display: block;
    margin-block-end: 2px;
}

.content-contact__info a {
    color: #fff;
}

.content-map {
    margin-block-start: 36px;
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.content-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* ------------------------------------------------------------ careers */

.content-jobs {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-job {
    padding: 26px;
    border: 1.5px solid var(--line);
    border-inline-start: 5px solid var(--brand);
    border-radius: 20px;
    background: #fff;
}

.content-job h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.content-job dl {
    margin: 0 0 16px;
}

.content-job dt {
    color: var(--ink);
    font-weight: 600;
}

.content-job dd {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.75;
}

.content-job summary {
    display: inline-flex;
}

.content-job details[open] summary {
    margin-block-end: 20px;
}

/* ------------------------------------------------------------ policy */

.content-policy {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 44px);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.content-policy h2 {
    margin: 28px 0 12px;
    font-size: 22px;
}

.content-policy table {
    width: 100%;
    margin: 12px 0 8px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1.5px solid var(--line);
    border-radius: 14px;
}

.content-policy th,
.content-policy td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: start;
}

.content-policy th {
    background: var(--brand-tint);
    color: var(--ink);
}

.content-policy tr:last-child td {
    border-bottom: 0;
}

.content-policy ul {
    padding-inline-start: 22px;
    line-height: 1.85;
}


/* ------------------------------------------------------------ narrow */

@media (max-width: 991.98px) {
    .content-split,
    .content-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .content-section {
        padding: 48px 0;
    }

    .hero-slider__controls {
        inset-inline-end: 16px;
        bottom: 16px;
    }

    .content-policy table,
    .content-policy tbody,
    .content-policy tr,
    .content-policy td {
        display: block;
    }

    .content-policy thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .content-policy tr {
        border-bottom: 1px solid var(--line);
    }

    .content-policy td {
        border: 0;
    }

    .content-policy td:first-child {
        font-weight: 600;
    }
}

/* A service page: the words, then the video, then the way to ask -
   one column on a phone, the ask beside the words from a laptop up. */
.content-service {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    .content-service {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
        align-items: start;
    }

    .content-service__video {
        grid-column: 1;
    }

    .content-service__ask {
        grid-column: 2;
        grid-row: 1 / span 2;
        position: sticky;
        top: calc(var(--site-header) + 24px);
    }
}

.content-service__body h2 {
    margin-block-start: 0;
}

.content-service__video {
    margin: 0;
}

.content-service__video video {
    display: block;
    width: 100%;
    border-radius: var(--radius-card);
    background: #000;
    aspect-ratio: 16 / 9;
}

.content-service__ask {
    padding: 28px;
    border-radius: var(--radius-card);
    background: var(--brand-tint);
    border: 1px solid var(--line);
}

.content-service__ask .content-title {
    font-size: 24px;
    margin-block-end: 10px;
}

/* The public tours: a card's price, a tour's pictures in a
   row that wraps, and the included list as the organisers wrote it. */
.tour-price {
    margin: auto 0 0;
    padding-block-start: 8px;
    color: var(--brand);
    font-weight: 700;
}

.tour-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.tour-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.content-pre {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ conferences by month */

.content-month + .content-month {
    margin-top: 44px;
}

.content-month__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.content-month__title {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
}

.content-month__count {
    flex: 0 0 auto;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.content-more--start {
    text-align: start;
}

.content-cards--spaced {
    margin-block-end: 48px;
}

.content-gallery--after {
    margin-block-start: 40px;
}

/* A long letter beside its writer's portrait: the portrait stays in view. */
.content-split--letter {
    align-items: start;
}

@media (min-width: 992px) {
    .content-split--letter .content-split__media {
        position: sticky;
        top: calc(var(--site-header) + 24px);
    }
}

/* ------------------------------------------------------------ exhibition visit */

.visit-layout {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.visit-points {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.visit-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
}

.visit-points .fa {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 13px;
}

.site-hint {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .visit-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* Projects: a grid of cards, each a cover with its year, the name, the
   organiser and a line; the project page, its facts, figures and gallery. */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.project-grid--small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.project-card { min-width: 0; }
.project-card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: 18px; color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.project-card__link:hover, .project-card__link:focus-visible { box-shadow: 0 16px 36px rgba(0, 0, 0, .10); transform: translateY(-3px); color: inherit; }
.project-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--brand-tint, #fbf1f2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand, #9b1321), var(--brand-deep, #870d18)); color: rgba(255, 255, 255, .85); font-size: 42px; }
.project-card__year { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--brand, #9b1321); font-weight: 700; font-size: .85rem; }
.project-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.project-card__title { font-size: 1.15rem; font-weight: 700; color: #1d1d1f; }
.project-card__organiser { font-size: .9rem; color: var(--brand, #9b1321); font-weight: 600; }
.project-card__summary { color: #555; font-size: .95rem; }
.project-card__more { margin-block-start: auto; padding-block-start: 8px; font-weight: 600; color: var(--brand, #9b1321); }
[dir="rtl"] .project-card__more .fa-arrow-right { transform: scaleX(-1); }

.project__intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.project__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 18px; }
.project__facts div { display: flex; flex-direction: column; }
.project__facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #777; font-weight: 600; }
.project__facts dd { margin: 0; font-weight: 700; color: #1d1d1f; }
.project__heading { margin: 26px 0 12px; font-size: 1.35rem; font-weight: 700; }
.project__intro .project__heading:first-of-type { margin-block-start: 6px; }
.project__responsibilities ul { padding-inline-start: 1.2em; }
.project__responsibilities li { margin-block-end: 6px; }
.project__aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.project__cover { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
.project__figures { margin: 0; padding: 14px 16px; list-style: none; background: var(--brand-tint, #fbf1f2); border-radius: 14px; display: grid; gap: 8px; font-weight: 600; }
.project__figures .fa { color: var(--brand, #9b1321); margin-inline-end: 6px; }
.project__quote { margin: 0; padding: 16px 18px; border-inline-start: 4px solid var(--brand, #9b1321); background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.project__quote p { margin: 0 0 8px; font-style: italic; }
.project__quote footer { font-weight: 700; color: #444; }
.project__ask { justify-self: start; }
.project__video { margin-block-start: 28px; }
.project__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.project__gallery a { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 3 / 2; }
.project__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project__gallery a:hover img { transform: scale(1.04); }
@media (max-width: 991.98px) {
    .project__intro { grid-template-columns: 1fr; }
    .project__aside { position: static; }
}
@media (max-width: 575.98px) { .project__gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* The hero's two ways on, the founder's words and the digital note on the home page. */
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide__secondary { background: transparent !important; border: 2px solid rgba(255, 255, 255, .85); color: #fff !important; }
.hero-slide__secondary:hover { background: rgba(255, 255, 255, .12) !important; }
.home-founder__photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.home-founder__quote { margin: 12px 0 0; padding-inline-start: 18px; border-inline-start: 4px solid var(--brand, #9b1321); }
.home-founder__quote p { font-size: 1.1rem; line-height: 1.8; color: #333; }
.home-founder__quote footer { margin-block-start: 8px; font-weight: 700; color: var(--brand, #9b1321); }
.home-digital__card { display: flex; gap: 22px; align-items: center; padding: 28px 30px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--brand, #9b1321), var(--brand-deep, #870d18)); box-shadow: 0 18px 40px rgba(155, 19, 33, .25); }
.home-digital__card .content-title, .home-digital__card .content-lead { color: #fff; margin: 0; }
.home-digital__card .content-lead { margin-block-start: 8px; opacity: .92; }
.home-digital__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .15); font-size: 28px; }
@media (max-width: 575.98px) { .home-digital__card { flex-direction: column; align-items: flex-start; padding: 22px; } }
