/* Restauracja Uśmiech – arkusz stylów (natywne zagnieżdżanie CSS, kaskada od ogółu do szczegółu) */

/* ==========================================================================
   1. ZMIENNE
   ========================================================================== */

:root {
    --color-paper: #F7F1E6;
    --color-cream: #FFFCF6;
    --color-ink: #26171A;
    --color-muted: #6B5A56;
    --color-maroon: #7A0E14;
    --color-maroon-dark: #5C0A10;
    --color-cherry: #A3161E;
    --color-night: #3E080C;
    --color-night-dark: #2C0508;
    --color-neon: #FFF3C9;
    --color-neon-muted: #EDD2C9;
    --color-rule: rgba(38,23,26,.16);
    --font-display: 'Fraunces','Iowan Old Style','Palatino Linotype',Georgia,serif;
    --font-base: 'Schibsted Grotesk','Segoe UI',system-ui,sans-serif;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

body {
    margin: 0;
    background: #F7F1E6;
}

.page {
    & * {
        box-sizing: border-box;
    }
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 96px;
}

/* ==========================================================================
   3. BAZA (fonty, typografia, linki, obrazy)
   ========================================================================== */

@font-face {
font-family: 'Fraunces';
font-style: normal;
font-weight: 300 500;
font-display: swap;
src: url(/assets/fonts/fraunces.woff2) format('woff2')
}

@font-face {
font-family: 'Schibsted Grotesk';
font-style: normal;
font-weight: 400 900;
font-display: swap;
src: url(/assets/fonts/schibsted-grotesk.woff2) format('woff2')
}

.page {
    & img {
        display: block;
        max-width: 100%;
    }

    & p {
        margin: 0;
    }

    & h1, & h2, & h3 {
        margin: 0;
        font-family: var(--font-display);
        font-weight: 400;
        letter-spacing: -0.01em;
        text-wrap: balance;
    }

    & h1 em, & h2 em, & h3 em {
        font-style: normal;
    }

    & a:focus-visible, & button:focus-visible {
        outline: 3px solid #D99A00;
        outline-offset: 3px;
    }

    & a:focus-visible, & button:focus-visible, & summary:focus-visible {
        outline: 3px solid var(--color-maroon);
        outline-offset: 3px;
    }
}

:where(.page) img {
    height: auto;
}

:where(.page) a {
    color: inherit;
}

img {
    height: auto;
}

video {
    display: block;
}

/* ==========================================================================
   4. LAYOUT (.page, .container)
   ========================================================================== */

/* ----- page ----- */
.page {
    font-family: var(--font-base);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    font-variation-settings: 'SOFT' 50,'WONK' 0;

    @media (max-width: 820px) {
        font-size: 16.5px;
    }
}

/* ----- container ----- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: max(24px,env(safe-area-inset-left,0px));
    padding-right: max(24px,env(safe-area-inset-right,0px));

    @media (max-width: 820px) {
        padding-left: max(18px,env(safe-area-inset-left,0px));
        padding-right: max(18px,env(safe-area-inset-right,0px));
    }
}

/* ==========================================================================
   5. KOMPONENTY (przyciski, linki z uśmiechem, polaroidy, karty)
   ========================================================================== */

/* ----- section-title ----- */
.section-title {
    font-size: clamp(42px,5.2vw,80px);
    line-height: .98;

    & em {
        color: var(--color-maroon);
    }
}

/* ----- page-lede ----- */
.page-lede {
    font-size: 20px;
    line-height: 1.55;
    max-width: 36ch;
}

/* ----- actions ----- */
.actions {
    display: flex;
    align-items: center;
    gap: 22px 28px;
    flex-wrap: wrap;
}

/* ----- smile-link ----- */
.smile-link {
    position: relative;
    text-decoration: none;

    &::after {
        content: "";
        position: absolute;
        left: -2%;
        right: -2%;
        bottom: -7px;
        height: 9px;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 9' preserveAspectRatio='none'%3E%3Cpath d='M0 0A50 9 0 0 0 100 0A50 7 0 0 1 0 0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 9' preserveAspectRatio='none'%3E%3Cpath d='M0 0A50 9 0 0 0 100 0A50 7 0 0 1 0 0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
        -webkit-mask-mode: alpha;
        mask-mode: alpha;
        transform: rotate(-1.5deg);
        transform-origin: 0 50%;
        clip-path: inset(-2px 100% -2px 0);
        transition: clip-path .35s cubic-bezier(.2,.7,.2,1);
        pointer-events: none;
    }

    &:hover::after, &:focus-visible::after {
        clip-path: inset(-2px 0 -2px 0);
    }
}

a:hover>.smile-link::after {
    clip-path: inset(-2px 0 -2px 0);
}

a:focus-visible>.smile-link::after {
    clip-path: inset(-2px 0 -2px 0);
}

/* ----- text-link ----- */
.text-link {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

/* ----- social-link ----- */
.social-link {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--color-neon);

    &:hover {
        color: #fff;
    }

    & svg {
        width: 16px;
        height: 16px;
    }
}

/* ----- tile ----- */
.tile {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

/* ----- cards ----- */
.cards {
    @supports (animation-timeline: view()) {
        & .card {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

/* ----- steps ----- */
.steps {
    @supports (animation-timeline: view()) {
        & li {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

/* ----- see-also ----- */
.see-also {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

/* ----- tiles ----- */
.tiles {
    @supports (animation-timeline: view()) {
        & >:nth-child(3n+2) {
            animation-range: entry 8% entry 63%;
        }
    }
}

/* ----- cards ----- */
.cards {
    @supports (animation-timeline: view()) {
        & .card:nth-child(3n+2) {
            animation-range: entry 8% entry 63%;
        }
    }
}

/* ----- steps ----- */
.steps {
    @supports (animation-timeline: view()) {
        & li:nth-child(2) {
            animation-range: entry 8% entry 63%;
        }
    }
}

/* ----- tiles ----- */
.tiles {
    @supports (animation-timeline: view()) {
        & >:nth-child(3n+3) {
            animation-range: entry 16% entry 71%;
        }
    }
}

/* ----- cards ----- */
.cards {
    @supports (animation-timeline: view()) {
        & .card:nth-child(3n+3) {
            animation-range: entry 16% entry 71%;
        }
    }
}

/* ----- steps ----- */
.steps {
    @supports (animation-timeline: view()) {
        & li:nth-child(3) {
            animation-range: entry 16% entry 71%;
        }
    }

    @supports (animation-timeline: view()) {
        & li:nth-child(4) {
            animation-range: entry 24% entry 79%;
        }
    }
}

/* ----- cards ----- */
@media (min-width: 600px) and (max-width: 820px) {
    html .page .cards .card {
        width: calc((100% - 30px)/2);
        max-width: none;
    }
}

/* ----- page ----- */
.page {
    @media (max-width: 370px) {
        & .section-title {
            font-size: 33px;
        }
    }
}

/* ----- page-lede ----- */
.page-lede {
    @media (max-width: 820px) {
        font-size: 18px;
    }
}

/* ----- btn ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font: 600 15.5px/1 var(--font-base);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    transition: background .2s,color .2s,box-shadow .2s;
}

.btn--primary {
    background: var(--color-cherry);
    color: #fff;
    box-shadow: inset 0 0 0 3px var(--color-cherry),inset 0 0 0 4.5px rgba(255,243,201,.8);

    &:hover {
        background: var(--color-maroon);
        box-shadow: inset 0 0 0 3px var(--color-maroon),inset 0 0 0 4.5px var(--color-neon);
    }
}

.btn--outline {
    background: transparent;
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1.5px var(--color-ink);

    &:hover {
        background: var(--color-ink);
        color: var(--color-paper);
    }
}

.btn--light {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85);

    &:hover {
        background: #fff;
        color: var(--color-ink);
    }
}

/* ----- page ----- */
.page {
    & .btn {
        transition: background-color .2s,color .2s,box-shadow .2s;
        -webkit-font-smoothing: antialiased;
        backface-visibility: hidden;
    }
}

/* ----- polaroid ----- */
a.polaroid {
    position: relative;
}

a.polaroid::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -18px;
}

/* ----- smile-link ----- */
a.smile-link[href^="mailto:"] {
    white-space: nowrap;
    overflow-wrap: normal;
}

a.smile-link[href^="tel:"] {
    white-space: nowrap;
    overflow-wrap: normal;
}

a[href^="mailto:"] .smile-link {
    white-space: nowrap;
    overflow-wrap: normal;
}

a[href^="tel:"] .smile-link {
    white-space: nowrap;
    overflow-wrap: normal;
}

a[href*="maps"] .smile-link {
    white-space: nowrap;
    overflow-wrap: normal;
}

.smile-link {
    &.smile-link--multiline {
        display: inline;
        text-decoration: underline 2px transparent;
        text-underline-offset: 5px;
        transition: text-decoration-color .25s;
    }

    &.smile-link--multiline::after {
        display: none;
    }
}

a:hover .smile-link.smile-link--multiline {
    text-decoration-color: currentColor;
}

.smile-link {
    &.smile-link--multiline:hover {
        text-decoration-color: currentColor;
    }

    @media (hover: none) {
        &:hover::after {
            clip-path: inset(-2px 100% -2px 0);
        }
    }
}

a:focus-visible .smile-link.smile-link--multiline {
    text-decoration-color: currentColor;
}

@media (hover: none) {
    a:hover>.smile-link::after {
        clip-path: inset(-2px 100% -2px 0);
    }
}

/* ----- polaroid ----- */
.polaroid {
    display: block;
    background: #fff;
    padding: 12px 12px 0;
    box-shadow: 0 1px 0 rgba(38,23,26,.06),0 24px 36px -26px rgba(38,23,26,.6);
    text-decoration: none;
    color: var(--color-ink);
    transition: transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;

    & img {
        display: block;
        width: 100%;
        object-fit: cover;
        filter: saturate(.92) contrast(1.02);
    }

    & .polaroid__caption {
        display: block;
        font-family: var(--font-display);
        font-size: 20px;
        line-height: 1.15;
        padding: 12px 4px 16px;
    }

    & .polaroid__caption small {
        display: block;
        font-family: var(--font-base);
        font-size: 13.5px;
        color: var(--color-muted);
        margin-top: 4px;
    }
}

a.polaroid {
    cursor: pointer;
}

a.polaroid * {
    cursor: pointer;
}

a.polaroid:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 34px 44px -26px rgba(38,23,26,.7);
    z-index: 5;
}

a.polaroid:focus-visible {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 34px 44px -26px rgba(38,23,26,.7);
    z-index: 5;
}

.polaroid--tilt-1 {
    transform: rotate(-2.5deg);
}

.polaroid--tilt-2 {
    transform: rotate(1.8deg);
}

.polaroid--tilt-3 {
    transform: rotate(-1.2deg);
}

.polaroid--tilt-4 {
    transform: rotate(2.6deg);
}

.polaroid--tilt-5 {
    transform: rotate(-3.2deg);
}

.polaroid--tilt-6 {
    transform: rotate(1.6deg);

    & .polaroid__image img {
        object-fit: contain;
        background: #1d130d;
    }
}

/* ----- cards ----- */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 44px 40px;
}

/* ----- card ----- */
.card {
    width: calc((100% - 80px)/3);
    max-width: 400px;

    & img {
        aspect-ratio: 4/3;
    }

    & .polaroid__caption {
        font-size: 28px;
        padding-top: 16px;
    }

    & .polaroid__caption small {
        font-size: 15px;
        line-height: 1.45;
        margin-top: 8px;
    }

    & .card__more {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        font-family: var(--font-base);
        font-weight: 600;
        font-size: 15px;
        color: var(--color-maroon);
        margin-top: 12px;
    }

    & .card__more svg {
        width: 18px;
        height: 18px;
        transition: transform .25s;
    }

    &:hover .card__more svg {
        transform: translateX(5px);
    }

    & .polaroid__image {
        position: relative;
        display: block;
    }
}

/* ----- polaroid ----- */
.polaroid__stamp {
    position: absolute;
    z-index: 2;
    right: -14px;
    top: -14px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--color-maroon);
    color: var(--color-neon);
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    transform: rotate(8deg);
    box-shadow: 0 8px 16px -8px rgba(0,0,0,.5);

    & b {
        display: block;
        font-family: var(--font-display);
        font-weight: 400;
        font-size: 27px;
    }

    & span {
        font-size: 11px;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
}

/* ----- see-also ----- */
.see-also {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--color-rule);
    font-size: 15.5px;

    & span {
        color: var(--color-muted);
    }

    & a {
        font-weight: 500;
    }
}

/* ----- card ----- */
.card {
    @media (max-width: 1120px) {
        width: calc((100% - 40px)/2);
    }

    @media (max-width: 820px) {
        width: 100%;
        max-width: none;
    }
}

/* ----- polaroid ----- */
.polaroid {
    @media (max-width: 820px) {
        & .polaroid__caption {
            font-size: 16px;
            padding: 9px 2px 11px;
        }
    }

    @media (max-width: 820px) {
        & .polaroid__caption small {
            font-size: 12.5px;
        }
    }
}

/* ----- cards ----- */
.cards {
    @media (max-width: 820px) {
        gap: 30px;
    }

    &.cards--three .card {
        width: calc((100% - 80px)/3);
    }
}

/* ----- card ----- */
.card {
    @media (max-width: 820px) {
        & .polaroid__caption {
            font-size: 24px;
        }
    }
}

/* ----- section-lead ----- */
.section-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-ink);
    max-width: 60ch;
}

/* ----- tiles ----- */
.tiles {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

/* ----- tile ----- */
.tile {
    background: #FFFCF6;
    border: 3px solid var(--color-maroon);
    border-radius: 22px;
    padding: 30px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 0 0 5px #FFFCF6,inset 0 0 0 6.5px rgba(122,14,20,.35);

    & h3 {
        font-size: 26px;
        line-height: 1.1;
    }

    & p {
        color: var(--color-muted);
        font-size: 16px;
        line-height: 1.55;
    }
}

/* ----- feature-list ----- */
.feature-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;

    & li {
        position: relative;
        padding-left: 30px;
        font-size: 17px;
        line-height: 1.5;
        color: var(--color-muted);
    }

    & li::before {
        content: "";
        position: absolute;
        left: 4px;
        top: .55em;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-cherry);
    }

    & b {
        color: var(--color-ink);
        font-weight: 600;
    }
}

/* ----- steps ----- */
.steps {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 32px;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        left: 28px;
        right: calc((100% - 96px) / 4 - 28px);
        top: 27px;
        height: 2px;
        background: var(--color-maroon);
        opacity: .35;
    }

    & li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.steps__number {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-cherry);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 26px;
    box-shadow: inset 0 0 0 2px var(--color-cherry),inset 0 0 0 4px var(--color-paper);
    margin-bottom: 14px;
}

.steps {
    & small {
        font-size: 13.5px;
        letter-spacing: .04em;
        color: var(--color-maroon);
        font-weight: 600;
    }

    & h3 {
        font-size: 28px;
        line-height: 1.1;
    }

    & p {
        color: var(--color-muted);
        font-size: 16px;
        line-height: 1.55;
    }

    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 36px;
    }

    @media (max-width: 820px) {
        &::before {
            left: 23px;
            right: auto;
            top: 20px;
            bottom: 60px;
            width: 2px;
            height: auto;
        }
    }

    @media (max-width: 820px) {
        & li {
            padding-left: 66px;
        }
    }
}

