.demo-il-buon-sapore {
    --ibs-ink: #26331f;
    --ibs-leaf: #315c35;
    --ibs-leaf-dark: #19351f;
    --ibs-tomato: #c94b36;
    --ibs-tomato-dark: #963126;
    --ibs-cream: #fff8ec;
    --ibs-paper: #fffdf6;
    --ibs-flour: #f5ead9;
    --ibs-line: #e0d4bd;
    --ibs-coffee: #4a2c1d;
    --ibs-gold: #d8a94f;
    --ibs-shadow: 0 24px 64px rgba(67, 45, 24, .18);
    background: var(--ibs-cream);
}

.demo-il-buon-sapore .site-header {
    border-color: rgba(49, 92, 53, .16);
    background: rgba(255, 248, 236, .9);
    box-shadow: 0 10px 30px rgba(67, 45, 24, .08);
}

.demo-il-buon-sapore .brand,
.demo-il-buon-sapore .nav-links,
.demo-il-buon-sapore .nav-links a {
    color: var(--ibs-ink);
}

.demo-il-buon-sapore .brand-mark {
    background: conic-gradient(from 160deg, var(--ibs-leaf), #e8c86f, var(--ibs-tomato), var(--ibs-leaf));
    color: #fff;
}

.demo-il-buon-sapore .nav-links a:hover,
.demo-il-buon-sapore .nav-links a[aria-current="page"] {
    background: rgba(49, 92, 53, .1);
    color: var(--ibs-leaf-dark);
}

.demo-il-buon-sapore .site-footer {
    border-color: rgba(49, 92, 53, .15);
    background: var(--ibs-paper);
    color: rgba(38, 51, 31, .66);
}

.il-buon-sapore-wrap,
.ibs-page {
    background:
        radial-gradient(circle at 12% 0, rgba(201, 75, 54, .11), transparent 30%),
        linear-gradient(180deg, var(--ibs-cream), #fffaf1 38%, var(--ibs-flour));
    color: var(--ibs-ink);
}

.ibs-page {
    overflow: hidden;
}

.ibs-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.ibs-call-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: grid;
    min-width: 166px;
    min-height: 58px;
    align-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    background: var(--ibs-leaf);
    color: #fff;
    box-shadow: 0 18px 42px rgba(25, 53, 31, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ibs-call-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(25, 53, 31, .32);
}

.ibs-call-float span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.ibs-call-float strong {
    margin-top: 5px;
    font-size: 16px;
    line-height: 1;
}

.ibs-hero {
    position: relative;
    min-height: calc(100svh - 72px);
    display: grid;
    align-items: center;
    isolation: isolate;
    padding: 86px 0 92px;
    background: var(--ibs-leaf-dark);
}

.ibs-hero__media,
.ibs-hero__shade {
    position: absolute;
    inset: 0;
}

.ibs-hero__media {
    z-index: -3;
    overflow: hidden;
}

.ibs-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.04);
    animation: ibsHeroDrift 20s ease-in-out infinite alternate;
}

.ibs-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(25, 53, 31, .92), rgba(25, 53, 31, .62) 48%, rgba(255, 248, 236, .2)),
        linear-gradient(180deg, rgba(25, 53, 31, .2), rgba(25, 53, 31, .78)),
        radial-gradient(circle at 82% 22%, rgba(216, 169, 79, .28), transparent 26%);
}

.ibs-hero__shade::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 248, 236, .18) 1px, transparent 1px),
        linear-gradient(rgba(255, 248, 236, .04) 1px, transparent 1px);
    background-size: 18px 18px, 100% 6px;
    mix-blend-mode: screen;
    opacity: .5;
}

.ibs-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(28px, 7vw, 84px);
    align-items: center;
}

.ibs-hero__content {
    max-width: 760px;
    color: var(--ibs-cream);
}

.ibs-kicker {
    margin: 0 0 12px;
    color: #bde7aa;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .15em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ibs-hero h1 {
    margin: 0 0 18px;
    color: #fffaf1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 10vw, 132px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .84;
    text-shadow:
        0 4px 0 rgba(201, 75, 54, .85),
        0 26px 58px rgba(0, 0, 0, .36);
}

