/* "Our structured methods" section — layout taken from version 7,
   recoloured to this site's black / white / gold. Everything is scoped to
   #methodsSection so the main stylesheet stays untouched. */

#methodsSection {
    --methods-gold: #d6a544;
    --methods-gold-ink: #8a6a1c;
    padding-block: clamp(64px, 9vw, 128px);
    background: var(--white);
    color: var(--black);
    text-align: left;
}

#methodsSection .kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: var(--methods-gold-ink);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

#methodsSection .kicker::before {
    flex: none;
    width: 34px;
    height: 1px;
    content: "";
    background: currentColor;
}

#methodsSection .title {
    margin: 20px 0 0;
    font-family: var(--serif);
    font-size: clamp(27px, 3.6vw, 46px);
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.05;
    text-transform: uppercase;
}

#methodsSection .title strong {
    display: block;
    margin-top: .06em;
    color: var(--methods-gold);
    font-size: clamp(44px, 6.6vw, 88px);
    letter-spacing: -.035em;
    line-height: .95;
}

/* Photo grid */

#methodsSection .methods {
    display: grid;
    gap: 16px;
    margin-top: clamp(32px, 5vw, 60px);
}

#methodsSection .method {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: var(--soft);
    isolation: isolate;
}

#methodsSection .method img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}

#methodsSection .method figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 72px 22px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .92) 0, rgba(0, 0, 0, .72) 42%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
}

#methodsSection .method h3 {
    margin: 0;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

#methodsSection .method h3::before {
    display: block;
    width: 26px;
    height: 2px;
    margin-bottom: 12px;
    content: "";
    background: var(--methods-gold);
}

#methodsSection .method p {
    max-width: 30em;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .88);
    font-family: var(--serif);
    font-size: 15.5px;
    line-height: 1.45;
}

@media (hover: hover) {
    #methodsSection .method:hover img {
        transform: scale(1.045);
    }
}

/* Link under the grid */

#methodsSection .arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 440px);
    margin-top: clamp(36px, 5vw, 56px);
    padding: 16px 0;
    border-bottom: 1px solid currentColor;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 700;
    transition: color .25s ease;
}

#methodsSection .arrow-link::after {
    content: "→";
    transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}

#methodsSection .arrow-link:hover {
    color: var(--methods-gold-ink);
}

#methodsSection .arrow-link:hover::after {
    transform: translateX(5px);
}

@media (min-width: 640px) {
    #methodsSection .methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #methodsSection .methods {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #methodsSection .method {
        aspect-ratio: 1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #methodsSection .method img,
    #methodsSection .arrow-link::after {
        transition: none;
    }

    #methodsSection .method:hover img {
        transform: none;
    }
}
