/* Bannte portfolio case — wine mast, rose paper, atelier shelf.
   Scoped to .bn-case so it never leaks into other KVANTS pages. */

.bn-case {
    --bn-wine: #7d3347;
    --bn-wine-deep: #4a1e2b;
    --bn-rose: #c45c7a;
    --bn-blush: #fbe9ec;
    --bn-paper: #fff7f4;
    --bn-ink: #3a1f28;
    --bn-muted: #7a5560;
    --bn-line: rgba(125, 51, 71, 0.16);
    --bn-display: "Playfair Display", "Times New Roman", serif;
    color: var(--bn-ink);
}

body:has(.bn-case) {
    background-color: var(--bn-paper, #fff7f4);
    background-image: none;
}

.bn-case a:focus-visible,
.bn-case button:focus-visible {
    outline: 2px solid var(--bn-rose);
    outline-offset: 3px;
}

.bn-mast {
    background:
        radial-gradient(ellipse 70% 80% at 80% 20%, rgba(196, 92, 122, 0.28), transparent 55%),
        linear-gradient(180deg, var(--bn-wine-deep) 0%, var(--bn-wine) 100%);
    color: #f7e6ea;
    padding: 2.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.bn-mast .lt-breadcrumb a,
.bn-mast .lt-breadcrumb span {
    color: rgba(247, 230, 234, 0.78);
}
.bn-mast .lt-breadcrumb a:hover {
    color: #fff;
}
.bn-mast .lt-breadcrumb i {
    color: rgba(247, 230, 234, 0.4);
}

.bn-mast__grid {
    display: grid;
    gap: 2rem;
    align-items: end;
}
@media (min-width: 960px) {
    .bn-mast__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
        gap: 3rem;
        align-items: center;
    }
}

.bn-logo {
    display: block;
    width: min(280px, 78vw);
    height: auto;
    margin: 1.5rem 0 1.25rem;
    filter: contrast(1.05);
}

.bn-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f3c5d0;
    margin-bottom: 0.85rem;
}

.bn-h1 {
    font-family: var(--bn-display);
    font-weight: 600;
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fffaf8;
    margin: 0 0 1rem;
    max-width: 22ch;
}

.bn-tagline {
    font-family: var(--bn-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.45;
    color: #f3d4dc;
    margin: 0 0 1.15rem;
    max-width: 36ch;
}

.bn-context {
    font-size: 0.92rem;
    color: #f3c5d0;
    margin: 0 0 1.1rem;
}

.bn-lead {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(247, 230, 234, 0.88);
    max-width: 46ch;
    margin: 0 0 1.6rem;
}

.bn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bn-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.bn-btn:hover {
    transform: translateY(-1px);
}
.bn-btn--solid {
    background: #fffaf8;
    color: var(--bn-wine-deep);
}
.bn-btn--solid:hover {
    background: #fff;
    color: var(--bn-wine);
}
.bn-btn--ghost {
    background: transparent;
    color: #fffaf8;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 248, 0.45);
}
.bn-btn--ghost:hover {
    background: rgba(255, 250, 248, 0.08);
}

.bn-mast__photo {
    position: relative;
    margin: 0 auto;
    width: min(680px, 100%);
}
.bn-mast__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px 4px 28px 4px;
    box-shadow: 0 28px 50px rgba(26, 8, 14, 0.38);
    background: #5a2836;
}
.bn-mast__photo::after {
    content: "";
    position: absolute;
    inset: auto -12px -14px 18%;
    height: 10px;
    background: rgba(26, 8, 14, 0.18);
    filter: blur(8px);
    pointer-events: none;
}
@media (min-width: 960px) {
    .bn-mast {
        padding-bottom: 5.5rem;
    }
    .bn-mast__photo {
        margin-bottom: -5.5rem;
        width: 100%;
        max-width: 680px;
        justify-self: end;
    }
}

.bn-section {
    padding: 3.25rem 0;
}
@media (min-width: 960px) {
    .bn-section {
        padding: 4.25rem 0;
    }
}

.bn-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bn-rose);
    margin-bottom: 0.55rem;
}

.bn-h2 {
    font-family: var(--bn-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.18;
    color: var(--bn-wine-deep);
    margin: 0 0 0.85rem;
}

.bn-copy {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--bn-muted);
    max-width: 58ch;
    margin: 0;
}

.bn-craft {
    display: grid;
    gap: 1.75rem;
}
.bn-craft--single {
    display: block;
    max-width: 900px;
}
@media (min-width: 900px) {
    .bn-craft {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 3rem;
        align-items: center;
    }
}

.bn-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}
.bn-fact {
    background: #fff;
    border: 1px solid var(--bn-line);
    padding: 0.95rem 1rem 0.85rem;
}
.bn-fact__value {
    font-family: var(--bn-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--bn-wine);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.bn-fact__label {
    font-size: 0.78rem;
    color: var(--bn-muted);
    line-height: 1.35;
}

.bn-craft__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 18px 40px rgba(74, 30, 43, 0.12);
}

.bn-shelf-wrap {
    background: var(--bn-blush);
    border-top: 1px solid var(--bn-line);
    border-bottom: 1px solid var(--bn-line);
}

