/* Elmina Outdoor Sculpture Museum (EOSM) microsite.
   Design: Figma "EOSM", Desktop frame 1512 px wide, Mobile frame 440 px wide. All text is Metropolis.

   Sizing on desktop (>= 992 px):
   - the hero is full width and uses --hu = one design pixel (1512 px artboard), never larger than at 1920 px wide;
   - every later section sits in the standard Bootstrap container and uses --d = one design pixel, where the
     artboard's 1327 px content area is shown at the container's width.
   Below 992 px the layout is the Mobile frame: sizes are fixed pixel values from that design. */

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --orange: #EF4E23;
    --hu: calc(min(100vw, 1920px) / 1512);
    --d: calc(100cqw / 1327);
}

/* The shared menu and footer bring their own fonts; this applies to the page content only. */
main {
    font-family: "Metropolis", Arial, Helvetica, sans-serif;
    color: #000;
}

main p,
main h1,
main h2,
main ul {
    margin: 0;
    padding: 0;
}

main ul {
    list-style: none;
}

.br-lg {
    display: none;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #000;
}

.hero__bg {
    position: absolute;
    inset: 0;
    display: block;
}

.hero__bg .splide__track {
    position: relative;
    z-index: 0;
}

.hero__bg .splide__track,
.hero__bg .splide__list,
.hero__bg .splide__slide {
    height: 100%;
}

.hero__bg .splide__track,
.hero__bg .splide__slide {
    width: 100%;
}

.hero__bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg .splide__pagination {
    bottom: 12px;
    z-index: 3;
    gap: 8px;
    pointer-events: auto;
}

.hero__bg .splide__pagination__page {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #D9D9D9;
    opacity: 1;
    transform: none;
}

.hero__bg .splide__pagination__page.is-active {
    background: #EF4E23;
    transform: none;
}

/* dark fade from the photo into black at the bottom */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 75%, var(--orange));
    pointer-events: none;
}

.hero__content::before {
        content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(black, transparent);
    opacity: 0.4;
    pointer-events: none;
}
.hero__content {
  position: relative;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100vh;
    justify-content: center;
}

.hero__logo {
    display: block;
    width: 96px;
    height: 96px;
        filter: drop-shadow(2px 4px 6px #000000a3);
}

.hero__title {
    margin-top: 51px;
    font-size: clamp(34px, 9.55vw, 42px);
    font-weight: 700;
    line-height: 1;

}

.hero__tagline {
    margin-top: 11.6px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
}

.hero__tagline strong {
    font-weight: 700;
}

.hero__text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    max-inline-size: 67ch;
    margin: auto;
    text-align: center;

}

.hero__text p+p {
    margin-top: 10px;
}

.hero__cta {
    margin-top: 8px;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--orange);
}

/* ============ Arrow icon (a 2 px line with an arrow head) ============ */
.arrow {
    flex: none;
    display: block;
    width: 25px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16'%3E%3Cpath d='M0 8H30M23 1L30 8L23 15' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16'%3E%3Cpath d='M0 8H30M23 1L30 8L23 15' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ============ The beginning of a cultural landmark ============ */
.landmark .container,
.vision .container {
    padding-inline: 16px;
}

.landmark {
    padding-top: 53px;
    padding-bottom: 43px;
}

.landmark__kicker {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--orange);
}

/* Accordion: closed headings are small and black, the open one is large and orange */
.acc {
    margin-top: 22px;
}

.acc__item+.acc__item {
    margin-top: 12px;
}

.acc__btn {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000;
}

.acc__btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.acc__btn .arrow {
    margin-top: 5px;
}

.acc__item.is-open .acc__btn {
    font-size: 23px;
    font-weight: 700;
    color: var(--orange);
}

.acc__item.is-open .acc__btn .arrow {
    margin-top: 8px;
    background-color: var(--orange);
}

/* the panel slides open; while closed it is hidden from keyboard and screen readers */
.acc__panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.35s ease, visibility 0s linear 0.35s;
}

.acc__item.is-open .acc__panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.35s ease, visibility 0s;
}

.acc__clip {
    min-height: 0;
    overflow: hidden;
}

.acc__body {
    padding-bottom: 34px;
}

