:root {
    --br-wine: #7e1b1d;
    --br-ink: #211a17;
    --br-paper: #fbf7f1;
    --br-cream: #f5eee5;
    --br-line: #dfd2c4
}

.brands-page {
    background: var(--br-paper);
    color: var(--br-ink)
}

.brands-page .site-header {
    background: rgba(255, 252, 248, .96);
    backdrop-filter: blur(10px)
}

.brands-page .site-header.is-scrolled {
    background: rgba(255, 252, 248, .97)
}

.brands-hero {
    height: 650px;
    position: relative;
    overflow: hidden;
    background: #f8f2eb;
    padding-top: 96px
}

.brands-hero-image {
    position: absolute;
    inset: 0;
    background: url('../img/hero-brand.png') center right/cover no-repeat
}

.brands-hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fbf7f1 0%, rgba(251, 247, 241, .98) 29%, rgba(251, 247, 241, .84) 40%, rgba(251, 247, 241, .22) 58%, rgba(251, 247, 241, 0) 72%)
}

.brands-hero-inner {
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center
}

.brands-hero-copy {
    width: 49%;
    padding-bottom: 20px
}

.brands-kicker {
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--br-wine);
    font-size: 13px;
    font-weight: 700
}

.brands-hero h1 {
    font-family: 'HS Museo Bg', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(50px, 4.1vw, 70px);
    line-height: .98;
    letter-spacing: -.035em;
    margin: 0 0 28px;
    color: var(--br-wine)
}

.brands-hero h1 span {
    color: var(--br-ink)
}

.brands-lead {
    font-size: 18px;
    line-height: 1.55;
    max-width: 610px;
    margin: 0 0 32px;
    color: #3f3833
}

.brands-values {
    display: flex;
    align-items: center;
    gap: 18px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--br-wine)
}

.brands-values:before {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    background: var(--br-wine);
    opacity: .45
}

.brands-values i {
    width: 4px;
    height: 4px;
    background: var(--br-wine);
    border-radius: 50%;
    opacity: .6
}

.brands-cards-section {
    padding: 18px 0 0;
    background: var(--br-paper)
}

.brands-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.brand-card {
    min-width: 0;
    border: 1px solid #e2d7cb;
    border-radius: 4px;
    overflow: hidden;
    background: #fbf7f2;
    display: flex;
    flex-direction: column
}

.brand-card-top {
    padding: 30px 28px 22px;
    min-height: 335px;
    display: flex;
    flex-direction: column
}

.brand-card-logo-box {
    width: 100%;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    overflow: hidden;
    background: transparent
}

.brand-card-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 230px;
    max-height: 96px;
    object-fit: contain;
    object-position: center;
    margin: 0
}

.brand-card-tag {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--br-wine);
    margin: 0 0 23px
}

.brand-card-top>p:not(.brand-card-tag) {
    font-size: 15px;
    line-height: 1.55;
    color: #4a423c;
    margin: 0 0 20px
}

.brand-card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--br-wine);
    color: var(--br-wine);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    width: max-content;
    max-width: 100%
}

.brand-card-btn:hover {
    background: var(--br-wine);
    color: white
}

.brand-card-photo {
    height: 245px;
    background-size: cover;
    background-position: center
}

.brand-card-photo--via {
    background-image: url('../img/products/pic-1.webp');
    background-position: center 45%
}

.brand-card-photo--polovin {
    background-image: url('../img/products/pic-6.webp');
    background-position: center
}

.brand-responsibility {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 420px;
    margin-top: 20px;
    background: #f6eee5
}

.brand-responsibility-image {
    background: url('../img/about.webp') center/cover no-repeat;
    min-height: 420px
}

.brand-responsibility-copy {
    padding: 52px 58px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.brand-responsibility h2 {
    font-family: 'HS Museo Bg', Arial, sans-serif;
    font-size: 44px;
    line-height: 1.06;
    font-weight: 400;
    margin: 0 0 20px;
    color: #28201c
}

.brand-responsibility-copy>p:not(.brands-kicker) {
    font-size: 16px;
    line-height: 1.55;
    color: #554a43;
    max-width: 650px;
    margin: 0 0 32px
}

.responsibility-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid #dccfc1;
    padding-top: 22px
}

.responsibility-points>div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 10px;
    border-right: 1px solid #dfd1c4
}

.responsibility-points>div:last-child {
    border-right: 0
}

.resp-icon {
    font-size: 30px;
    color: var(--br-wine);
    line-height: 1
}

.responsibility-points strong {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600
}

.brands-cta {
    position: relative;
    min-height: 170px;
    background: linear-gradient(135deg, #651718, #8b2422);
    color: white;
    display: flex;
    align-items: center
}

.brands-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.brands-cta p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em;
    margin: 0 0 8px
}

.brands-cta h2 {
    font-family: 'HS Museo Bg', Arial, sans-serif;
    font-size: 45px;
    line-height: 1;
    margin: 0;
    font-weight: 400
}