.steps__number {
    @media (max-width: 820px) {
        position: absolute;
        left: 0;
        top: 0;
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin: 0;
    }
}

.steps {
    @media (max-width: 820px) {
        & h3 {
            font-size: 24px;
        }
    }
}

/* ----- tiles ----- */
.tiles {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ----- feature-list ----- */
.feature-list {
    @media (max-width: 820px) {
        & li {
            font-size: 16px;
        }
    }
}

/* ----- tile ----- */
.tile {
    @media (max-width: 820px) {
        padding: 24px 22px;
    }
}

/* ----- section-lead ----- */
.section-lead {
    @media (max-width: 820px) {
        font-size: 17px;
    }
}

/* ----- cards ----- */
.cards {
    @media (max-width: 820px) {
        &.cards--three .card {
            width: 100%;
        }
    }

    &.cards--two .card {
        width: calc((100% - 40px)/2);
        max-width: 560px;
    }

    &.cards--gallery .card .polaroid__image img {
        aspect-ratio: 4/5;
        object-fit: cover;
    }

    &.cards--gallery .card .card__more {
        display: flex;
        width: max-content;
    }

    @media (max-width: 820px) {
        &.cards--two .card {
            width: 100%;
        }
    }
}

/* ----- steps ----- */
.steps--three {
    @media (min-width: 821px) {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    @media (min-width: 821px) {
        &::before {
            right: calc((100% - 64px) / 3 - 28px);
        }
    }
}

/* ----- tiles ----- */
.tiles {
    &.tiles--four {
        list-style: none;
        margin: 0;
        padding: 0;
        grid-template-columns: repeat(4,minmax(0,1fr));
    }

    @media (max-width: 1100px) {
        &.tiles--four {
            grid-template-columns: repeat(2,minmax(0,1fr));
        }
    }

    @media (max-width: 820px) {
        &.tiles--four {
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
    }
}

/* ----- tile ----- */
.tile {
    &.dance-day h3 {
        font-size: 34px;
    }

    & .dance-day__hours {
        font-family: var(--font-display);
        font-size: 30px;
        color: var(--color-maroon);
        font-variant-numeric: tabular-nums;
        letter-spacing: -.01em;
    }

    @media (max-width: 820px) {
        &.dance-day h3 {
            font-size: 26px;
        }
    }

    @media (max-width: 820px) {
        & .dance-day__hours {
            font-size: 22px;
        }
    }
}

/* ==========================================================================
   6. SEKCJE (w kolejności z HTML)
   ========================================================================== */

/* ----- top-bar ----- */
.top-bar {
    background: #3A2B22;
    color: #F3EADF;
    font-size: 13.5px;
    position: relative;
    z-index: 50;
}

.top-bar__inner {
    padding-left: max(186px,calc(env(safe-area-inset-left,0px) + 186px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    gap: 20px;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.top-bar__link {
    color: #F3EADF;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;

    &:hover {
        color: #fff;
    }

    & .contact-label {
        color: #D8C4BA;
        font-weight: 400;
    }
}

.top-bar__social {
    display: flex;
    gap: 4px;
    padding-left: 18px;
    border-left: 1px solid rgba(243,234,223,.25);
}

.top-bar {
    & .social-link {
        color: #F3EADF;
    }

    & .social-link:hover {
        color: #fff;
    }

    @media (max-width: 820px) {
        font-size: 12.5px;
    }
}

.top-bar__short {
    display: none;
}

.top-bar__right {
    @media (max-width: 360px) {
        & .top-bar__link .contact-label.top-bar__long {
            display: none;
        }
    }
}

.top-bar__inner {
    @media (max-width: 820px) {
        min-height: 36px;
        gap: 10px;
        justify-content: flex-end;
    }
}

.top-bar__link {
    @media (max-width: 820px) {
        min-height: 36px;
    }
}

.top-bar__right {
    @media (max-width: 820px) {
        gap: 14px;
    }
}

.top-bar__social {
    @media (max-width: 820px) {
        display: none;
    }
}

.top-bar__long {
    @media (max-width: 820px) {
        display: none;
    }
}

.top-bar__inner {
    @media (max-width: 820px) {
        & >.top-bar__link {
            display: none;
        }
    }

    @media (max-width: 820px) {
        padding-left: max(128px,calc(env(safe-area-inset-left,0px) + 128px));
    }
}

.top-bar__right {
    @media (max-width: 820px) {
        & .top-bar__link .contact-label.top-bar__long {
            display: inline;
        }
    }
}

.top-bar__short {
    @media (max-width: 820px) {
        display: inline;
    }
}

/* ----- site-header ----- */
.site-header {
    position: sticky;
    top: env(safe-area-inset-top,0px);
    z-index: 60;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-rule);
    transition: box-shadow .45s ease;

    &.site-header--compact {
        box-shadow: 0 12px 28px -22px rgba(38,23,26,.55);
    }
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-height: 78px;

    @media (max-width: 820px) {
        min-height: 64px;
    }
}

.site-header__logo {
    position: absolute;
    left: max(24px,env(safe-area-inset-left,0px));
    top: -34px;
    width: 136px;
    height: 136px;
    z-index: 3;
    border-radius: 50%;
    background: var(--color-paper);
    padding: 6px;
    box-shadow: 0 14px 26px -16px rgba(38,23,26,.6);
    transform-origin: 50% 50%;
    transition: transform .55s cubic-bezier(.22,.8,.24,1),box-shadow .45s ease;
    will-change: transform;

    & img {
        width: 100%;
        height: 100%;
    }

    &:hover {
        transform: rotate(-8deg);
    }

    @media (max-width: 1120px) {
        width: 124px;
        height: 124px;
        top: -30px;
    }

    @media (max-width: 820px) {
        left: max(14px,env(safe-area-inset-left,0px));
        top: -30px;
        width: 102px;
        height: 102px;
        padding: 4px;
    }
}

.site-header {
    &.site-header--compact .site-header__logo {
        transform: translate(-23px,15px) scale(.66);
        box-shadow: 0 14px 26px -16px rgba(38,23,26,0);
    }

    &.site-header--compact .site-header__logo:hover {
        transform: translate(-23px,15px) scale(.66) rotate(-8deg);
    }

    @media (max-width: 820px) {
        &.site-header--compact .site-header__logo, &.site-header--compact .site-header__logo:hover {
            transform: translate(-15px,18px) scale(.7);
        }
    }
}

.site-header__cta {
    @media (max-width: 1120px) {
        display: none;
    }
}

/* ----- main-nav ----- */
.main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 14px;
    white-space: nowrap;
    font: 500 16.5px/1 var(--font-base);
    color: var(--color-ink);
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;

    & .smile-link::after {
        bottom: -9px;
    }

    &:hover .smile-link::after, &:focus-visible .smile-link::after {
        clip-path: inset(-2px 0 -2px 0);
    }

    & svg {
        width: 12px;
        height: 12px;
        transition: transform .2s;
    }
}

.main-nav__dropdown {
    position: relative;

    &:focus-within .main-nav__link .smile-link::after {
        clip-path: inset(-2px 0 -2px 0);
    }
}

.main-nav__link--highlight {
    color: var(--color-maroon);
    font-weight: 600;
}

.main-nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--color-cream);
    border: 1px solid var(--color-rule);
    border-radius: 16px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .16s,transform .16s,visibility .16s;
    box-shadow: 0 22px 40px -26px rgba(38,23,26,.5);

    & a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 0 12px;
        text-decoration: none;
        font-size: 15.5px;
        color: var(--color-ink);
    }

    & a:hover, & a:focus-visible {
        color: var(--color-maroon);
    }

    & a .smile-link::after {
        bottom: -6px;
    }

    & a:hover .smile-link::after, & a:focus-visible .smile-link::after {
        clip-path: inset(-2px 0 -2px 0);
    }

    & a {
        white-space: nowrap;
    }
}

.main-nav__dropdown {
    &:hover .main-nav__submenu, &:focus-within .main-nav__submenu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    &:hover .main-nav__link svg, &:focus-within .main-nav__link svg {
        transform: rotate(180deg);
    }

    & .main-nav__submenu {
        min-width: max-content;
    }
}

.main-nav {
    @media (max-width: 1300px) {
        gap: 2px;
    }

    @media (max-width: 1120px) {
        display: none;
    }
}

.main-nav__link {
    @media (max-width: 1300px) {
        padding: 0 10px;
        font-size: 15.5px;
    }

    @media (hover: none) {
        &:hover .smile-link::after {
            clip-path: inset(-2px 100% -2px 0);
        }
    }
}

.main-nav__submenu {
    @media (hover: none) {
        & a:hover .smile-link::after {
            clip-path: inset(-2px 100% -2px 0);
        }
    }
}

/* ----- menu-toggle ----- */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 4px 0 14px;
    background: none;
    border: 0;
    font: 600 15px/1 var(--font-base);
    color: var(--color-ink);
    cursor: pointer;

    & svg {
        width: 26px;
        height: 26px;
    }

    @media (max-width: 1120px) {
        display: inline-flex;
    }
}

