/* =========================================================
   PATRONS PAGE
   ========================================================= */

.patrons-page {
    padding:
        72px 0 96px;

    background:
        linear-gradient(
            180deg,
            #f6f8f7 0,
            #ffffff 460px
        );
}

.patrons-shell {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin:
        0 auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.patrons-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(240px, .65fr);

    gap: 64px;

    align-items: center;

    margin-bottom: 30px;
}

.patrons-hero-copy {
    max-width: 800px;
}

.patrons-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #4d705f;

    font-size: 10px;
    font-weight: 820;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.patrons-hero h1 {
    margin: 0;

    color: #15231c;

    font-size:
        clamp(
            40px,
            5.5vw,
            69px
        );

    font-weight: 760;
    line-height: 1.01;

    letter-spacing: -.06em;
}

.patrons-hero p {
    max-width: 730px;

    margin:
        24px 0 0;

    color: #68766f;

    font-size: 17px;
    line-height: 1.76;
}

.patrons-hero-symbol {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 250px;

    padding:
        28px;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #1d4f3c,
            #112e24
        );

    box-shadow:
        0 30px 62px rgba(21, 54, 42, .17);
}

.patrons-hero-symbol::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 50%;
}

.patrons-symbol-cross {
    position: relative;
    z-index: 1;

    width: 56px;
    height: 82px;

    margin-bottom: 29px;
}

.patrons-symbol-cross::before,
.patrons-symbol-cross::after {
    content: "";

    position: absolute;

    left: 50%;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #c4d8ce
        );

    transform: translateX(-50%);
}

.patrons-symbol-cross::before {
    width: 7px;
    height: 82px;

    border-radius: 5px;
}

.patrons-symbol-cross::after {
    top: 24px;

    width: 56px;
    height: 7px;

    border-radius: 5px;
}

.patrons-hero-symbol > span {
    position: relative;
    z-index: 1;

    color: #b8d0c4;

    font-size: 10px;
    font-weight: 740;

    letter-spacing: .09em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   JUMP NAV
   --------------------------------------------------------- */

.patrons-jump-nav {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    overflow: hidden;

    margin-bottom: 20px;

    border:
        1px solid #dce5e0;

    border-radius: 16px;

    background: #ffffff;
}

.patrons-jump-nav a {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-height: 80px;

    padding:
        17px 19px;

    border-right:
        1px solid #e3e9e6;

    color: #39594c;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color .15s ease,
        color .15s ease;
}

.patrons-jump-nav a:last-child {
    border-right: 0;
}

.patrons-jump-nav a:hover {
    background: #f0f6f3;
    color: #174b38;
}

.patrons-jump-nav span {
    color: #8ba097;

    font-size: 9px;
    font-weight: 820;

    letter-spacing: .10em;
}


/* ---------------------------------------------------------
   PATRON CARDS
   --------------------------------------------------------- */

.patron-card {
    --patron-accent: #477360;
    --patron-soft: #eef5f1;

    margin-top: 18px;

    padding:
        38px 40px 42px;

    border:
        1px solid #dfe7e3;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fafcfb
        );

    box-shadow:
        0 1px 2px rgba(20, 33, 28, .02),
        0 18px 42px rgba(20, 33, 28, .035);

    scroll-margin-top: 122px;
}

.patron-card--paul {
    --patron-accent: #5d6158;
    --patron-soft: #f3f4f1;
}

.patron-card--michael {
    --patron-accent: #3f6172;
    --patron-soft: #eff4f6;
}

.patron-card-header {
    display: grid;
    grid-template-columns:
        58px
        minmax(0, 1fr)
        100px;

    gap: 24px;

    align-items: center;

    margin-bottom: 29px;
    padding-bottom: 28px;

    border-bottom:
        1px solid #e2e9e5;
}

.patron-card-number {
    color: #8b9d94;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .11em;
}

.patron-card-title h2 {
    margin: 0;

    color: #17251e;

    font-size:
        clamp(
            29px,
            3.7vw,
            44px
        );

    font-weight: 745;
    line-height: 1.06;

    letter-spacing: -.045em;
}

.patron-card-lead {
    margin:
        9px 0 0;

    color: #708078;

    font-size: 13px;
    line-height: 1.55;
}

.patron-card-mark {
    position: relative;

    justify-self: end;

    width: 84px;
    height: 84px;

    border:
        1px solid color-mix(
            in srgb,
            var(--patron-accent) 22%,
            #ffffff
        );

    border-radius: 22px;

    background: var(--patron-soft);
}


/* ---------------------------------------------------------
   SIMPLE ICONS
   --------------------------------------------------------- */

.patron-card-mark--keys span {
    position: absolute;

    width: 34px;
    height: 34px;

    border:
        4px solid var(--patron-accent);

    border-radius: 50%;
}

.patron-card-mark--keys span::after {
    content: "";

    position: absolute;

    width: 31px;
    height: 4px;

    border-radius: 4px;

    background: var(--patron-accent);
}