.ibs-hero h1 span {
    display: block;
}

.ibs-hero__lead {
    max-width: 640px;
    margin: 0 0 16px;
    color: #fffaf1;
    font-size: clamp(25px, 3.7vw, 43px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.03;
}

.ibs-hero__copy {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 248, 236, .84);
    font-size: 18px;
}

.ibs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ibs-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .26);
    padding: 13px 18px;
    color: #fff;
    font-weight: 950;
    letter-spacing: .04em;
    line-height: 1.15;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ibs-btn:hover {
    transform: translateY(-2px);
}

.ibs-btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--ibs-tomato), #ed7457);
    box-shadow: 0 16px 34px rgba(201, 75, 54, .28);
}

.ibs-btn--cream {
    border-color: transparent;
    background: var(--ibs-cream);
    color: var(--ibs-leaf-dark);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
}

.ibs-btn--ghost {
    background: rgba(255, 248, 236, .1);
    color: #fff;
}

.ibs-ticket {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 236, .7);
    border-radius: 18px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 253, 246, .96), rgba(255, 248, 236, .92)),
        var(--ibs-paper);
    color: var(--ibs-ink);
    box-shadow: 0 24px 72px rgba(0, 0, 0, .24);
}

.ibs-ticket::before,
.ibs-ticket::after {
    content: "";
    position: absolute;
    top: 78px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(25, 53, 31, .74);
}

.ibs-ticket::before {
    left: -13px;
}

.ibs-ticket::after {
    right: -13px;
}

.ibs-ticket__eyebrow,
.ibs-ticket section span,
.ibs-ticket section small {
    display: block;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ibs-ticket__eyebrow {
    color: var(--ibs-tomato);
}

.ibs-ticket > strong {
    display: block;
    margin: 10px 0 8px;
    color: var(--ibs-leaf-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: .98;
}

.ibs-ticket > p {
    margin: 0 0 22px;
    color: rgba(38, 51, 31, .68);
}

.ibs-ticket > div {
    display: grid;
    gap: 12px;
}

.ibs-ticket section {
    border-top: 1px dashed rgba(38, 51, 31, .22);
    padding-top: 12px;
}

.ibs-ticket section span,
.ibs-ticket section small {
    color: rgba(38, 51, 31, .56);
}

.ibs-ticket section b {
    display: block;
    margin: 4px 0;
    color: var(--ibs-leaf);
    font-size: 24px;
    line-height: 1;
}

.ibs-window-strip {
    position: relative;
    z-index: 3;
    margin-top: -48px;
    padding: 0 0 36px;
}

.ibs-window-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ibs-window-strip figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 8px solid var(--ibs-paper);
    border-radius: 999px 999px 20px 20px;
    background: var(--ibs-paper);
    box-shadow: var(--ibs-shadow);
}

.ibs-window-strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ibs-window-strip figcaption {
    min-height: 54px;
    display: grid;
    place-items: center;
    color: var(--ibs-leaf-dark);
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ibs-band {
    position: relative;
    padding: 88px 0;
}

.ibs-band--menu {
    background:
        radial-gradient(circle at 92% 8%, rgba(216, 169, 79, .2), transparent 26%),
        linear-gradient(180deg, #fffaf1, var(--ibs-flour));
}

.ibs-band--pickup {
    background:
        linear-gradient(120deg, rgba(49, 92, 53, .94), rgba(25, 53, 31, .96)),
        url("/images/demos/il-buon-sapore/main-counter.webp") center / cover;
    color: var(--ibs-cream);
}

.ibs-band--gallery,
.ibs-band--reviews {
    background: var(--ibs-paper);
}

.ibs-band--map {
    background:
        radial-gradient(circle at 20% 12%, rgba(201, 75, 54, .13), transparent 28%),
        linear-gradient(180deg, var(--ibs-flour), #fffaf1);
}

.ibs-menu-layout {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
    gap: clamp(28px, 6vw, 70px);
    align-items: start;
}

.ibs-board {
    position: sticky;
    top: 96px;
    border: 1px solid rgba(255, 248, 236, .18);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 38px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .06), transparent),
        #233121;
    color: var(--ibs-cream);
    box-shadow: var(--ibs-shadow);
}

.ibs-board h2,
.ibs-pickup h2,
.ibs-section-head h2,
.ibs-reviews-head h2,
.ibs-location h2,
.ibs-final h2 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .98;
}

.ibs-board p,
.ibs-pickup p,
.ibs-section-head p,
.ibs-location p {
    max-width: 700px;
    margin-bottom: 0;
    color: inherit;
    opacity: .78;
    font-size: 18px;
}

.ibs-board dl {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
}

.ibs-board dl div {
    border-top: 1px dashed rgba(255, 248, 236, .24);
    padding-top: 14px;
}

.ibs-board dt {
    color: #cdebbd;
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
}

.ibs-board dd {
    margin: 5px 0 0;
    color: rgba(255, 248, 236, .74);
}

.ibs-menu-cards {
    display: grid;
    gap: 16px;
}

.ibs-menu-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    overflow: hidden;
    border: 1px solid var(--ibs-line);
    border-radius: 18px;
    background: rgba(255, 253, 246, .78);
    box-shadow: 0 18px 44px rgba(67, 45, 24, .1);
}