.acc__item:last-child .acc__body {
    padding-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {

    .acc__panel,
    .acc__item.is-open .acc__panel {
        transition: none;
    }
}

.landmark__row {
    padding-left: 37px;
    padding-right: 4px;
}

.landmark__img {
    display: block;
    width: 220px;
    height: auto;
    margin-top: 24px;
}

.landmark__text {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.landmark__text p+p {
    margin-top: 10px;
}

.landmark__text ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

.landmark__text strong {
    font-weight: 700;
}

/* ============ Our vision ============ */
.vision {
    background: var(--orange);
    color: #fff;
}

.vision .container {
    padding-inline: 30px;
}

.vision__box {
    padding-top: 76px;
    padding-bottom: 72px;
}

.vision__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.vision__text {
    margin-top: 29px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
}

/* ============ Desktop (Desktop frame) ============ */
@media (min-width: 992px) {
    .br-lg {
        display: inline;
    }

    .hero__bg .splide__pagination {
        bottom: calc(20 * var(--hu));
    }

  

    .hero__logo {
        width: calc(96 * var(--hu));
        height: calc(96 * var(--hu));
    }

    .hero__title {
        margin-top: calc(19 * var(--hu));
        font-size: calc(90 * var(--hu));
    }

    .hero__tagline {
        margin-top: calc(14 * var(--hu));
        width: calc(681 * var(--hu));
        font-size: max(14px, calc(20 * var(--hu)));
        margin: auto;
    }

 

    .hero__text p+p {
        margin-top: calc(10 * var(--hu));
    }

    .hero__cta {
        margin-top: calc(14 * var(--hu));
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .landmark .container,
    .vision .container {
        padding-inline: 0;
        container-type: inline-size;
    }

    .landmark {
        padding-top: 0;
        padding-bottom: 0;
    }

    .landmark__box {
        padding-top: calc(95 * var(--d));
        padding-bottom: calc(116 * var(--d));
    }

    .landmark__kicker {
        font-size: max(13px, calc(20 * var(--d)));
    }

    .acc {
        margin-top: calc(30 * var(--d));
    }

    .acc__item+.acc__item {
        margin-top: calc(3.4 * var(--d));
    }

    .acc__btn {
        gap: calc(17 * var(--d));
        font-size: max(20px, calc(36 * var(--d)));
    }

    .acc__btn .arrow {
        margin-top: calc(14 * var(--d));
        width: calc(32 * var(--d));
        height: calc(16 * var(--d));
    }

    .acc__item.is-open .acc__btn {
        font-size: max(26px, calc(44 * var(--d)));
    }

    .acc__item.is-open .acc__btn .arrow {
        margin-top: calc(18 * var(--d));
    }

    .acc__body {
        padding-bottom: calc(43.6 * var(--d));
    }



    .landmark__img {
        width: 100%;
        margin-top: 0;
    }

    .landmark__text {
             margin-top: 1rem;
        font-size: 1rem;
        padding-left: 1rem;

    }

    .landmark__text p+p {
        margin-top: calc(10 * var(--d));
    }

    .landmark__text ul {
        margin-top: calc(10 * var(--d));
        padding-left: calc(28 * var(--d));
    }

    .vision__box {
        display: grid;
        grid-template-columns: calc(329 * var(--d)) 1fr;
        padding-top: calc(90 * var(--d));
        padding-bottom: calc(138 * var(--d));
    }

    .vision__label {
        padding-top: calc(9 * var(--d));
        font-size: max(13px, calc(16 * var(--d)));
    }

    .vision__text {
        margin-top: 0;
        max-width: calc(1002 * var(--d));
        font-size: max(20px, calc(32 * var(--d)));
        line-height: 1.3;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: clamp(34px, 9.55vw, 52px);
                margin-bottom: 1.2rem;
    }

    .hero__tagline {
        max-inline-size: 28ch;
        margin: auto;
        font-size: 3.6vw;
    }
  

    .hero__text {
        font-size: clamp(13px, 3.18vw, 16px);
        
    }

    .hero__cta {
        font-size: 5vw;
    }

    .landmark__kicker {
        font-size: clamp(14px, 3.64vw, 18px);
    }

    .acc__btn {
        font-size: clamp(16px, 4.32vw, 23px);
    }

    .acc__item.is-open .acc__btn {
        font-size: clamp(19px, 5.23vw, 28px);
    }

    .landmark__text {
             font-size: 3.3vw;
        max-width: 31ch;
    }
.landmark__img {
    display: block;
    width: 90%;
    height: 21ch;
    margin-top: 24px;
}
    .vision__label {
        font-size: clamp(14px, 3.64vw, 18px);
    }

    .vision__text {
        font-size: clamp(21px, 5.91vw, 30px);
    }
}