.patron-card-mark--keys span:first-child {
    top: 15px;
    left: 13px;

    transform: rotate(42deg);
}

.patron-card-mark--keys span:first-child::after {
    top: 25px;
    left: 20px;
}

.patron-card-mark--keys span:last-child {
    right: 13px;
    bottom: 15px;

    transform: rotate(-42deg);
}

.patron-card-mark--keys span:last-child::after {
    top: 25px;
    right: 20px;
}

.patron-card-mark--book span {
    position: absolute;

    top: 19px;
    right: 19px;
    bottom: 19px;
    left: 19px;

    border:
        3px solid var(--patron-accent);

    border-radius:
        4px 8px 8px 4px;
}

.patron-card-mark--book span::after {
    content: "";

    position: absolute;

    top: 7px;
    bottom: 7px;
    left: 8px;

    width: 2px;

    background: var(--patron-accent);
}

.patron-card-mark--shield span {
    position: absolute;

    top: 16px;
    left: 19px;

    width: 46px;
    height: 52px;

    border:
        3px solid var(--patron-accent);

    border-radius:
        22px 22px 28px 28px;

    clip-path:
        polygon(
            50% 0,
            100% 18%,
            92% 70%,
            50% 100%,
            8% 70%,
            0 18%
        );
}

.patron-card-mark--shield span::before,
.patron-card-mark--shield span::after {
    content: "";

    position: absolute;

    background: var(--patron-accent);
}

.patron-card-mark--shield span::before {
    top: 12px;
    bottom: 10px;
    left: 50%;

    width: 3px;

    transform: translateX(-50%);
}

.patron-card-mark--shield span::after {
    top: 23px;
    left: 11px;

    width: 24px;
    height: 3px;
}


/* ---------------------------------------------------------
   FACTS
   --------------------------------------------------------- */

.patron-facts {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1px;

    overflow: hidden;

    max-width: 950px;

    margin-bottom: 29px;

    border:
        1px solid #dfe7e3;

    border-radius: 14px;

    background: #dfe7e3;
}

.patron-facts > div {
    padding:
        17px 18px;

    background: #f9fbfa;
}

.patron-facts small,
.patron-facts strong {
    display: block;
}

.patron-facts small {
    margin-bottom: 5px;

    color: #7c8d85;

    font-size: 9px;
    font-weight: 790;

    letter-spacing: .07em;
    text-transform: uppercase;
}

.patron-facts strong {
    color: var(--patron-accent);

    font-size: 13px;
    font-weight: 730;
}


/* ---------------------------------------------------------
   PROSE / HIGHLIGHTS
   --------------------------------------------------------- */

.patron-prose {
    max-width: 930px;
}

.patron-prose > p {
    margin:
        0 0 20px;

    color: #5d6e66;

    font-size: 15px;
    line-height: 1.86;
}

.patron-highlight {
    margin:
        27px 0;

    padding:
        21px 23px;

    border-left:
        4px solid var(--patron-accent);

    border-radius:
        0 14px 14px 0;

    background: var(--patron-soft);
}

.patron-highlight p {
    margin: 0;

    color: #4f6359;

    font-size: 14px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   COMMON FEAST
   --------------------------------------------------------- */

.patron-common-feast {
    display: grid;
    grid-template-columns:
        100px
        minmax(0, 1fr);

    gap: 25px;

    align-items: center;

    margin:
        29px 0 4px;

    padding:
        25px 27px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #26372f,
            #3b5146
        );

    color: #ffffff;
}

.patron-common-feast-mark {
    display: grid;
    place-items: center;

    min-height: 82px;

    border:
        1px solid rgba(255, 255, 255, .15);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .07);
}

.patron-common-feast-mark span {
    color: #ffffff;

    font-size: 19px;
    font-weight: 760;
}

.patron-common-feast
.patrons-eyebrow {
    color: #aac2b6;
}

.patron-common-feast h3 {
    margin: 0;

    font-size: 21px;
    font-weight: 710;

    letter-spacing: -.025em;
}

.patron-common-feast p {
    margin:
        8px 0 0;

    color: #d4ded9;

    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   MICHAEL
   --------------------------------------------------------- */

.patron-michael-meaning {
    max-width: 950px;

    margin-bottom: 28px;

    padding:
        25px 27px;

    border:
        1px solid #d9e3e8;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #f0f5f7,
            #f9fbfc
        );
}

.patron-michael-meaning strong {
    display: block;

    color: #35596b;

    font-size:
        clamp(
            28px,
            3vw,
            40px
        );

    font-weight: 730;

    letter-spacing: -.04em;
}

.patron-quote {
    position: relative;

    margin:
        28px 0;

    padding:
        28px 31px;

    border:
        1px solid #dae4e8;

    border-radius: 17px;

    background: #f6f9fa;
}

.patron-quote-mark {
    position: absolute;

    top: 6px;
    right: 19px;

    color: #d9e4e8;

    font-family: Georgia, serif;
    font-size: 76px;
    line-height: 1;
}