.ibs-menu-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform .55s ease, filter .55s ease;
}

.ibs-menu-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.03);
}

.ibs-menu-card div {
    padding: 24px;
}

.ibs-menu-card h3 {
    margin: 0 0 10px;
    color: var(--ibs-leaf-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
}

.ibs-menu-card p {
    margin: 0;
    color: rgba(38, 51, 31, .68);
}

.ibs-pickup {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(26px, 5vw, 54px);
    align-items: center;
}

.ibs-pickup .ibs-kicker {
    color: #cdebbd;
}

.ibs-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ibs-steps article {
    min-height: 250px;
    border: 1px solid rgba(255, 248, 236, .18);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 248, 236, .1);
    backdrop-filter: blur(8px);
}

.ibs-steps span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    background: var(--ibs-cream);
    color: var(--ibs-tomato);
    font-size: 13px;
    font-weight: 950;
}

.ibs-steps h3 {
    margin: 34px 0 10px;
    color: #fffaf1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    line-height: 1;
}

.ibs-steps p {
    margin: 0;
    color: rgba(255, 248, 236, .74);
}

.ibs-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.ibs-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 14px;
}

.ibs-gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ibs-leaf-dark);
    box-shadow: 0 16px 42px rgba(67, 45, 24, .13);
}

.ibs-gallery figure:nth-child(2),
.ibs-gallery figure:nth-child(5),
.ibs-gallery figure:nth-child(8) {
    border-radius: 999px 999px 18px 18px;
}

.ibs-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter .6s ease;
}

.ibs-gallery figure:hover img {
    transform: scale(1.06);
    filter: saturate(1.12) contrast(1.04);
}

.ibs-gallery__wide {
    grid-column: span 2;
}

.ibs-gallery__tall {
    grid-row: span 2;
}

.ibs-reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.ibs-reviews-head > div:first-child {
    max-width: 760px;
}

.ibs-rating {
    display: grid;
    min-width: 170px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #fffdf6 0 58%, var(--ibs-flour) 59% 100%);
    color: var(--ibs-leaf-dark);
    box-shadow: var(--ibs-shadow);
}

.ibs-rating strong,
.ibs-rating span {
    display: block;
    text-align: center;
}

.ibs-rating strong {
    align-self: end;
    color: var(--ibs-tomato);
    font-size: 52px;
    line-height: .85;
}