/* ----- mobile-nav ----- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: radial-gradient(120% 70% at 50% 0%,#5A0E15 0%,#2C0508 55%,#1A0305 100%);
    color: #F3EADF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: max(10px,env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) max(28px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
    overflow-y: auto;
    animation: mIn .28s ease-out;
}

.mobile-nav__top {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
}

.mobile-nav__close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 4px 0 14px;
    background: none;
    border: 0;
    color: #FFF3C9;
    font: 600 15px/1 var(--font-base);
    cursor: pointer;

    & svg {
        width: 26px;
        height: 26px;
    }
}

.mobile-nav__logo {
    display: block;
    width: 88px;
    height: 88px;
    margin: 6px 0 22px;
    flex: none;

    & img {
        width: 100%;
        height: 100%;
    }
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0;
    background: none;
    border: 0;
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1.2;
    color: #F3EADF;
    text-decoration: none;
    cursor: pointer;

    &:hover, &:focus-visible {
        color: var(--color-neon);
    }
}

.mobile-nav__row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: -44px;
}

.mobile-nav__toggle {
    width: 36px;
    height: 36px;
    border: 0;
    background: none;
    color: #FFF3C9;
    display: grid;
    place-items: center;
    cursor: pointer;

    & svg {
        width: 18px;
        height: 18px;
        transition: transform .2s;
    }

    &.is-open svg {
        transform: rotate(180deg);
    }
}

.mobile-nav__submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 0 12px;

    & a {
        min-height: 40px;
        display: flex;
        align-items: center;
        font-size: 16px;
        text-decoration: none;
        color: #E9CFC6;
    }

    & a:hover {
        color: var(--color-neon);
    }
}

.mobile-nav__contact {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.mobile-nav__line {
    width: 60px;
    height: 2px;
    background: rgba(255,243,201,.3);
}

.mobile-nav__phone {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.1;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.mobile-nav__meta {
    font-size: 14px;
    text-decoration: none;
}

.mobile-nav__social {
    display: flex;
    gap: 10px;
    margin-top: 4px;

    & a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(255,243,201,.35);
        display: grid;
        place-items: center;
        color: #fff;
    }

    & a:hover {
        color: var(--color-neon);
        border-color: var(--color-neon);
    }

    & svg {
        width: 18px;
        height: 18px;
    }
}

/* ----- hero ----- */
.hero {
    position: relative;
    height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-night-dark);
    color: #fff;

    & video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(44,5,8,.62) 0%,rgba(44,5,8,.5) 50%,rgba(44,5,8,.78) 100%);
    }

    & h1 {
        font-size: clamp(46px,6.2vw,96px);
        line-height: 1;
        letter-spacing: -.015em;
        max-width: 12em;
        color: #fff;
    }

    & h1 em {
        color: var(--color-neon);
    }

    & p.hero__lead {
        font-size: 20px;
        line-height: 1.5;
        max-width: 44ch;
        color: #F7E6DE;
        margin-top: 24px;
    }

    & .actions {
        margin-top: 34px;
        justify-content: center;
    }
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    @media (max-width: 820px) {
        padding-top: 70px;
    }
}

.hero__video-toggle {
    position: absolute;
    right: max(24px,env(safe-area-inset-right,0px));
    bottom: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(44,5,8,.4);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;

    & svg {
        width: 16px;
        height: 16px;
    }
}

.hero__email {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-ink);
    text-decoration: none;
    line-height: 1.1;
    overflow-wrap: anywhere;

    & small {
        font-family: var(--font-base);
        font-size: 14px;
        color: var(--color-muted);
    }
}

.hero__address {
    font-family: var(--font-display);
    font-size: clamp(40px,4.2vw,62px);
    line-height: 1;
    text-decoration: none;

    & em {
        color: var(--color-maroon);
    }
}

.hero__phones {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;

    & a {
        text-decoration: none;
        font-family: var(--font-display);
        font-size: 28px;
        line-height: 1.1;
    }

    & small {
        display: block;
        font-family: var(--font-base);
        font-size: 14px;
        color: var(--color-muted);
    }
}

.hero {
    height: calc(100vh - 119px);
    height: calc(100svh - 119px);
    min-height: 560px;
    max-height: 1200px;

    @media (max-width: 820px) {
        height: 600px;
    }

    @media (max-width: 820px) {
        & h1 {
            font-size: clamp(40px,11vw,60px);
        }
    }

    @media (max-width: 820px) {
        & p.hero__lead {
            font-size: 17px;
        }
    }

    @media (max-width: 820px) {
        height: calc(100vh - 101px);
        height: calc(100svh - 101px);
        min-height: 520px;
    }
}

.hero__phones {
    @media (max-width: 820px) {
        & a {
            font-size: 25px;
        }
    }
}

.hero__email {
    @media (max-width: 820px) {
        font-size: 22px;
    }
}

.hero__address {
    @media (max-width: 400px) {
        font-size: 34px;
    }
}

.hero__email {
    @media (max-width: 400px) {
        font-size: 19px;
    }
}

.hero__video-toggle {
    & span {
        display: grid;
        place-items: center;
    }
}

/* ----- menu-teaser ----- */
.menu-teaser {
    position: relative;
    padding-top: 100px;
    padding-bottom: 110px;
    overflow: hidden;
    background: var(--color-paper);

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient(90deg,rgba(163,22,30,.085) 50%,transparent 50%),linear-gradient(rgba(163,22,30,.085) 50%,transparent 50%);
        background-size: 46px 46px;
        background-position: center top;
        -webkit-mask-image: linear-gradient(to bottom,transparent 0,transparent 30%,#000 62%,#000 100%);
        mask-image: linear-gradient(to bottom,transparent 0,transparent 30%,#000 62%,#000 100%);
    }
}

.menu-teaser__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.menu-teaser__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: .9;

    & span {
        font-size: clamp(96px,10.5vw,150px);
        color: var(--color-maroon);
        letter-spacing: -.02em;
    }

    & small {
        font-family: var(--font-base);
        font-size: 15px;
        letter-spacing: .32em;
        text-transform: uppercase;
        color: var(--color-muted);
        margin-top: 14px;
    }
}

.menu-teaser {
    & .actions {
        display: none;
    }

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    @media (max-width: 820px) {
        & .actions {
            display: flex;
            margin-top: 60px;
        }
    }
}

/* ----- menu-fan ----- */
.menu-fan {
    position: relative;
    display: block;
    width: 100%;
    height: 580px;
    margin-top: -34px;
    outline: none;
    pointer-events: none;
    text-decoration: none;

    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }

    &::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 1180px;
        height: 540px;
        margin-left: -590px;
        pointer-events: auto;
        cursor: pointer;
        z-index: 15;
    }

    & .menu-fan__card {
        position: absolute;
        left: 50%;
        bottom: 44px;
        width: 240px;
        aspect-ratio: 1/2;
        margin-left: -120px;
        transform-origin: 50% 92%;
        z-index: calc(10 - var(--fan-distance));
        transform: translate3d(calc(var(--fan-offset) * 148px),calc(var(--fan-distance) * 16px),0) rotate(calc(var(--fan-offset) * 4.5deg));
        box-shadow: 0 26px 40px -22px rgba(38,23,26,.6),0 0 0 1px rgba(38,23,26,.06);
        transition: transform .7s cubic-bezier(.45,0,.25,1);
        will-change: transform;
        backface-visibility: hidden;
    }

    & .menu-fan__card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    & .menu-fan__card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(44,5,8,.3);
        opacity: 0;
        transition: opacity .25s ease-out;
    }

    & .menu-fan__card--1 {
        --fan-offset: -3;
        --fan-distance: 3;
    }

    & .menu-fan__card--2 {
        --fan-offset: -2;
        --fan-distance: 2;
    }

    & .menu-fan__card--3 {
        --fan-offset: -1;
        --fan-distance: 1;
    }

    & .menu-fan__card--4 {
        --fan-offset: 0;
        --fan-distance: 0;
    }

    & .menu-fan__card--5 {
        --fan-offset: 1;
        --fan-distance: 1;
    }

    & .menu-fan__card--6 {
        --fan-offset: 2;
        --fan-distance: 2;
    }

    & .menu-fan__card--7 {
        --fan-offset: 3;
        --fan-distance: 3;
    }

    &:hover .menu-fan__card, &:focus-visible .menu-fan__card {
        transform: translate3d(calc(var(--fan-offset) * 160px),calc(var(--fan-distance) * 20px - 6px),0) rotate(calc(var(--fan-offset) * 5.4deg));
    }

    &:hover .menu-fan__card::after, &:focus-visible .menu-fan__card::after {
        opacity: 1;
    }
}

