:root {
    --red: #B80000;
    --gold: #d4af37;
    --ivory: #fffff0;
    --mist: #c8cdc3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ivory);
    background: var(--red);
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

.site-header {
    transition: background .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
    background: rgba(184, 0, 0, .96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    transform: scale(1.04);
    transition: transform 7s ease;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.story-copy {
    font-size: 17px;
    line-height: 1.8;
}

.dining-copy {
    font-size: 16px;
    line-height: 1.7;
}

.dish-name {
    font-size: 26px;
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
}

.footer-copy {
    font-size: 15px;
    line-height: 1.7;
}

.gold-line {
    width: 52px;
    height: 1px;
    background: var(--gold);
}

.reveal {
    animation: rise .8s both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dish-card .dish-copy {
    opacity: 0;
    transform: translateY(12px);
    transition: .35s ease;
}

.dish-card:hover .dish-copy,
.dish-card:focus-within .dish-copy {
    opacity: 1;
    transform: translateY(0);
}

.dish-card:hover img,
.dish-card:focus-within img {
    transform: scale(1.06);
    filter: brightness(.48);
}

.dish-card img {
    transition: .55s ease;
}

.gallery-item img {
    transition: transform .5s ease, filter .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(.78);
}

.gallery-item:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.lightbox {
    display: none;
}

.lightbox.open {
    display: flex;
}

.field {
    background: rgba(255, 255, 240, .06);
    border: 1px solid rgba(212, 175, 55, .35);
    color: var(--ivory);
}

.field option {
    background: var(--red);
    color: var(--ivory);
}

.field::placeholder {
    color: #aab1a8;
}

.masonry {
    columns: 2;
    column-gap: 12px;
}

.masonry > button {
    break-inside: avoid;
    margin-bottom: 12px;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c8cdc3;
    font-size: 12px;
    text-decoration: none;
}

.powered-by img {
    display: block;
    width: 135px;
    height: auto;
}

@media (min-width: 768px) {
    .masonry {
        columns: 3;
        column-gap: 16px;
    }

    .masonry > button {
        margin-bottom: 16px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 2;
    }

    .powered-by {
        align-self: flex-start;
    }
}