.bn-shelf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.75rem;
}
@media (min-width: 720px) {
    .bn-shelf {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}
@media (min-width: 1100px) {
    .bn-shelf {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.bn-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 24px rgba(74, 30, 43, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(74, 30, 43, 0.14);
}
.bn-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #f3dfe4;
}
.bn-card__body {
    padding: 0.85rem 0.9rem 1rem;
    border-top: 1px solid var(--bn-line);
}
.bn-card__title {
    font-family: var(--bn-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--bn-wine-deep);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}
.bn-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--bn-muted);
}

.bn-scope {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.75rem;
}
@media (min-width: 800px) {
    .bn-scope {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
.bn-scope article {
    background: #fff;
    border: 1px solid var(--bn-line);
    padding: 1.2rem 1.15rem 1.25rem;
}
.bn-scope h3 {
    font-family: var(--bn-display);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--bn-wine-deep);
    margin: 0 0 0.45rem;
}
.bn-scope p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--bn-muted);
    margin: 0;
}

.bn-shots {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.6rem;
}
@media (min-width: 720px) {
    .bn-shots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}
.bn-shots figure {
    margin: 0;
}
.bn-shots img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #f3dfe4;
}
.bn-shots figcaption {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bn-muted);
    margin-top: 0.55rem;
}

.bn-ribbon {
    display: grid;
    gap: 0;
    border: 1px solid var(--bn-line);
    background: #fff;
    margin-top: 1.75rem;
}
@media (min-width: 800px) {
    .bn-ribbon {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.bn-step {
    padding: 1.2rem 1.15rem 1.3rem;
    border-bottom: 1px solid var(--bn-line);
}
@media (min-width: 800px) {
    .bn-step {
        border-bottom: 0;
        border-right: 1px solid var(--bn-line);
    }
    .bn-step:last-child {
        border-right: 0;
    }
}
.bn-step__mark {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    margin-bottom: 0.7rem;
    border-radius: 50%;
    background: var(--bn-blush);
    box-shadow: inset 0 0 0 1px var(--bn-line);
    position: relative;
}
.bn-step__mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--bn-rose);
}
.bn-step h3 {
    font-family: var(--bn-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--bn-wine-deep);
    margin: 0 0 0.4rem;
}
.bn-step p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--bn-muted);
    margin: 0;
}

.bn-safety {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .bn-safety {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 2.5rem;
        align-items: start;
    }
}
.bn-note {
    background: #fffaf6;
    border: 1px solid var(--bn-line);
    padding: 1.35rem 1.3rem 1.2rem;
    box-shadow: 6px 8px 0 rgba(125, 51, 71, 0.08);
}
.bn-note ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}
.bn-note li {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--bn-ink);
    padding-left: 1.15rem;
    position: relative;
}
.bn-note li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--bn-rose);
}

.bn-built {
    background: var(--bn-wine-deep);
    color: #f7e6ea;
}
.bn-built .bn-kicker {
    color: #f3c5d0;
}
.bn-built .bn-h2,
.bn-built .bn-copy {
    color: #fffaf8;
}
.bn-built .bn-copy {
    opacity: 0.86;
}
.bn-work {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.75rem;
}
@media (min-width: 800px) {
    .bn-work {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
.bn-work article {
    background: rgba(255, 250, 248, 0.06);
    border: 1px solid rgba(255, 250, 248, 0.12);
    padding: 1.15rem 1.15rem 1.2rem;
}
.bn-work h3 {
    font-family: var(--bn-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.4rem;
}
.bn-work p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(247, 230, 234, 0.82);
    margin: 0;
}

.bn-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.bn-tech span {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 250, 248, 0.22);
    color: #f3d4dc;
}
.bn-built .bn-btn--ghost {
    color: #fffaf8;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 248, 0.45);
}
.bn-built__cta {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 250, 248, 0.14);
}
.bn-built__cta h3 {
    font-family: var(--bn-display);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: #fffaf8;
    margin: 0 0 0.45rem;
}
.bn-built__cta p {
    max-width: 58ch;
    color: rgba(247, 230, 234, 0.82);
    line-height: 1.6;
    margin: 0;
}

.bn-faq {
    display: grid;
    gap: 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--bn-line);
}
.bn-faq details {
    border-bottom: 1px solid var(--bn-line);
    padding: 1rem 0;
}
.bn-faq summary {
    font-family: var(--bn-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--bn-wine-deep);
    cursor: pointer;
    list-style: none;
}
.bn-faq summary::-webkit-details-marker {
    display: none;
}
.bn-faq p {
    margin: 0.65rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--bn-muted);
    max-width: 62ch;
}

.bn-cta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--bn-blush);
    border: 1px solid var(--bn-line);
    padding: 1.6rem 1.4rem;
}
@media (min-width: 800px) {
    .bn-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 2rem;
    }
}
.bn-cta .bn-h2 {
    margin-bottom: 0.4rem;
}
.bn-cta .bn-btn--solid {
    background: var(--bn-wine);
    color: #fffaf8;
}
.bn-cta .bn-btn--solid:hover {
    background: var(--bn-wine-deep);
}
.bn-built .bn-btn--ghost {
    color: #fffaf8;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 248, 0.45);
}

.bn-related {
    padding-bottom: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .bn-btn,
    .bn-card {
        transition: none;
    }
    .bn-btn:hover,
    .bn-card:hover {
        transform: none;
    }
}