.menu-fan__cta {
    position: absolute;
    left: 0;
    right: 0;
    top: 67%;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #FFFCF6;
    font-family: var(--font-display);
    font-size: clamp(34px,3.2vw,46px);
    line-height: 1;
    letter-spacing: -.01em;
    text-shadow: 0 2px 24px rgba(44,5,8,.7),0 1px 3px rgba(44,5,8,.5);
    opacity: 0;
    transform: translate3d(0,8px,0);
    pointer-events: none;
    transition: opacity .3s ease-out,transform .5s cubic-bezier(.25,.8,.25,1);

    & svg {
        width: 30px;
        height: 30px;
        transition: transform .7s cubic-bezier(.45,0,.25,1);
    }
}

.menu-fan {
    &:hover .menu-fan__cta, &:focus-visible .menu-fan__cta {
        opacity: 1;
        transform: none;
    }

    &:hover .menu-fan__cta svg, &:focus-visible .menu-fan__cta svg {
        transform: translateX(4px);
    }

    &:focus-visible::before {
        outline: 3px solid var(--color-ink);
        outline-offset: 6px;
        border-radius: 12px;
    }

    @media (max-width: 820px) {
        height: 300px;
        margin-top: -14px;
        pointer-events: auto;
    }

    @media (max-width: 820px) {
        & .menu-fan__card, &:hover .menu-fan__card {
            width: 122px;
            margin-left: -61px;
            bottom: 0;
            transform: translateY(calc(var(--fan-distance) * 7px)) rotate(calc(var(--fan-offset) * 13deg));
        }
    }

    @media (max-width: 820px) {
        &:hover .menu-fan__card::after {
            opacity: 0;
        }
    }

    @media (max-width: 820px) {
        & .menu-fan__card--1, & .menu-fan__card--7 {
            display: none;
        }
    }

    @media (max-width: 820px) {
        &::before {
            width: 100%;
            height: 100%;
            left: 0;
            margin-left: 0;
        }
    }
}

.menu-fan__cta {
    @media (max-width: 820px) {
        display: none;
    }
}

/* ----- offer ----- */
.offer {
    padding-top: 120px;
    padding-bottom: 110px;

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

/* ----- section-header ----- */
.section-header {
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,5fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 56px;

    & p {
        color: var(--color-muted);
        max-width: 48ch;
    }

    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ----- banner ----- */
.banner--solo {
    @supports (animation-timeline: view()) {
        & .banner__content {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

.banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--color-night-dark);

    & img.cover-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(44,5,8,.9) 0%,rgba(44,5,8,.72) 50%,rgba(44,5,8,.45) 100%);
    }

    & h2 {
        font-size: clamp(40px,4.8vw,72px);
        line-height: 1;
        max-width: 12em;
        color: #fff;
    }

    & h2 em {
        color: var(--color-neon);
    }

    & p {
        max-width: 44ch;
        font-size: 18px;
        color: #F7E6DE;
    }

    & .polaroid {
        width: min(340px,100%);
        justify-self: center;
    }

    & .polaroid img {
        aspect-ratio: 1;
    }
}

.banner__inner {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,5fr);
    gap: 56px;
    align-items: center;
}

.banner__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}

.banner--solo {
    & .banner__inner {
        grid-template-columns: 1fr;
    }

    & h2 {
        max-width: 14em;
    }

    & p {
        max-width: 58ch;
    }

    &::after {
        background: linear-gradient(90deg,rgba(44,5,8,.9) 0%,rgba(44,5,8,.74) 55%,rgba(44,5,8,.55) 100%);
    }
}

.banner--dancing {
    &::after {
        background: linear-gradient(90deg,rgba(44,5,8,.92) 0%,rgba(44,5,8,.82) 55%,rgba(44,5,8,.72) 100%);
    }
}

