.zf-foundry {
    --zff-porcelain: #f6f7f4;
    --zff-metal: #e9ece8;
    --zff-ink: #202428;
    --zff-line: #dde2db;
}

.zf-foundry .zf-shell { max-width: 1320px; }
.zf-foundry .zf-label { color: #45580f; font-size: .73rem; letter-spacing: .11em; }
.zf-foundry .zf-header { position: sticky; top: 0; z-index: 20; }
.zf-foundry .zf-header-row { min-height: 86px; }
.zf-foundry .zf-logo { font-family: Montserrat, Inter, sans-serif; letter-spacing: -.035em; font-size: 1.3rem; }
.zf-foundry .zf-header .zf-nav { margin-inline: auto; gap: .7rem clamp(.7rem, 2vw, 1.7rem); }
.zf-foundry .zf-actions { margin-inline-start: 0; }
.zf-foundry .zf-top { background: var(--zff-porcelain); }
.zf-foundry .zf-top a { color: var(--zff-ink); font-weight: 650; }
.zf-foundry .zff-mobile-quote { display: none; }
.zf-foundry .zf-mobile summary { gap: .6rem; font-size: .87rem; font-weight: 700; }
.zf-foundry .zf-mobile summary::before {
    content: "";
    width: 16px;
    height: 2px;
    flex: none;
    border-radius: 2px;
    color: var(--zff-ink);
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
}
.zf-foundry .zf-section-head { margin-block-end: clamp(1.1rem, 2.4vw, 2.1rem); }
.zf-foundry .zf-section[id] { scroll-margin-block-start: 120px; }
.zf-foundry .zf-btn.zf-outline { border-color: #a9b0a7; }
.zf-foundry .zf-btn.zf-outline:hover { border-color: var(--zff-ink); }

.zff-hero {
    padding-block: clamp(2rem, 4vw, 3.5rem);
    border-block-end: 1px solid var(--zff-line);
    background: var(--zff-porcelain);
}
.zff-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(1.75rem, 5vw, 5.5rem);
    min-height: 455px;
}
.zff-hero-copy { display: grid; gap: 1.35rem; justify-items: start; }
.zf-foundry .zff-hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(2.15rem, 4.5vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.06em;
    text-wrap: balance;
}
.zff-lead { max-width: 41ch; color: var(--zf-muted); font-size: clamp(1rem, 1.3vw, 1.16rem); }
.zff-hero-figure {
    margin: 0;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--zff-line);
    border-radius: 14px;
    background: #eef0ed;
}
.zff-hero-image {
    position: relative;
    display: block;
    aspect-ratio: 413 / 279;
    overflow: hidden;
    background: #eef0ed;
}
.zff-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.zff-hero-figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .72rem 1.1rem .75rem 1.3rem;
    border-block-start: 1px solid var(--zff-line);
    background: #fff;
}
.zff-hero-figure strong { display: block; font-family: Montserrat, Inter, sans-serif; font-size: 1rem; }
.zff-hero-figure figcaption a, .zff-family-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    flex: none;
    place-items: center;
    border: 1px solid var(--zff-line);
    border-radius: 8px;
    font-size: 1.25rem;
    color: var(--zff-ink);
}
.zff-hero-figure figcaption a:hover, .zff-family-card:hover .zff-family-arrow { border-color: #8ba748; background: var(--zf-tint); }
.zff-reference { color: var(--zf-muted); font-size: .73rem; font-weight: 650; line-height: 1.25; }

.zff-spec-strip { border-bottom: 1px solid var(--zff-line); }
.zff-spec-strip ul {
    margin-block: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.zff-spec-strip li {
    min-height: 72px;
    padding: .85rem 1.05rem;
    border-inline-end: 1px solid var(--zff-line);
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .86rem;
    font-weight: 650;
}
.zff-spec-strip li:last-child { border-inline-end: 0; }
.zff-spec-strip li::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: none;
    border: 2px solid #6f901c;
    border-radius: 2px;
    transform: rotate(45deg);
}

.zff-text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    font-weight: 650;
    font-size: .9rem;
    color: var(--zff-ink);
}
.zf-foundry .zff-text-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.zff-text-link span { color: #526b16; }
.zff-family-card {
    min-width: 0;
    border: 1px solid var(--zff-line);
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.zff-family-card:hover { border-color: #94a478; }
.zff-family-media { position: relative; aspect-ratio: 1.57; min-width: 0; overflow: hidden; background: #f0f2ef; }
.zff-family-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1rem; mix-blend-mode: multiply; }
.zff-family-photo img { mix-blend-mode: normal; }
.zff-family-body { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1.15rem; }
.zff-family-body h3 { margin-top: .28rem; font-size: clamp(1rem, 1.9vw, 1.42rem); }
.zff-family-body p { margin-top: .4rem; color: var(--zf-muted); font-size: .87rem; }
.zff-range, .zff-applications { background: var(--zff-porcelain); }
.zf-foundry .zff-range-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zf-foundry .zf-card { border-color: var(--zff-line); }
.zf-foundry .zf-card:hover { border-color: #94a478; }
.zf-foundry .zf-card-media { position: relative; display: block; background: #f0f2ef; }
.zf-foundry .zf-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.zf-foundry .zf-card h3 { font-size: clamp(.98rem, 1.4vw, 1.16rem); line-height: 1.28; }
.zf-foundry .zf-card-body { flex: 1; grid-template-rows: auto auto 1fr auto; }
.zf-foundry .zf-card-body small { font-size: .72rem; letter-spacing: .045em; }
.zf-foundry .zf-card-body a:last-child:not(:only-child) { align-self: end; }

.zff-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(1.5rem, 5vw, 5.5rem);
}
.zff-feature-copy { display: grid; gap: .9rem; align-content: center; justify-items: start; }
.zff-feature-copy p, .zff-pro p { color: var(--zf-muted); max-width: 48ch; }
.zff-feature-copy h2 { max-width: 18ch; }
.zff-feature-copy h3 { margin-top: .25rem; font-size: 1rem; }
.zff-feature-media { margin: 0; width: 100%; min-width: 0; min-height: 280px; border: 1px solid var(--zff-line); border-radius: 12px; overflow: hidden; }
.zff-feature-detail { background: #edf0ed; display: grid; place-items: center; aspect-ratio: 1.55; }
.zff-feature-detail img { width: 86%; max-height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.zff-application-photo { aspect-ratio: 1.55; display: grid; background: var(--zff-metal); }
.zff-application-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.zff-finishes { display: flex; flex-wrap: wrap; gap: .55rem; }
.zff-finishes a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .45rem .85rem;
    background: #fff;
    border: 1px solid var(--zff-line);
    border-radius: 7px;
    font-size: .88rem;
    font-weight: 650;
}
.zff-finishes a:hover { border-color: #94a478; background: var(--zff-porcelain); }
.zff-finishes a > span {
    width: 16px;
    height: 16px;
    flex: none;
    background: #c0c5ca;
    border: 1px solid #a9b0b7;
    border-radius: 50%;
}
.zff-finishes a > .zff-swatch-black { background: #252a29; border-color: #252a29; }

.zff-pdf-panel {
    display: grid;
    grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr);
    gap: clamp(1.2rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1rem, 3.3vw, 2.75rem);
    border: 1px solid var(--zff-line);
    border-radius: 12px;
    background: var(--zff-porcelain);
}
.zff-pdf-panel .zf-wholesale-pdf {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: clamp(350px, 65vh, 620px);
    border: 1px solid var(--zff-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 18px #20242809;
}
.zff-pro { padding-block: 0 clamp(2rem, 4.6vw, 4rem); }
.zff-pro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.3rem;
    padding: clamp(1.3rem, 4.5vw, 3.2rem);
    border: 1px solid var(--zff-line);
    border-inline-start: 5px solid var(--zf-green);
    border-radius: 12px;
    background: #f1f5e8;
}
.zff-pro-inner h2 { margin-block: .55rem; }
.zff-pro-inner p { max-width: 59ch; }
.zff-pro-inner .zf-btn { flex-shrink: 0; }

.zf-foundry .zf-intro {
    padding: clamp(1rem, 3vw, 2.2rem);
    border: 1px solid var(--zff-line);
    border-radius: 10px;
    background: var(--zff-porcelain);
}
.zf-foundry .zf-intro p { max-width: 64ch; }
.zf-foundry .zf-filters, .zf-foundry .zf-form { border-color: var(--zff-line); background: var(--zff-porcelain); }
.zf-foundry .zf-product .zf-card-media { background: linear-gradient(135deg, #f7f8f6, #e9ede7); }
.zf-foundry .zf-product-info { padding-block: .7rem; }
.zf-foundry .zf-specs { width: 100%; }
.zf-foundry .zf-footer { background: var(--zff-porcelain); }

@media (max-width: 1023px) {
    .zf-foundry .zf-header-row { min-height: 68px; }
    .zf-foundry .zf-logo img { width: min(36vw, 11rem); }
    .zf-foundry .zf-mobile { margin-inline-start: 0; }
    .zf-foundry .zff-mobile-quote { display: inline-flex; min-height: 44px; padding-inline: .75rem; margin-inline-start: auto; }
    .zff-hero-grid { min-height: 380px; gap: clamp(1rem, 3vw, 2.2rem); }
    .zff-family-body { padding: .8rem; }
    .zf-foundry .zff-range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .zf-foundry .zf-section[id] { scroll-margin-block-start: 100px; }
    .zff-hero { padding-block: 1.55rem 1.1rem; }
    .zff-hero-grid, .zff-feature, .zff-pdf-panel { grid-template-columns: minmax(0, 1fr); min-height: auto; }
    .zff-hero-copy { gap: .85rem; }
    .zf-foundry .zff-hero-copy h1 { max-width: 15ch; font-size: clamp(1.95rem, 8.6vw, 2.3rem); }
    .zff-hero-figure figcaption { padding-inline: .8rem; }
    .zff-spec-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zff-spec-strip li { min-height: 61px; padding: .65rem .45rem; gap: .45rem; font-size: .75rem; }
    .zff-spec-strip li:nth-child(2) { border-inline-end: 0; }
    .zff-spec-strip li:nth-child(-n+2) { border-block-end: 1px solid var(--zff-line); }
    .zff-family-arrow { width: 34px; height: 34px; font-size: 1rem; }
    .zff-family-body p { font-size: .79rem; }
    .zf-foundry .zff-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zff-feature-media { min-height: 220px; }
    .zff-feature-detail { order: 2; }
    .zff-pdf-panel .zf-wholesale-pdf { height: min(68vh, 490px); min-height: 325px; }
    .zff-pro-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 420px) {
    .zff-families .zf-families { grid-template-columns: minmax(0, 1fr); }
    .zff-family-media { aspect-ratio: 2.05; }
}
