.zf-foundry {
    --zff-wide: min(calc(100% - 2rem), 1760px);
    --zff-cover-ink: #20262a;
    --zff-cover-white: #f7f8f7;
    --zff-lime: #afe000;
    --zff-banner-gutter: clamp(1rem, 4.1vw, 4.8rem);
}

.zff-masthead {
    position: sticky;
    z-index: 24;
    top: 0;
    width: var(--zff-wide);
    margin: .9rem auto 0;
    border-radius: 14px;
    background: var(--zff-cover-ink);
    color: var(--zff-cover-white);
    box-shadow: 0 5px 18px rgb(14 18 21 / .12);
}
.zff-masthead-home { border-radius: 14px 14px 0 0; }
.zff-masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: .6rem clamp(1rem, 2vw, 2rem) .55rem var(--zff-banner-gutter);
    gap: clamp(.7rem, 2vw, 2.3rem);
}
.zff-brand { flex: 0 1 auto; min-width: 0; display: grid; justify-items: center; gap: .24rem; }
.zff-brand-home {
    position: relative;
    display: block;
    padding-inline-start: .7rem;
    max-width: 100%;
}
.zff-brand-home::before {
    content: "";
    position: absolute;
    inset-block: .1rem 0;
    inset-inline-start: 0;
    width: 1px;
    background: var(--zff-lime);
}
.zff-brand-home img {
    display: block;
    width: clamp(172px, 19.7vw, 298px);
    height: auto;
    max-height: 50px;
    object-fit: contain;
}
.zff-brand-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .06rem .65rem;
    border: 1px solid #f7f8f790;
    border-radius: 99px;
    font-size: .68rem;
    font-weight: 550;
    line-height: 1.35;
}
.zff-brand-partner:hover { border-color: var(--zff-lime); }
.zff-masthead-nav, .zff-masthead-actions { display: flex; align-items: center; gap: clamp(.55rem, 1.25vw, 1.4rem); }
.zff-masthead-nav { justify-content: center; flex: 1; }
.zff-masthead-actions { flex: none; gap: clamp(.4rem, .8vw, .85rem); }
.zff-masthead-nav a, .zff-menu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: clamp(.73rem, 1.05vw, .92rem);
    font-weight: 550;
    cursor: pointer;
}
.zff-masthead-nav a:hover, .zff-menu summary:hover, .zff-menu[open] summary { color: var(--zff-lime); }
.zff-masthead-nav .zff-home-link { justify-content: center; min-width: 40px; color: var(--zff-lime); }
.zff-masthead svg, .zff-banner-btn svg { width: 17px; height: 17px; flex: none; }
.zff-menu { position: relative; }
.zff-menu summary { gap: .2rem; list-style: none; user-select: none; }
.zff-menu summary::-webkit-details-marker { display: none; }
.zff-menu summary svg:last-child { width: 13px; height: 13px; }
.zff-menu-panel {
    position: absolute;
    z-index: 4;
    top: 100%;
    inset-inline-start: 0;
    min-width: max-content;
    padding: .45rem;
    border: 1px solid #50595d;
    border-radius: 9px;
    background: var(--zff-cover-ink);
    box-shadow: 0 10px 24px rgb(12 16 20 / .22);
}
.zff-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .4rem .65rem;
    border-radius: 6px;
    font-size: .86rem;
    white-space: nowrap;
}
.zff-menu-panel a:hover, .zff-menu-panel a[aria-current=true] { background: #30383c; color: var(--zff-lime); }
.zff-language .zff-menu-panel, .zff-mobile-menu .zff-menu-panel { inset-inline: auto 0; }
.zff-language summary { min-width: 48px; justify-content: center; }
.zff-mobile-menu, .zff-quote-short { display: none; }

.zf-foundry .zff-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 42px;
    padding: .48rem .9rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: 700 .83rem/1.2 Inter, system-ui, sans-serif;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s;
}
.zf-foundry .zff-banner-primary { background: var(--zff-lime); color: #161b15; }
.zf-foundry .zff-banner-primary:hover { background: #c2f21c; }
.zf-foundry .zff-banner-outline { background: rgb(31 38 42 / .24); border-color: #f7f8f7df; color: var(--zff-cover-white); }
.zf-foundry .zff-banner-outline:hover { background: #ffffff21; }
.zff-masthead :focus-visible, .zff-cover :focus-visible { outline: 2px solid var(--zff-lime); outline-offset: 4px; }

.zff-cover {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: var(--zff-wide);
    min-height: clamp(440px, 35vw, 610px);
    margin-inline: auto;
    overflow: hidden;
    background: #1d2428;
    color: var(--zff-cover-white);
}
.zff-cover-photos, .zff-cover-photo, .zff-cover-shade { position: absolute; inset: 0; }
.zff-cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 63%; }
.zff-cover-photo-square { inset-inline-start: 37%; background: #272c2c; }
.zff-cover-photo-square img { object-position: 55% 53%; }
.zff-cover-photo-product { inset-inline-start: 41%; background: #dce1db; }
.zff-cover-photo-product img { object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.zff-cover-shade {
    pointer-events: none;
    background: linear-gradient(90deg, rgb(18 23 27 / .97) 0%, rgb(18 23 27 / .84) 20%, rgb(18 23 27 / .57) 37%, rgb(18 23 27 / .08) 58%, transparent 75%),
        linear-gradient(0deg, rgb(18 23 27 / .25), transparent 20%);
}
.zff-cover::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto 0 0 auto;
    width: clamp(40px, 6vw, 106px);
    height: clamp(65px, 9vw, 150px);
    background: var(--zff-lime);
    clip-path: polygon(0 100%, 100% 0, 100% 23%, 20% 100%);
    pointer-events: none;
}
.zff-cover-copy {
    position: relative;
    width: 100%;
    padding: clamp(2.35rem, 4vw, 4rem) var(--zff-banner-gutter) clamp(2.4rem, 4vw, 4rem);
}
.zff-cover .zff-cover-label {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 clamp(.8rem, 1.45vw, 1.35rem);
    font-size: clamp(.62rem, .79vw, .83rem);
    font-weight: 750;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--zff-cover-white);
}
.zff-cover-label::before { content: ""; width: clamp(23px, 2.5vw, 38px); height: 2px; flex: none; background: var(--zff-lime); }
.zf-foundry .zff-cover h1 {
    max-width: 55%;
    color: var(--zff-cover-white);
    font-size: clamp(3.1rem, 4.75vw, 5.15rem);
    font-style: italic;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.zf-foundry .zff-cover h1 em { color: var(--zff-lime); font-style: inherit; }
.zff-cover .zff-cover-lead {
    max-width: min(41ch, 45%);
    margin-top: .65rem;
    color: #f0f2f1;
    font-size: clamp(.95rem, 1.25vw, 1.19rem);
    line-height: 1.4;
    text-wrap: pretty;
}
.zff-cover-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1rem, 1.7vw, 1.65rem); }
.zf-foundry .zff-cover .zff-banner-btn { min-height: clamp(44px, 3.55vw, 56px); padding-inline: clamp(.94rem, 1.65vw, 1.7rem); font-size: clamp(.83rem, 1.12vw, 1.04rem); }
.zff-cover-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 610px);
    margin: clamp(1.5rem, 2.6vw, 2.65rem) 0 0;
    padding: 0;
    list-style: none;
}
.zff-cover-highlights li {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
    padding-inline: .7rem .8rem;
    border-inline-end: 1px solid #f7f8f75e;
    color: #f7f8f7;
    font-size: clamp(.67rem, .95vw, .91rem);
    line-height: 1.18;
}
.zff-cover-highlights li:first-child { padding-inline-start: 0; }
.zff-cover-highlights li:last-child { border: 0; }
.zff-cover-highlights svg { width: clamp(22px, 2.2vw, 34px); height: clamp(22px, 2.2vw, 34px); flex: none; }
.zff-cover-dots { position: absolute; z-index: 2; bottom: .6rem; inset-inline-end: clamp(3.5rem, 7vw, 9rem); display: flex; align-items: center; }
.zff-cover-dots button {
    display: grid;
    place-items: center;
    width: 23px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.zff-cover-dots button::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px #24282b60;
}
.zff-cover-dots button[aria-pressed=true]::after { background: var(--zff-lime); }
.zff-cover-credit {
    position: absolute;
    bottom: .85rem;
    inset-inline-end: clamp(9rem, 14vw, 16rem);
    color: #fff;
    padding: .11rem .45rem;
    border-radius: 3px;
    background: rgb(24 29 33 / .72);
    font-size: .64rem;
}
.zff-cover-credit[hidden], .zff-cover-photo[hidden] { display: none; }
.zf-foundry #finitions { scroll-margin-block-start: 110px; }

@media (max-width: 1150px) {
    .zff-masthead-nav { display: none; }
    .zff-mobile-menu { display: block; }
    .zff-mobile-menu summary { justify-content: center; width: 44px; }
    .zff-mobile-menu summary svg:last-child { width: 24px; height: 24px; }
    .zff-masthead-row { min-height: 76px; }
    .zf-foundry .zff-cover h1 { max-width: 62%; }
}
@media (max-width: 700px) {
    .zf-foundry { --zff-wide: calc(100% - 1rem); --zff-banner-gutter: clamp(.85rem, 4vw, 1.6rem); }
    .zff-masthead { margin-top: .5rem; border-radius: 10px; }
    .zff-masthead-home { border-radius: 10px 10px 0 0; }
    .zff-masthead-row { min-height: 67px; gap: .4rem; padding: .45rem var(--zff-banner-gutter); }
    .zff-brand-home { padding-inline-start: .35rem; }
    .zff-brand-home img { width: min(36vw, 195px); }
    .zff-brand-partner { font-size: .57rem; padding-inline: .42rem; }
    .zff-masthead-actions { gap: .15rem; }
    .zff-masthead-actions .zff-b2b, .zff-quote-full { display: none; }
    .zff-quote-short { display: inline; }
    .zf-foundry .zff-masthead-actions .zff-banner-btn { min-height: 38px; padding-inline: .52rem; font-size: .74rem; }
    .zff-language summary { min-width: 44px; }
    .zff-language summary svg:last-child { display: none; }
    .zff-cover { min-height: 530px; align-items: start; }
    .zff-cover-copy { padding-block: 1.9rem 4.55rem; }
    .zff-cover-photo img { object-position: 61% 50%; }
    .zff-cover-shade {
        background: linear-gradient(180deg, rgb(18 23 27 / .92) 0%, rgb(18 23 27 / .68) 47%, rgb(18 23 27 / .35) 76%, rgb(18 23 27 / .68) 100%),
            linear-gradient(90deg, rgb(18 23 27 / .46), transparent 100%);
    }
    .zf-foundry .zff-cover h1 { max-width: 100%; font-size: clamp(2.35rem, 9.9vw, 3.55rem); }
    .zff-cover .zff-cover-lead { max-width: 39ch; }
    .zff-cover-highlights { width: min(100%, 410px); grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .85rem; }
    .zff-cover-highlights li:nth-child(2) { border: 0; }
    .zff-cover-highlights li:nth-child(3) { padding-inline-start: 0; }
    .zff-cover-dots { bottom: .35rem; inset-inline-end: 2.25rem; }
    .zff-cover-dots button { width: 38px; height: 44px; }
    .zff-cover-credit { bottom: 1.2rem; inset-inline: var(--zff-banner-gutter) auto; }
}
@media (prefers-reduced-motion: reduce) {
    .zf-foundry .zff-banner-btn { transition: none; }
}