.banner__inner {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

.banner {
    @media (max-width: 820px) {
        &::after {
            background: rgba(44,5,8,.74);
        }
    }

    @media (max-width: 820px) {
        & .polaroid {
            width: 70%;
            justify-self: start;
        }
    }
}

.banner--subpage {
    & .banner__inner {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    & h1 {
        font-size: clamp(46px,5.6vw,84px);
        line-height: .98;
        max-width: 13em;
        color: #fff;
    }

    & h1 em {
        color: var(--color-neon);
    }

    & p {
        font-size: 19px;
    }

    @media (max-width: 820px) {
        & .banner__inner {
            padding-top: 80px;
            padding-bottom: 80px;
        }
    }

    @media (max-width: 820px) {
        & h1 {
            font-size: 42px;
        }
    }

    @media (max-width: 820px) {
        & p {
            font-size: 17px;
        }
    }
}

/* ----- breadcrumbs ----- */
.breadcrumbs {
    font-size: 14px;
    color: #E9CFC6;

    & a {
        color: #F3EADF;
        text-decoration: none;
    }
}

/* ----- social-gallery ----- */
.social-gallery {
    position: relative;
    padding-top: 120px;
    padding-bottom: 110px;
    overflow: hidden;

    @media (max-width: 820px) {
        padding-top: 80px;
        padding-bottom: 70px;
    }
}

.social-gallery__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;

    & p {
        color: var(--color-muted);
        margin-top: 12px;
    }

    & .btn svg {
        width: 18px;
        height: 18px;
    }
}

.social-gallery {
    @media (max-width: 820px) {
        & >.container {
            display: flex;
            flex-direction: column;
        }
    }
}

.social-gallery__header {
    @media (max-width: 820px) {
        display: contents;
    }

    @media (max-width: 820px) {
        & >div {
            order: 1;
        }
    }

    @media (max-width: 820px) {
        & .actions {
            order: 2;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            margin-top: 26px;
        }
    }

    @media (max-width: 820px) {
        & .actions .text-link {
            margin-top: 6px;
        }
    }

    @media (max-width: 820px) {
        & >div, & .actions {
            position: relative;
            z-index: 1;
        }
    }
}

/* ----- visit ----- */
.visit__map {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

.visit__info {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

.visit {
    background: var(--color-cream);
    border-top: 1px solid var(--color-rule);
    padding-top: 110px;
    padding-bottom: 110px;

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

.visit__grid {
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,5fr);
    gap: 64px;
    align-items: center;
}

.visit__map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;

    & .polaroid {
        width: 100%;
        max-width: 720px;
    }

    & .polaroid img {
        aspect-ratio: 800/494;
    }

    & .actions {
        justify-content: center;
    }

    & small {
        font-size: 13.5px;
        color: var(--color-muted);
        text-align: center;
        max-width: 44ch;
    }
}

.visit__info {
    display: flex;
    flex-direction: column;
    gap: 26px;

    @media (max-width: 820px) {
        order: 1;
    }
}

.visit__grid {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    @media (max-width: 820px) {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.visit__map {
    @media (max-width: 820px) {
        order: 2;
        align-items: flex-start;
    }

    @media (max-width: 820px) {
        & .actions {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }
    }
}

/* ----- hours-table ----- */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-size: 15.5px;

    & th {
        text-align: left;
        font-weight: 500;
        padding: 9px 0;
        border-bottom: 1px solid var(--color-rule);
    }

    & td {
        text-align: right;
        padding: 9px 0;
        border-bottom: 1px solid var(--color-rule);
        font-weight: 600;
    }

    & caption {
        text-align: left;
        font-family: var(--font-display);
        font-size: 24px;
        padding-bottom: 8px;
    }
}

/* ----- section ----- */
.section {
    padding-top: 110px;
    padding-bottom: 110px;

    @supports (animation-timeline: view()) {
        & .section-title, & .section-header>p {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }

    &.section--alt {
        background: var(--color-cream);
        border-top: 1px solid var(--color-rule);
        border-bottom: 1px solid var(--color-rule);
    }

    & .section-header {
        margin-bottom: 48px;
    }

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    &.section--more {
        padding-bottom: 56px;
    }

    @media (max-width: 820px) {
        &.section--more {
            padding-bottom: 40px;
        }
    }
}

.section--features {
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient(90deg,rgba(163,22,30,.1) 50%,transparent 50%),linear-gradient(rgba(163,22,30,.1) 50%,transparent 50%);
        background-size: 46px 46px;
        -webkit-mask-image: linear-gradient(to bottom,transparent 0,transparent 35%,#000 80%);
        mask-image: linear-gradient(to bottom,transparent 0,transparent 35%,#000 80%);
    }

    & >.container {
        position: relative;
        z-index: 1;
    }
}

.section--history {
    & .steps__number {
        width: auto;
        min-width: 56px;
        padding: 0 16px;
        border-radius: 999px;
        font-size: 22px;
    }

    @media (max-width: 820px) {
        & .steps li {
            padding-left: 0;
        }
    }

    @media (max-width: 820px) {
        & .steps::before {
            display: none;
        }
    }

    @media (max-width: 820px) {
        & .steps__number {
            position: static;
            width: auto;
            height: 40px;
            font-size: 18px;
            margin-bottom: 6px;
            align-self: flex-start;
        }
    }
}

.section--more {
    & .see-also {
        margin-top: 64px;
    }

    @media (max-width: 820px) {
        & .see-also {
            margin-top: 44px;
        }
    }
}

/* ----- split ----- */
.split__media {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

.split__content {
    @supports (animation-timeline: view()) {
        & >* {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

.split {
    display: grid;
    grid-template-columns: minmax(0,5fr) minmax(0,6fr);
    gap: 72px;
    align-items: center;

    & .polaroid {
        transform: rotate(-2deg);
    }

    & .polaroid img {
        aspect-ratio: 4/5;
    }

    & .polaroid .polaroid__caption {
        min-height: 46px;
    }
}

.split__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;

    @media (max-width: 820px) {
        order: -1;
    }
}

.split {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.split--reverse {
    grid-template-columns: minmax(0,6fr) minmax(0,5fr);

    & .polaroid {
        transform: rotate(2.5deg);
    }

    @media (max-width: 820px) {
        grid-template-columns: 1fr;
    }
}

.split__text {
    color: var(--color-muted);
    font-size: 16.5px;
    line-height: 1.65;
    max-width: 58ch;
}

/* ----- tickets ----- */
.tickets {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(20px,3vw,40px);
    margin-top: 34px;
    align-items: start;

    & figure {
        margin: 0;
    }

    & img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 26px 50px -24px rgba(28,10,12,.6),0 0 0 1px rgba(38,23,26,.08);
    }

    & figure:first-child {
        transform: rotate(-1.6deg);
    }

    & figure:last-child {
        transform: rotate(1.4deg) translateY(14px);
    }

    & figcaption {
        margin-top: 12px;
        font-size: 14.5px;
        color: var(--color-muted);
        text-align: center;
    }

    @media (max-width: 820px) {
        grid-template-columns: minmax(0,1fr);
        gap: 26px;
    }

    @media (max-width: 820px) {
        & figure:last-child {
            transform: rotate(1deg);
        }
    }
}

/* ----- photo-strip ----- */
.photo-strip__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;

    @media (max-width: 820px) {
        flex-wrap: wrap;
    }
}

.photo-strip__arrows {
    display: flex;
    align-items: center;
    gap: 12px;

    & .text-link {
        margin-right: 12px;
    }
}

.photo-strip {
    overflow: hidden;

    & .carousel__btn {
        position: static;
    }

    & .carousel {
        margin-top: 30px;
    }

    & .carousel__slide .polaroid {
        padding-bottom: 12px;
    }

    @media (max-width: 820px) {
        & .carousel {
            padding-bottom: 0;
        }
    }
}

.photo-strip__arrows--mobile {
    display: none;
}

.photo-strip__header {
    @media (max-width: 820px) {
        & .photo-strip__arrows {
            display: none;
        }
    }
}

.photo-strip__arrows--mobile {
    @media (max-width: 820px) {
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ----- carousel ----- */
.carousel__slide {
    flex: 0 0 calc((100% - 96px) / 4.3);
    scroll-snap-align: start;

    & .polaroid {
        position: relative;
    }

    & .polaroid::before {
        content: "";
        position: absolute;
        left: -10px;
        right: -10px;
        top: -10px;
        bottom: -18px;
    }
}

.carousel {
    position: relative;
    margin-top: 44px;

    & .carousel__track {
        margin-right: calc((100% - 100vw) / 2);
        padding-right: 0;
    }

    @media (max-width: 820px) {
        margin-top: 30px;
    }

    @media (max-width: 820px) {
        padding-bottom: 30px;
    }
}

.carousel__track {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    list-style: none;
    margin: 0 -24px;
    padding: 26px 24px 44px;
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    &.is-dragging {
        cursor: grabbing;
    }

    &.is-dragging a {
        pointer-events: none;
    }

    & img {
        -webkit-user-drag: none;
    }

    &::-webkit-scrollbar {
        display: none;
    }
}

.carousel__slide {
    & .polaroid {
        display: block;
        padding: 12px 12px 0;
        transition: transform .5s cubic-bezier(.25,.8,.25,1);
    }

    & .polaroid:hover {
        transform: rotate(0deg) translateY(-6px);
    }

    & .polaroid img {
        aspect-ratio: 4/5;
        object-fit: cover;
        width: 100%;
    }

    & .polaroid .polaroid__caption {
        font-size: 21px;
        padding: 12px 4px 16px;
    }

    @media (max-width: 820px) {
        flex-basis: 72%;
    }
}

.carousel__btn {
    position: absolute;
    top: -98px;
    z-index: 3;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    background: var(--color-cherry);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(44,5,8,.6),inset 0 0 0 2px var(--color-cherry),inset 0 0 0 4px var(--color-paper);
    transition: background .2s,transform .2s;

    &:hover {
        background: var(--color-maroon);
    }

    &:focus-visible {
        outline: 3px solid var(--color-ink);
        outline-offset: 3px;
    }

    & svg {
        width: 24px;
        height: 24px;
    }

    @media (max-width: 820px) {
        width: 46px;
        height: 46px;
        top: auto;
        bottom: -34px;
    }
}

.carousel__btn--prev {
    right: 68px;
}

.carousel__btn--next {
    right: 0;
}

.carousel__track {
    @media (max-width: 820px) {
        margin: 0 -16px;
        padding: 18px 16px 30px;
        gap: 18px;
    }
}

.carousel__slide {
    @media (max-width: 820px) {
        & .polaroid .polaroid__caption {
            font-size: 17px;
            padding: 9px 2px 12px;
        }
    }
}

.carousel__btn--prev {
    @media (max-width: 820px) {
        left: calc(50% - 54px);
        right: auto;
    }
}

.carousel__btn--next {
    @media (max-width: 820px) {
        left: calc(50% + 8px);
        right: auto;
    }
}

.carousel {
    @media (max-width: 820px) {
        z-index: 1;
    }

    @media (max-width: 820px) {
        order: 4;
    }
}

/* ----- dance-day ----- */
.dance-day {
    align-items: flex-start;
}

.dance-day__kind {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--color-cherry);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;

    &.dance-day__kind--dj {
        background: var(--color-night-dark);
        color: var(--color-neon);
    }
}

.dance-day {
    @media (max-width: 820px) {
        padding: 20px 16px;
    }
}

/* ----- contact-hero ----- */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    padding-bottom: 100px;
    background: var(--color-paper);

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient(90deg,rgba(163,22,30,.12) 50%,transparent 50%),linear-gradient(rgba(163,22,30,.12) 50%,transparent 50%);
        background-size: 46px 46px;
        background-position: center top;
        -webkit-mask-image: linear-gradient(to bottom,transparent 0,transparent 30%,#000 70%,#000 100%);
        mask-image: linear-gradient(to bottom,transparent 0,transparent 30%,#000 70%,#000 100%);
    }

    & h1 {
        font-size: clamp(48px,5.4vw,80px);
        line-height: 1;
        color: var(--color-maroon);
        text-align: center;
    }

    & .page-lede {
        text-align: center;
        color: var(--color-muted);
        font-size: 18px;
        margin: 16px auto 0;
        max-width: 52ch;
    }
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,5fr) minmax(0,6fr);
    gap: 56px;
    align-items: start;
    margin-top: 56px;
}

.contact-hero__details {
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: var(--color-cream);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 50px -36px rgba(44,5,8,.55),0 0 0 1px var(--color-rule);

    & .hours-table th, & .hours-table td {
        border: 0;
        padding: 5px 0;
    }

    & .hours-table caption {
        padding-bottom: 10px;
    }

    @media (max-width: 820px) {
        padding: 26px 20px;
        border-radius: 16px;
    }
}

.contact-hero {
    & .contact-hero__details, & .inquiry, & form.inquiry {
        background: #FFFCF6;
        background-color: #FFFCF6;
    }

    @media (max-width: 820px) {
        padding-top: 40px;
        padding-bottom: 64px;
    }

    @media (max-width: 820px) {
        &::before {
            background-size: 36px 36px;
        }
    }

    @media (max-width: 820px) {
        & h1 {
            font-size: 48px;
        }
    }

    @media (max-width: 820px) {
        & .page-lede {
            font-size: 16.5px;
        }
    }
}

.contact-hero__grid {
    @media (max-width: 820px) {
        grid-template-columns: minmax(0,1fr);
        gap: 26px;
        margin-top: 32px;
    }
}

/* ----- quick-contact ----- */
.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 22px;

    & .smile-link {
        align-self: flex-start;
    }
}

.quick-contact__phone {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.15;
    padding: 0;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.quick-contact__email {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.15;
    padding: 0;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.quick-contact__phone {
    & small {
        font-family: var(--font-base);
        font-size: 14px;
        line-height: 1.3;
        color: var(--color-muted);
        margin-bottom: 4px;
    }
}

.quick-contact__email {
    & small {
        font-family: var(--font-base);
        font-size: 14px;
        line-height: 1.3;
        color: var(--color-muted);
        margin-bottom: 4px;
    }
}

.quick-contact__phone {
    &:hover {
        color: var(--color-maroon);
    }

    @media (max-width: 820px) {
        font-size: 21px;
        overflow-wrap: normal;
    }
}

.quick-contact__email {
    &:hover {
        color: var(--color-maroon);
    }
}

.quick-contact__alt {
    & a.smile-link {
        text-decoration: none;
        color: var(--color-maroon);
        font-weight: 600;
    }
}

.quick-contact__email {
    & em {
        color: var(--color-maroon);
    }

    @media (max-width: 820px) {
        font-size: 21px;
        overflow-wrap: normal;
    }
}

.quick-contact {
    & .smile-link {
        display: inline-block;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

/* ----- bank-account ----- */
.bank-account {
    font-size: 14.5px;
    color: var(--color-muted);
    line-height: 1.5;

    & b {
        display: block;
        color: var(--color-ink);
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: .02em;
    }
}

/* ----- directions ----- */
.directions {
    background: var(--color-cream);
    border-top: 1px solid var(--color-rule);
    padding-top: 100px;
    padding-bottom: 110px;

    & .polaroid {
        width: 100%;
    }

    & .polaroid img {
        aspect-ratio: 800/494;
    }

    @media (max-width: 820px) {
        padding-top: 64px;
        padding-bottom: 70px;
    }
}

.directions__grid {
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,5fr);
    gap: 64px;
    align-items: center;
}

.directions__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;

    & p {
        color: var(--color-muted);
        max-width: 44ch;
    }

    @media (max-width: 820px) {
        order: -1;
    }
}

.directions__grid {
    @media (max-width: 820px) {
        grid-template-columns: minmax(0,1fr);
        gap: 26px;
        margin-top: 32px;
    }
}

/* ----- inquiry ----- */
.inquiry {
    background: var(--color-cream);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 50px -36px rgba(44,5,8,.55),0 0 0 1px var(--color-rule);

    & h2 {
        font-size: 36px;
        line-height: 1.05;
    }

    & h2 em {
        color: var(--color-maroon);
    }

    & >p {
        color: var(--color-muted);
        margin-top: 10px;
        font-size: 15.5px;
    }

    & .actions {
        grid-column: 1/-1;
        margin-top: 6px;
        align-items: center;
    }

    & .quick-contact__alt {
        font-size: 14.5px;
        color: var(--color-muted);
    }

    & .quick-contact__alt a {
        color: var(--color-maroon);
        font-weight: 600;
    }
}

.inquiry__success {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 26px 0 6px;

    & h3 {
        font-size: 30px;
        color: var(--color-maroon);
    }
}

.inquiry {
    @media (max-width: 820px) {
        padding: 26px 20px;
        border-radius: 16px;
    }

    @media (max-width: 820px) {
        & h2 {
            font-size: 30px;
        }
    }

    @media (max-width: 820px) {
        & .actions {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    & .inquiry__success:focus {
        outline: none;
    }
}

/* ----- inquiry-form ----- */
.inquiry-form__consent {
    & a.smile-link {
        text-decoration: none;
        color: var(--color-maroon);
        font-weight: 600;
    }
}

.inquiry-form {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.inquiry-form__field {
    min-width: 0;

    & input[type=date] {
        display: block;
        min-width: 0;
        max-width: 100%;
        -webkit-appearance: none;
        appearance: none;
        text-align: left;
    }

    & input[type=date]::-webkit-date-and-time-value {
        text-align: left;
    }
}

.inquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    margin-top: 26px;

    @media (max-width: 820px) {
        grid-template-columns: minmax(0,1fr);
    }
}

.inquiry-form__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink);

    &.inquiry-form__field--wide {
        grid-column: 1/-1;
    }

    & i {
        font-style: normal;
        color: var(--color-cherry);
    }

    & input, & select, & textarea {
        font: 400 16px/1.4 var(--font-base);
        color: var(--color-ink);
        background: #fff;
        border: 1px solid rgba(38,23,26,.28);
        border-radius: 12px;
        padding: 13px 14px;
        min-height: 50px;
        width: 100%;
        box-sizing: border-box;
    }

    & textarea {
        min-height: 130px;
        resize: vertical;
    }

    & input:focus, & select:focus, & textarea:focus {
        outline: none;
        border-color: var(--color-cherry);
        box-shadow: 0 0 0 3px rgba(163,22,30,.18);
    }
}

.inquiry-form__consent {
    grid-column: 1/-1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--color-muted);
    font-weight: 400;

    & input {
        width: 22px;
        height: 22px;
        min-height: 0;
        margin: 1px 0 0;
        accent-color: var(--color-cherry);
        flex: none;
    }
}

.inquiry-form__honeypot {
    position: absolute;
    left: -9999px;
}

.inquiry-form__error {
    grid-column: 1/-1;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FBE3E4;
    color: #7A0E14;
    font-size: 15px;
}

/* ----- menu-viewer ----- */
.menu-viewer {
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    padding-bottom: 96px;
    background: var(--color-paper);

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(90deg,rgba(163,22,30,.12) 50%,transparent 50%),linear-gradient(rgba(163,22,30,.12) 50%,transparent 50%);
        background-size: 46px 46px;
        background-position: center top;
        -webkit-mask-image: linear-gradient(to bottom,transparent 0,transparent 24%,#000 56%,#000 100%);
        mask-image: linear-gradient(to bottom,transparent 0,transparent 24%,#000 56%,#000 100%);
    }

    @media (max-width: 820px) {
        padding-top: 40px;
        padding-bottom: 64px;
    }

    @media (max-width: 820px) {
        &::before {
            background-size: 36px 36px;
        }
    }
}

.menu-viewer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.menu-viewer__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;

    & h1 {
        font-size: clamp(48px,5.4vw,80px);
        line-height: 1;
        color: var(--color-maroon);
    }
}

.menu-viewer__stage {
    display: grid;
    grid-template-columns: 64px minmax(0,1fr) 64px;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1080px;
}

.menu-viewer__arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: var(--color-cherry);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 26px -12px rgba(44,5,8,.7),inset 0 0 0 2px var(--color-cherry),inset 0 0 0 4px var(--color-paper);
    transition: background .2s,transform .2s;

    &:hover {
        background: var(--color-maroon);
        transform: scale(1.05);
    }

    &:disabled {
        opacity: .35;
        cursor: default;
        transform: none;
    }

    &:focus-visible {
        outline: 3px solid var(--color-ink);
        outline-offset: 3px;
    }

    & svg {
        width: 26px;
        height: 26px;
    }
}

.menu-viewer__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-cream);
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 24px -16px rgba(44,5,8,.45),0 0 0 1px var(--color-rule);
}

.menu-viewer__dots {
    display: flex;
    gap: 8px;
}

.menu-viewer__count {
    font-variant-numeric: tabular-nums;
    font-size: 14.5px;
    color: var(--color-muted);
    min-width: 13ch;
    text-align: center;
}

.menu-viewer__arrow--mobile {
    display: none;
}

.menu-viewer__header {
    @media (max-width: 820px) {
        & h1 {
            font-size: 44px;
        }
    }

    @media (max-width: 420px) {
        & h1 {
            font-size: clamp(32px,10vw,44px);
        }
    }
}

.menu-viewer__stage {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        gap: 0;
    }

    @media (max-width: 820px) {
        & >.menu-viewer__arrow {
            display: none;
        }
    }
}

.menu-viewer__arrow--mobile {
    @media (max-width: 820px) {
        display: grid;
        width: 48px;
        height: 48px;
    }
}

.menu-viewer__nav {
    @media (max-width: 820px) {
        padding: 8px 10px;
        gap: 10px;
    }
}

.menu-viewer__dots {
    @media (max-width: 820px) {
        display: none;
    }
}

/* ----- menu-book ----- */
.menu-book {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    aspect-ratio: 1/1;
    perspective: 7000px;
    overflow-x: visible;
    overflow-y: clip;
    box-shadow: 0 50px 70px -40px rgba(44,5,8,.75),0 0 0 1px rgba(44,5,8,.08);
    background: #fff;
    touch-action: pan-y;
    justify-self: center;

    &::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 36px;
        margin-left: -18px;
        background: linear-gradient(90deg,transparent,rgba(0,0,0,.26) 50%,transparent);
        pointer-events: none;
        z-index: 6;
    }
}

.menu-book__page {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}

.menu-book__leaf {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 5;

    &.menu-book__leaf--next {
        left: 50%;
        transform-origin: left center;
        animation: fn .7s cubic-bezier(.4,.2,.2,1) forwards;
    }

    &.menu-book__leaf--prev {
        left: 0;
        transform-origin: right center;
        animation: fp .7s cubic-bezier(.4,.2,.2,1) forwards;
    }

    & .menu-book__leaf-front, & .menu-book__leaf-back {
        position: absolute;
        inset: 0;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    & .menu-book__leaf-back {
        transform: rotateY(180deg);
    }

    & .menu-book__leaf-front::after, & .menu-book__leaf-back::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(0,0,0,.18),transparent 40%);
        pointer-events: none;
        opacity: 0;
        animation: lsh .7s cubic-bezier(.4,.2,.2,1) forwards;
    }
}

.menu-book {
    @media (max-width: 820px) {
        grid-template-columns: 1fr;
        aspect-ratio: 1/2;
        width: min(100%,360px);
    }

    @media (max-width: 820px) {
        &::after, & .menu-book__page--right {
            display: none;
        }
    }

    @media (max-width: 820px) {
        overflow: hidden;
    }
}

.menu-book__leaf {
    @media (max-width: 820px) {
        width: 100%;
    }

    @media (max-width: 820px) {
        &.menu-book__leaf--next {
            left: 0;
            animation-name: fnm;
        }
    }

    @media (max-width: 820px) {
        &.menu-book__leaf--prev {
            left: 0;
            transform-origin: left center;
            animation-name: fpm;
        }
    }

    @media (max-width: 820px) {
        &.menu-book__leaf--next {
            box-shadow: -22px 0 34px -14px rgba(28,10,12,.45);
        }
    }

    @media (max-width: 820px) {
        &.menu-book__leaf--prev {
            box-shadow: 22px 0 34px -14px rgba(28,10,12,.45);
        }
    }

    @media (max-width: 820px) {
        & .menu-book__leaf-back, & .menu-book__leaf-front::after {
            display: none;
        }
    }
}

/* ----- cta-banner ----- */
.cta-banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--color-night-dark);

    & img.cover-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(44,5,8,.92) 0%,rgba(44,5,8,.76) 55%,rgba(44,5,8,.56) 100%);
    }

    & h2 {
        font-size: clamp(40px,4.8vw,68px);
        line-height: 1;
        max-width: 14em;
        color: #fff;
    }

    & h2 em {
        color: var(--color-neon);
    }

    & p {
        max-width: 56ch;
        font-size: 18px;
        color: #F7E6DE;
    }

    @media (max-width: 820px) {
        &::after {
            background: rgba(44,5,8,.78);
        }
    }
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;

    @media (max-width: 820px) {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

/* ----- occasional-menu ----- */
.occasional-menu {
    & .menu-viewer__stage, & .menu-viewer__nav {
        display: none;
    }
}

.occasional-menu__image {
    display: block;
    width: min(100%,760px);
    height: auto;
    transform: rotate(-1.2deg);
    box-shadow: 0 50px 70px -40px rgba(44,5,8,.75),0 0 0 1px rgba(44,5,8,.08);
}

.occasional-menu {
    @media (max-width: 820px) {
        & .menu-book {
            aspect-ratio: 700/1883;
            width: min(100%,380px);
        }
    }

    @media (max-width: 820px) {
        & .menu-viewer__nav {
            display: flex;
        }
    }

    @media (max-width: 820px) {
        & .menu-viewer__stage {
            display: grid;
        }
    }
}

.page {
    @media (max-width: 820px) {
        & .occasional-menu .occasional-menu__image {
            display: none;
        }
    }
}

/* ----- article ----- */
.article__body {
    @supports (animation-timeline: view()) {
        & >* {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

.article__aside {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

.article__content {
    @supports (animation-timeline: view()) {
        animation: rvIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}

.article {
    background: var(--color-cream);
    padding: 56px 0 100px;
}

.article__wrap {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.article__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 900px;

    & .breadcrumbs, & .breadcrumbs a {
        color: var(--color-muted);
    }

    & h1 {
        font-size: clamp(40px,4.4vw,64px);
        line-height: 1.04;
    }
}

.article__meta {
    font-size: 14.5px;
    color: var(--color-muted);
}

.article__lead {
    font-size: 21px;
    line-height: 1.55;
    color: var(--color-ink);
    max-width: 62ch;
}

.article__content {
    max-width: 980px;

    & .polaroid {
        transform: rotate(-1deg);
    }

    & .polaroid img {
        aspect-ratio: 16/8;
        object-fit: cover;
    }

    @media (max-width: 820px) {
        & .polaroid img {
            aspect-ratio: 4/3;
        }
    }
}

.article__grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,340px);
    gap: 80px;
    align-items: start;
}

.article__aside {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article__toc {
    gap: 10px;

    @media (max-width: 1100px) {
        order: -1;
    }
}

.article__cta {
    background: var(--color-night-dark);
    color: #F3EADF;
    border-radius: 22px;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    & .article__toc-title {
        color: var(--color-neon);
        margin: 0;
    }

    & p {
        color: #E9CFC6;
        font-size: 15.5px;
        line-height: 1.5;
    }

    & .actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 6px;
    }

    & .btn {
        justify-content: center;
    }

    & .btn--light {
        color: #fff;
        border-color: rgba(255,255,255,.6);
    }
}

.article__check-title {
    font-size: 24px;
    margin-top: 8px;
}

.article__header {
    & h1 em {
        color: var(--color-maroon);
    }
}

.article__body {
    & p a {
        color: var(--color-maroon);
    }
}

.article__checklist {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    line-height: 1.6;
    color: #3A2A2C;
}

.article__toc-title {
    font-size: 22px;
    line-height: 1.1;
    margin-top: 6px;
}

.article__aside {
    & ol {
        margin: 0 0 10px;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        color: var(--color-muted);
        font-size: 15.5px;
        line-height: 1.45;
    }

    & ol a {
        color: var(--color-ink);
        text-decoration: none;
    }
}

.article__body {
    max-width: 74ch;
    display: flex;
    flex-direction: column;
    gap: 18px;

    & h2 {
        font-size: 34px;
        line-height: 1.1;
        margin-top: 26px;
        scroll-margin-top: 120px;
    }

    & h2:first-child {
        margin-top: 0;
    }

    & p {
        font-size: 18px;
        line-height: 1.7;
        color: #3A2A2C;
    }

    @media (max-width: 1100px) {
        order: 0;
    }
}

.article__link {
    & a {
        color: var(--color-maroon);
        font-weight: 600;
        text-decoration: none;
    }
}

.article__faq {
    border-bottom: 1px solid var(--color-rule);
    padding: 16px 0;

    & summary {
        font-family: var(--font-display);
        font-size: 22px;
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    & summary::-webkit-details-marker {
        display: none;
    }

    & summary::after {
        content: "+";
        font-family: var(--font-base);
        font-size: 26px;
        color: var(--color-maroon);
        transition: transform .2s;
        flex: none;
    }

    &[open] summary::after {
        transform: rotate(45deg);
    }

    & p {
        margin-top: 10px;
        font-size: 17px;
    }
}

.article__more {
    margin-top: 30px;
}

.article__aside {
    @media (max-width: 1100px) {
        display: contents;
    }

    @media (max-width: 1100px) {
        position: static;
    }
}

.article__cta {
    @media (max-width: 1100px) {
        order: 1;
    }
}

.article__grid {
    @media (max-width: 1100px) {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.article {
    @media (max-width: 820px) {
        padding: 36px 0 70px;
    }
}

.article__wrap {
    @media (max-width: 820px) {
        gap: 30px;
    }
}

.article__header {
    @media (max-width: 820px) {
        & h1 {
            font-size: 38px;
        }
    }
}

.article__lead {
    @media (max-width: 820px) {
        font-size: 18.5px;
    }
}

.article__body {
    @media (max-width: 820px) {
        & h2 {
            font-size: 28px;
        }
    }

    @media (max-width: 820px) {
        & p {
            font-size: 17px;
        }
    }
}

/* ----- gallery-section ----- */
.gallery-section {
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 110px;
    background: var(--color-paper);

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient(90deg,rgba(163,22,30,.1) 50%,transparent 50%),linear-gradient(rgba(163,22,30,.1) 50%,transparent 50%);
        background-size: 46px 46px;
        background-position: center top;
        -webkit-mask-image: linear-gradient(to bottom,transparent 0,transparent 18%,#000 60%);
        mask-image: linear-gradient(to bottom,transparent 0,transparent 18%,#000 60%);
    }
}

.gallery-section__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.gallery-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;

    & .breadcrumbs, & .breadcrumbs a {
        color: var(--color-muted);
    }

    & h1 {
        font-size: clamp(46px,5.2vw,76px);
        line-height: 1;
    }

    & h1 em {
        color: var(--color-maroon);
    }

    & >p {
        color: var(--color-muted);
        max-width: 56ch;
    }

    @media (max-width: 820px) {
        & h1 {
            font-size: 44px;
        }
    }
}

.gallery-section--blog {
    padding-bottom: 120px;
}

.gallery-section {
    @media (max-width: 820px) {
        padding-top: 40px;
        padding-bottom: 72px;
    }
}

.gallery-section__inner {
    @media (max-width: 820px) {
        gap: 36px;
    }
}

/* ----- photo-grid ----- */
.photo-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 40px 32px;

    @supports (animation-timeline: view()) {
        & li {
            animation: rvIn linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }

    @supports (animation-timeline: view()) {
        & li:nth-child(4n+2) {
            animation-range: entry 8% entry 63%;
        }
    }

    @supports (animation-timeline: view()) {
        & li:nth-child(4n+3) {
            animation-range: entry 16% entry 71%;
        }
    }

    @supports (animation-timeline: view()) {
        & li:nth-child(4n+4) {
            animation-range: entry 24% entry 79%;
        }
    }
}

.photo-grid__item {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
    padding: 10px 10px 30px;
    cursor: zoom-in;
    box-shadow: 0 22px 34px -24px rgba(44,5,8,.6),0 0 0 1px rgba(44,5,8,.06);
    transition: transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;

    &::before {
        content: "";
        position: absolute;
        inset: -12px;
    }

    & img {
        display: block;
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        background: var(--color-paper);
    }

    &:hover {
        transform: rotate(0deg) scale(1.04);
        box-shadow: 0 30px 44px -26px rgba(44,5,8,.7),0 0 0 1px rgba(44,5,8,.06);
    }

    &:focus-visible {
        outline: 3px solid var(--color-maroon);
        outline-offset: 4px;
    }

    @media (max-width: 820px) {
        padding: 6px 6px 18px;
    }
}

.photo-grid {
    &.photo-grid--portrait .photo-grid__item img {
        aspect-ratio: 3/4;
    }

    @media (max-width: 1100px) {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    @media (max-width: 820px) {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 22px 16px;
    }
}

/* ----- lightbox ----- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 48px 96px;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(28,8,10,.88);
    cursor: zoom-out;
}

.lightbox__figure {
    position: relative;
    margin: 0;
    background: #fff;
    padding: 14px 14px 46px;
    max-width: min(1100px,100%);
    box-shadow: 0 40px 80px -30px #000;

    & img {
        display: block;
        max-width: 100%;
        max-height: calc(100vh - 170px);
        object-fit: contain;
        margin: 0 auto;
    }

    & figcaption {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        font-family: var(--font-display);
        font-size: 20px;
        color: var(--color-ink);
        padding: 14px 4px 18px;
    }

    & figcaption span {
        font-family: var(--font-base);
        font-size: 14px;
        color: var(--color-muted);
        font-variant-numeric: tabular-nums;
    }

    @media (max-width: 820px) {
        & figcaption {
            font-size: 16px;
        }
    }
}

.lightbox__close {
    position: absolute;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    background: var(--color-cherry);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px var(--color-cherry),inset 0 0 0 4px var(--color-paper);
}

.lightbox__arrow {
    position: absolute;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    background: var(--color-cherry);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px var(--color-cherry),inset 0 0 0 4px var(--color-paper);
}

.lightbox__close {
    top: 20px;
    right: 20px;

    & svg {
        width: 24px;
        height: 24px;
    }

    &:hover {
        background: var(--color-maroon);
    }

    &:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }
}

.lightbox__arrow {
    & svg {
        width: 24px;
        height: 24px;
    }

    &:hover {
        background: var(--color-maroon);
    }

    &:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }
}

.lightbox__prev {
    left: 24px;
    top: 50%;
    margin-top: -28px;
}

.lightbox__next {
    right: 24px;
    top: 50%;
    margin-top: -28px;
}

.lightbox {
    @media (max-width: 820px) {
        padding: 70px 12px 90px;
    }
}

.lightbox__prev {
    @media (max-width: 820px) {
        top: auto;
        bottom: 18px;
        margin-top: 0;
    }

    @media (max-width: 820px) {
        left: calc(50% - 66px);
    }
}

.lightbox__next {
    @media (max-width: 820px) {
        top: auto;
        bottom: 18px;
        margin-top: 0;
    }

    @media (max-width: 820px) {
        right: calc(50% - 66px);
    }
}

/* ----- error-page ----- */
.error-page {
    padding: 120px 0 140px;
    text-align: center;

    & .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    & h1 {
        font-size: clamp(40px,6vw,72px);
        line-height: 1.02;
    }

    & h1 em {
        color: var(--color-maroon);
    }

    & .eyebrow {
        font-size: 13px;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--color-maroon);
        font-weight: 700;
        margin: 0;
    }

    & p {
        color: var(--color-muted);
        max-width: 52ch;
        margin: 0;
    }

    & .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ----- site-footer ----- */
.site-footer {
    position: relative;
    color: var(--color-neon-muted);
    font-size: 15px;
    padding-top: 80px;
    border-top: 1px solid rgba(255,243,201,.18);
    background-color: var(--color-night-dark);
    background-image: radial-gradient(ellipse 60% 70% at 8% 0%,rgba(163,22,30,.42),transparent 70%),radial-gradient(ellipse 50% 60% at 100% 100%,rgba(122,14,20,.5),transparent 70%);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0,3fr) repeat(3,minmax(0,2fr));
    gap: 48px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;

    & img {
        width: 112px;
        height: 112px;
    }

    @media (min-width: 821px) and (max-width: 1120px) {
        grid-column: 1/-1;
    }

    @media (max-width: 820px) {
        grid-column: 1/-1;
    }
}

.site-footer__desc {
    max-width: 36ch;
    line-height: 1.6;
}

.site-footer__address {
    font-style: normal;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.3;

    & a {
    }
}

.site-footer {
    & h3 {
        font-family: var(--font-display);
        font-size: 22px;
        color: var(--color-neon);
        margin-bottom: 14px;
    }

    & ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    & li {
        overflow-wrap: anywhere;
    }

    & .contact-label {
        color: #CDB3AA;
        margin-right: 6px;
    }

    & a {
        text-decoration: none;
        color: #F7E6DE;
    }

    & a:hover {
        color: var(--color-neon);
    }

    & .smile-link::after {
        bottom: -6px;
        height: 7px;
    }
}

.site-footer__social {
    display: flex;
    gap: 6px;

    & .social-link {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,.35);
        border-radius: 50%;
        color: #fff;
        transition: color .2s,border-color .2s;
    }

    & .social-link:hover, & .social-link:focus-visible {
        color: var(--color-neon);
        border-color: var(--color-neon);
    }
}

.site-footer__bottom {
    margin-top: 64px;
    border-top: 1px solid rgba(255,243,201,.16);
    padding-top: 22px;
    padding-bottom: 26px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #D9B9AF;

    & nav {
        display: flex;
        gap: 22px;
        flex-wrap: wrap;
    }

    & a {
        color: #EBD0C7;
    }

    @media (max-width: 820px) {
        padding-bottom: calc(24px + env(safe-area-inset-bottom,0px));
    }
}

.site-footer__grid {
    @media (min-width: 821px) and (max-width: 1120px) {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 40px 32px;
    }

    @media (max-width: 820px) {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        gap: 36px 24px;
    }

    @media (max-width: 820px) {
        & >div:last-child {
            grid-column: 1/-1;
        }
    }
}

.site-footer__cookies {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: #EBD0C7;
    cursor: pointer;
}

/* ----- animacje (keyframes) ----- */
@keyframes mIn {
from {
    opacity: 0
}
to {
    opacity: 1
}
}

@keyframes rvIn {
from {
    opacity: 0;
    translate: 0 34px
}
to {
    opacity: 1;
    translate: 0 0
}
}

@keyframes lsh {
0% {
    opacity: 0
}
45% {
    opacity: 1
}
100% {
    opacity: 0
}
}

@keyframes fn {
to {
    transform: rotateY(-180deg)
}
}

@keyframes fp {
to {
    transform: rotateY(180deg)
}
}

@keyframes fpm {
from {
    transform: translateX(-100%)
}
to {
    transform: none
}
}

@keyframes fnm {
from {
    transform: translateX(100%)
}
to {
    transform: none
}
}

@keyframes drop {
from {
    opacity: 0;
    translate: 0 -24px
}
}

@keyframes ccIn {
from {
    opacity: 0;
    transform: translateY(16px)
}
to {
    opacity: 1;
    transform: none
}
}

/* ==========================================================================
   7. PODSTRONY (reguły różniące się między podstronami)
   ========================================================================== */

/* ----- menu, menu-okolicznosciowe ----- */
.page-menu,
.page-menu-okolicznosciowe {
    & .menu-viewer__dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 1.5px solid var(--color-maroon);
        background: transparent;
        padding: 0;
        cursor: pointer;
        transition: background .2s,transform .2s;
    }

    & .menu-viewer__dot:hover {
        transform: scale(1.25);
    }

    & .menu-viewer__dot.is-active {
        background: var(--color-maroon);
    }

    & .menu-viewer__dot:focus-visible {
        outline: 2px solid var(--color-ink);
        outline-offset: 3px;
    }

}

/* ----- chrzciny, komunie, spotkania-firmowe, stypy, uroczystosci, wesela ----- */
.page-chrzciny,
.page-komunie,
.page-spotkania-firmowe,
.page-stypy,
.page-uroczystosci,
.page-wesela {
    & .section--features .section-header {
        grid-template-columns: 1fr;
    }

}

/* ----- andrzejki, blog, blog-czas-ze-znajomymi, blog-przyjecie-zamiast-wesela, chrzciny, dancingi, galeria, galeria-drinki, galeria-lokal, galeria-potrawy, komunie, o-nas, polityka-prywatnosci, spotkania-firmowe, stypy, sylwester, uroczystosci, wesela ----- */
.page-andrzejki,
.page-blog,
.page-blog-czas-ze-znajomymi,
.page-blog-przyjecie-zamiast-wesela,
.page-chrzciny,
.page-dancingi,
.page-galeria,
.page-galeria-drinki,
.page-galeria-lokal,
.page-galeria-potrawy,
.page-komunie,
.page-o-nas,
.page-polityka-prywatnosci,
.page-spotkania-firmowe,
.page-stypy,
.page-sylwester,
.page-uroczystosci,
.page-wesela {
    & .split .polaroid video {
        display: block;
        width: 100%;
        aspect-ratio: 4/5;
        object-fit: cover;
        background: #1c0f12;
    }

}

/* ----- andrzejki, blog, blog-czas-ze-znajomymi, blog-przyjecie-zamiast-wesela, dancingi, galeria, galeria-drinki, galeria-lokal, galeria-potrawy, o-nas, polityka-prywatnosci, sylwester ----- */
.page-andrzejki,
.page-blog,
.page-blog-czas-ze-znajomymi,
.page-blog-przyjecie-zamiast-wesela,
.page-dancingi,
.page-galeria,
.page-galeria-drinki,
.page-galeria-lokal,
.page-galeria-potrawy,
.page-o-nas,
.page-polityka-prywatnosci,
.page-sylwester {
    & .split__media .polaroid .polaroid__image {
        position: relative;
    }

}

/* ==========================================================================
   8. BANER ZGÓD
   ========================================================================== */

/* ----- consent ----- */
.consent {
    --color-cherry: #A3161E;
    --color-maroon: #7A0E14;
    --color-ink: #26171A;
    --color-paper: #F7F1E6;
    --color-neon: #FFF3C9;
    --font-base: 'Schibsted Grotesk','Segoe UI',system-ui,sans-serif;
    position: fixed;
    left: max(16px,env(safe-area-inset-left,0px));
    bottom: max(16px,env(safe-area-inset-bottom,0px));
    z-index: 120;
    width: min(440px,calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #FFFCF6;
    color: #26171A;
    border-radius: 20px;
    padding: 22px 22px 20px;
    box-shadow: 0 30px 60px -20px rgba(28,10,12,.55),0 0 0 1px rgba(38,23,26,.1);
    font-family: 'Schibsted Grotesk','Segoe UI',system-ui,sans-serif;
    font-size: 15px;
    line-height: 1.5;
    animation: ccIn .35s cubic-bezier(.2,.7,.2,1);
}

/* ----- consent-fab ----- */
.consent-fab {
    --color-cherry: #A3161E;
    --color-maroon: #7A0E14;
    --color-ink: #26171A;
    --color-paper: #F7F1E6;
    --color-neon: #FFF3C9;
    --font-base: 'Schibsted Grotesk','Segoe UI',system-ui,sans-serif;
}

html.has-overlay .consent-fab {
    display: none;
}

/* ----- consent ----- */
.consent__title {
    margin: 0 0 6px;
    font-family: 'Fraunces',Georgia,serif;
    font-size: 24px;
    line-height: 1.1;
    color: #26171A;
}

.consent__text {
    margin: 0;
    color: #6B5A56;

    & a {
        color: #A3161E;
    }
}

.consent__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.consent__option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: #F3EADF;
    cursor: pointer;

    & input {
        width: 20px;
        height: 20px;
        margin: 2px 0 0;
        accent-color: #A3161E;
        flex: none;
    }

    & b {
        display: block;
        font-weight: 600;
        color: #26171A;
    }

    & span {
        font-size: 14px;
        color: #6B5A56;
    }
}

.consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 16px;

    & .btn {
        min-height: 46px;
        padding: 0 18px;
        font-size: 14.5px;
    }

    @media (max-width: 520px) {
        & .btn {
            flex: 1 1 auto;
        }
    }
}

.consent__link-btn {
    background: none;
    border: 0;
    padding: 8px 6px;
    font: 600 14.5px 'Schibsted Grotesk',system-ui,sans-serif;
    color: #26171A;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    min-height: 44px;
}

/* ----- consent-fab ----- */
.consent-fab {
    position: fixed;
    left: max(16px,env(safe-area-inset-left,0px));
    bottom: max(16px,env(safe-area-inset-bottom,0px));
    z-index: 110;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #2C0508;
    color: #FFF3C9;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(28,10,12,.7),inset 0 0 0 2px #2C0508,inset 0 0 0 4px rgba(255,243,201,.25);
    transition: transform .2s;

    &:hover {
        transform: scale(1.06);
    }

    & svg {
        width: 24px;
        height: 24px;
    }

    &:focus-visible {
        outline: 3px solid #A3161E;
        outline-offset: 3px;
    }
}

/* ----- consent ----- */
.consent {
    & button:focus-visible, & a:focus-visible {
        outline: 3px solid #A3161E;
        outline-offset: 3px;
    }

    @media (max-width: 520px) {
        left: 8px;
        right: 8px;
        bottom: 8px;
        width: auto;
        padding: 18px 16px 16px;
    }
}

.consent__title {
    font-weight: 400;
}

/* ==========================================================================
   9. NARZĘDZIA
   ========================================================================== */

/* ----- visually-hidden ----- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ----- skip-link ----- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 200;
    background: var(--color-ink);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    text-decoration: none;

    &:focus {
        top: 12px;
    }
}

/* ----- is-scrolling ----- */
.is-scrolling {
    & main, & footer {
        pointer-events: none;
    }
}

/* ----- is-resizing ----- */
.is-resizing {
    & *, & *::before, & *::after {
        transition: none !important;
    }
}

[hidden] {
    display: none !important;
}

/* ----- has-overlay ----- */
html.has-overlay {
    overflow: hidden;
}

/* ----- u-rotate-neg-2 ----- */
.u-rotate-neg-2 {
    transform: rotate(-2deg);
}

/* ----- u-rotate-1-5 ----- */
.u-rotate-1-5 {
    transform: rotate(1.5deg);
}

/* ----- u-rotate-neg-1 ----- */
.u-rotate-neg-1 {
    transform: rotate(-1deg);
}

/* ----- u-rotate-2 ----- */
.u-rotate-2 {
    transform: rotate(2deg);
}

/* ----- u-rotate-neg-1-5 ----- */
.u-rotate-neg-1-5 {
    transform: rotate(-1.5deg);
}

/* ----- u-rotate-1 ----- */
.u-rotate-1 {
    transform: rotate(1deg);
}

/* ----- u-m-0 ----- */
.u-m-0 {
    margin: 0;
}

/* ----- u-block-relative ----- */
.u-block-relative {
    display: block;
    position: relative;
}

/* ----- u-m-0-flat ----- */
.u-m-0-flat {
    margin: 0 !important;
    transform: none !important;
}

/* ----- u-accent-plain ----- */
.u-accent-plain {
    font-style: normal;
    color: var(--color-cherry);
}

/* ----- u-rotate-2-5 ----- */
.u-rotate-2-5 {
    transform: rotate(2.5deg);
}

/* ----- u-rotate-neg-2-5 ----- */
.u-rotate-neg-2-5 {
    transform: rotate(-2.5deg);
}

/* ----- u-center-spaced ----- */
.u-center-spaced {
    justify-content: center;
    margin-top: 38px;
}

/* ==========================================================================
   10. PREFERENCJE (prefers-reduced-motion, druk)
   ========================================================================== */

.page {
    @media (prefers-reduced-motion: reduce) {
        & *, & *::after {
            transition: none !important;
            animation: none !important;
        }
    }
}

.smile-link {
    @media (prefers-reduced-motion: reduce) {
        &::after {
            transition: none;
        }
    }
}

.menu-fan {
    @media (prefers-reduced-motion: reduce) {
        &:hover .menu-fan__card, &:focus-visible .menu-fan__card {
            transform: translate3d(calc(var(--fan-offset) * 148px),calc(var(--fan-distance) * 16px),0) rotate(calc(var(--fan-offset) * 4.5deg));
        }
    }
}

.menu-fan__cta {
    @media (prefers-reduced-motion: reduce) {
        transform: none;
    }
}

.menu-fan {
    @media (prefers-reduced-motion: reduce) {
        &:hover .menu-fan__cta, &:hover .menu-fan__cta svg {
            transform: none;
        }
    }
}

.consent {
    @media print {
        display: none !important;
    }
}

.consent-fab {
    @media print {
        display: none !important;
    }
}

.site-header {
    @media print {
        display: none !important;
    }
}

.top-bar {
    @media print {
        display: none !important;
    }
}

.mobile-nav {
    @media print {
        display: none !important;
    }
}