.patron-quote p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #50646f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;
    line-height: 1.8;
}

.patron-michael-role {
    display: grid;
    grid-template-columns:
        78px
        minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    margin-top: 27px;

    padding:
        24px 26px;

    border:
        1px solid #dbe4e8;

    border-radius: 17px;

    background: #f7fafb;
}

.patron-michael-role-symbol {
    position: relative;

    width: 70px;
    height: 70px;

    border:
        1px solid #d6e1e5;

    border-radius: 50%;

    background: #ffffff;
}

.patron-michael-role-symbol span::before,
.patron-michael-role-symbol span::after {
    content: "";

    position: absolute;

    left: 50%;

    background: #577684;

    transform: translateX(-50%);
}

.patron-michael-role-symbol span::before {
    top: 15px;

    width: 4px;
    height: 40px;

    border-radius: 4px;
}

.patron-michael-role-symbol span::after {
    top: 27px;

    width: 30px;
    height: 4px;

    border-radius: 4px;
}

.patron-michael-role h3 {
    margin: 0;

    color: #385664;

    font-size: 20px;
    font-weight: 720;

    letter-spacing: -.025em;
}

.patron-michael-role p {
    margin:
        8px 0 0;

    color: #64747c;

    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.patrons-footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 22px;

    padding:
        33px 35px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #173e31,
            #255e49
        );

    color: #ffffff;

    box-shadow:
        0 24px 52px rgba(23, 61, 49, .15);
}

.patrons-footer-card
.patrons-eyebrow {
    color: #9fc3b4;
}

.patrons-footer-card h2 {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            24px,
            3vw,
            34px
        );

    font-weight: 720;

    letter-spacing: -.035em;
}

.patrons-footer-card p {
    max-width: 650px;

    margin:
        10px 0 0;

    color: #d3e0da;

    font-size: 14px;
    line-height: 1.7;
}

.patrons-footer-actions {
    display: flex;

    gap: 9px;

    flex: 0 0 auto;
}

.patrons-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 47px;

    padding:
        10px 16px;

    border:
        1px solid rgba(255, 255, 255, .18);

    border-radius: 11px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 720;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color .15s ease,
        transform .15s ease;
}

.patrons-button:hover {
    background:
        rgba(255, 255, 255, .08);

    transform: translateY(-1px);
}

.patrons-button--primary {
    background:
        rgba(255, 255, 255, .12);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {

    .patrons-hero {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .patrons-hero-symbol {
        min-height: 185px;
    }

    .patron-facts {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .patrons-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 680px) {

    .patrons-page {
        padding:
            48px 0 72px;
    }

    .patrons-shell {
        width:
            calc(100% - 28px);
    }

    .patrons-hero h1 {
        font-size:
            clamp(
                38px,
                12vw,
                50px
            );
    }

    .patrons-jump-nav {
        grid-template-columns: 1fr;
    }

    .patrons-jump-nav a {
        border-right: 0;
        border-bottom:
            1px solid #e3e9e6;
    }

    .patrons-jump-nav a:last-child {
        border-bottom: 0;
    }

    .patron-card {
        padding:
            25px 20px 29px;
    }

    .patron-card-header {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 15px;
    }

    .patron-card-mark {
        grid-column: 1 / -1;

        justify-self: start;

        width: 70px;
        height: 70px;
    }

    .patron-facts {
        grid-template-columns: 1fr;
    }

    .patron-common-feast {
        grid-template-columns: 1fr;
    }

    .patron-michael-role {
        grid-template-columns: 1fr;
    }

    .patrons-footer-card {
        padding:
            27px 22px;
    }

    .patrons-footer-actions {
        flex-direction: column;

        width: 100%;
    }

    .patrons-button {
        width: 100%;
    }

}


/* PATRONI — OBRAZY START */

.patron-card-header {
    grid-template-columns:
        58px
        minmax(0, 1fr)
        180px;
}

.patron-card-image {
    justify-self: end;

    width: 174px;
    height: 210px;

    margin: 0;

    overflow: hidden;

    border:
        1px solid #d9e3de;

    border-radius: 20px;

    background: #eef3f0;

    box-shadow:
        0 12px 30px rgba(24, 49, 38, .10);
}

.patron-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;
}

.patron-card--paul
.patron-card-image img {
    object-position: center 14%;
}

.patron-card--michael
.patron-card-image img {
    object-position: center 16%;
}

/* stare symbole są całkowicie wyłączone */
.patron-card-mark,
.patron-card-mark--keys,
.patron-card-mark--book,
.patron-card-mark--shield {
    display: none !important;
}

@media (max-width: 680px) {

    .patron-card-header {
        grid-template-columns:
            42px
            minmax(0, 1fr);
    }

    .patron-card-image {
        grid-column: 1 / -1;

        justify-self: start;

        width: 150px;
        height: 185px;

        margin-top: 7px;
    }

}

/* PATRONI — OBRAZY END */