.ibs-rating span {
    align-self: start;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ibs-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ibs-review-card {
    position: relative;
    min-height: 292px;
    border-radius: 14px;
    padding: 26px;
    background: #fffdf6;
    box-shadow: 0 18px 42px rgba(67, 45, 24, .12);
}

.ibs-review-card:nth-child(2) {
    transform: rotate(-1deg);
}

.ibs-review-card:nth-child(3) {
    transform: rotate(1deg);
}

.ibs-stars {
    margin-bottom: 24px;
    color: var(--ibs-gold);
    font-size: 17px;
    letter-spacing: .08em;
}

.ibs-review-card blockquote {
    margin: 0 0 14px;
    color: var(--ibs-leaf-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.08;
}

.ibs-review-card p {
    margin: 0 0 24px;
    color: rgba(38, 51, 31, .66);
}

.ibs-review-card footer {
    display: grid;
    gap: 4px;
}

.ibs-review-card footer strong {
    color: var(--ibs-leaf-dark);
    font-size: 15px;
}

.ibs-review-card footer span {
    color: var(--ibs-tomato);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ibs-location {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 66px);
    align-items: center;
}

.ibs-location__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.ibs-location__details span,
.ibs-location__details a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(49, 92, 53, .16);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 253, 246, .74);
    color: var(--ibs-leaf-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ibs-map {
    overflow: hidden;
    border: 10px solid var(--ibs-paper);
    border-radius: 26px;
    background: var(--ibs-paper);
    box-shadow: var(--ibs-shadow);
}

.ibs-map iframe {
    display: block;
    width: 100%;
    min-height: 460px;
    border: 0;
    filter: saturate(.92) contrast(1.02);
}

.ibs-final {
    padding: 78px 0;
    background:
        linear-gradient(90deg, rgba(25, 53, 31, .94), rgba(49, 92, 53, .82)),
        url("/images/demos/il-buon-sapore/facade-sign.webp") center / cover;
    color: var(--ibs-cream);
}

.ibs-final__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.reveal-item {
    opacity: 1;
    transform: none;
}

.demo-il-buon-sapore.reveal-ready .reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s ease, transform .75s ease;
}

.demo-il-buon-sapore.reveal-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ibsHeroDrift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(12px, -10px, 0);
    }
}

@media (max-width: 980px) {
    .ibs-hero__grid,
    .ibs-menu-layout,
    .ibs-pickup,
    .ibs-location,
    .ibs-final__grid {
        grid-template-columns: 1fr;
    }

    .ibs-board {
        position: relative;
        top: auto;
    }

    .ibs-window-strip__grid,
    .ibs-steps,
    .ibs-reviews-grid {
        grid-template-columns: 1fr;
    }

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

    .ibs-reviews-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ibs-page {
        overflow-x: clip;
    }

    .ibs-shell {
        width: min(100% - 24px, 1160px);
    }

    .ibs-call-float {
        display: none;
    }

    .ibs-hero {
        min-height: calc(100svh - 64px);
        padding: 58px 0 78px;
    }

    .ibs-hero__shade {
        background:
            linear-gradient(90deg, rgba(25, 53, 31, .94), rgba(25, 53, 31, .72)),
            linear-gradient(180deg, rgba(25, 53, 31, .22), rgba(25, 53, 31, .82));
    }

    .ibs-hero h1 {
        font-size: 58px;
    }

    .ibs-hero__lead {
        max-width: 320px;
        font-size: 25px;
        line-height: 1.1;
    }

    .ibs-hero__copy {
        max-width: 320px;
    }

    .ibs-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ibs-btn {
        width: 100%;
    }

    .ibs-ticket {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .ibs-window-strip {
        margin-top: -24px;
    }

    .ibs-window-strip figure {
        border-width: 6px;
    }

    .ibs-band {
        padding: 60px 0;
    }

    .ibs-menu-card {
        grid-template-columns: 1fr;
    }

    .ibs-menu-card img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .ibs-steps article {
        min-height: auto;
    }

    .ibs-steps h3 {
        margin-top: 22px;
    }

    .ibs-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .ibs-gallery__wide,
    .ibs-gallery__tall {
        grid-column: auto;
        grid-row: auto;
    }

    .ibs-review-card:nth-child(2),
    .ibs-review-card:nth-child(3) {
        transform: none;
    }

    .ibs-rating {
        min-width: 140px;
    }

    .ibs-map iframe {
        min-height: 340px;
    }

    .ibs-final {
        padding: 58px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ibs-hero__media img,
    .demo-il-buon-sapore.reveal-ready .reveal-item,
    .reveal-item {
        animation: none;
        transition: none;
    }

    .demo-il-buon-sapore.reveal-ready .reveal-item,
    .reveal-item {
        opacity: 1;
        transform: none;
    }
}