.brands-cta-btn {
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    padding: 13px 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.brands-cta-btn span {
    margin-left: 18px
}

.brands-cta-btn:hover {
    background: white;
    color: #551818
}

.brands-footer {
    background: linear-gradient(180deg, #751d1f, #491112);
    color: white;
    padding: 38px 0 18px
}

.brands-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, .8fr) 1.25fr;
    gap: 32px;
    align-items: start
}

.brands-footer-logo {
    width: 138px;
    filter: brightness(0) invert(1);
    opacity: .95
}

.brands-footer h4 {
    font-size: 12px;
    margin: 0 0 13px
}

.brands-footer a {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    margin: 0 0 6px
}

.brands-footer-newsletter h4 {
    margin-bottom: 10px
}

.newsletter {
    display: flex;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 6px;
    overflow: hidden
}

.newsletter input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: white;
    padding: 10px 12px;
    outline: 0
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, .7)
}

.newsletter button {
    width: 42px;
    border: 0;
    background: white;
    color: #771b1e;
    font-size: 20px
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.social-row span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    display: grid;
    place-items: center;
    font-size: 11px
}

.brands-footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 10px;
    color: rgba(255, 255, 255, .55)
}

@media(max-width:1100px) {
    .brands-hero {
        height: 610px
    }

    .brands-hero-copy {
        width: 55%
    }

    .brands-hero-fade {
        background: linear-gradient(90deg, #fbf7f1 0%, rgba(251, 247, 241, .97) 35%, rgba(251, 247, 241, .55) 58%, transparent 78%)
    }

    .brands-footer-grid {
        grid-template-columns: 1.2fr repeat(2, 1fr)
    }

    .brands-footer-newsletter {
        grid-column: span 2
    }

    .brands-cards {
        gap: 12px
    }

    .brand-card-top {
        padding: 26px 22px
    }
}

@media(max-width:900px) {
    .brands-hero {
        height: auto;
        min-height: 640px;
        padding-top: 76px
    }

    .brands-hero-image {
        inset: 76px 0 0;
        background-position: 64% center
    }

    .brands-hero-fade {
        background: linear-gradient(90deg, rgba(251, 247, 241, .98) 0%, rgba(251, 247, 241, .95) 48%, rgba(251, 247, 241, .52) 72%, rgba(251, 247, 241, .12) 100%)
    }

    .brands-hero-inner {
        min-height: 564px
    }

    .brands-hero-copy {
        width: 70%;
        padding: 48px 0
    }

    .brands-cards {
        grid-template-columns: 1fr
    }

    .brand-card {
        display: grid;
        grid-template-columns: 1.1fr .9fr
    }

    .brand-card-top {
        min-height: 0
    }

    .brand-card-photo {
        height: auto;
        min-height: 330px
    }

    .brand-responsibility {
        grid-template-columns: 1fr
    }

    .brand-responsibility-image {
        min-height: 360px
    }

    .brand-responsibility-copy {
        padding: 42px 30px
    }

    .brands-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 0
    }

    .brands-cta {
        min-height: 220px
    }

    .brands-footer-grid {
        grid-template-columns: 1fr 1fr 1fr
    }

    .brands-footer-newsletter {
        grid-column: auto
    }
}

@media(max-width:600px) {
    .brand-card-logo-box {
        height: 96px
    }

    .brand-card-logo {
        max-width: 200px;
        max-height: 82px
    }

    .brands-hero {
        min-height: 620px
    }

    .brands-hero-copy {
        width: 90%;
        padding: 40px 0
    }

    .brands-hero h1 {
        font-size: 44px
    }

    .brands-lead {
        font-size: 15px
    }

    .brands-values {
        gap: 10px;
        font-size: 10px;
        letter-spacing: .1em
    }

    .brands-values:before {
        width: 22px
    }

    .brand-card {
        display: flex
    }

    .brand-card-photo {
        height: 230px;
        min-height: 0
    }

    .brand-card-top {
        padding: 26px 22px
    }

    .brand-responsibility h2 {
        font-size: 38px
    }

    .responsibility-points {
        grid-template-columns: 1fr
    }

    .responsibility-points>div {
        border-right: 0;
        border-bottom: 1px solid #dfd1c4;
        padding: 12px 0
    }

    .responsibility-points>div:last-child {
        border-bottom: 0
    }

    .brands-cta h2 {
        font-size: 38px
    }

    .brands-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .brands-footer-grid>div:first-child,
    .brands-footer-newsletter {
        grid-column: 1/-1
    }

    .brands-footer-bottom {
        flex-direction: column;
        gap: 8px
    }
}

/* Premium brand-page icons */
.resp-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(123, 29, 29, .055);
    border: 1px solid rgba(123, 29, 29, .10);
    font-size: 19px
}

.social-row a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #fff;
    transition: .2s
}

.social-row a:hover {
    background: #fff;
    color: #771b1e;
    transform: translateY(-2px)
}
/* Wider hero copy on large screens */
@media (min-width: 1101px) {
    .brands-hero-copy {
        width: 62%;
        max-width: 800px;
    }
}
