/* ========================================
   Manny's Deli — Styles
   Burgundy + Blush · Minimalist · Magazine
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #781f2e;
    --burgundy-dark: #5a1723;
    --burgundy-deep: #3d0f18;
    --blush: #f5e6d3;
    --blush-light: #faf3eb;
    --blush-mid: #edd8c4;
    --cream: #fdf9f5;
    --white: #ffffff;
    --text-dark: #1a1210;
    --text-mid: #4a3f3a;
    --text-light: #7a6a62;
    --text-muted: #a89890;
    --line: #e8d8cc;
    --line-light: #f0e4da;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--burgundy);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-light);
    transition: box-shadow 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(120, 31, 46, 0.06);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--burgundy);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: 0;
    transition: all 0.35s var(--ease-smooth);
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(120, 31, 46, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 0.875rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
    flex: 1;
}

.hero-content {
    padding-right: 2rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.divider-text {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 3rem;
}

.hero-img {
    overflow: hidden;
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero-img:hover img {
    transform: scale(1.03);
}

.hero-img-main {
    height: 520px;
}

.hero-img-accent {
    height: 380px;
    margin-top: 2rem;
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
    background: var(--burgundy);
    color: var(--white);
    padding: 1rem 1.25rem;
    z-index: 2;
}

.badge-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.badge-year {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.hero-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--blush-mid) 50%, var(--burgundy) 100%);
}

/* --- Intro Strip --- */
.intro-strip {
    background: var(--burgundy);
    padding: 3rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.intro-item {
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-item:last-child {
    border-right: none;
}

.intro-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--blush);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.intro-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 300;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
}

/* --- Menu --- */
.menu {
    padding: 7rem 0;
    background: var(--cream);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.menu-category {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--line-light);
    transition: box-shadow 0.4s var(--ease-smooth);
}

.menu-category:hover {
    box-shadow: 0 8px 40px rgba(120, 31, 46, 0.07);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--burgundy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.menu-item-line {
    flex: 1;
    height: 1px;
    background: var(--line);
    min-width: 2rem;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.65;
    font-weight: 300;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 3rem;
    font-style: italic;
    font-family: var(--font-serif);
}

/* --- About --- */
.about {
    padding: 7rem 0;
    background: var(--blush-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    padding-left: 1rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
    font-weight: 400;
}

/* --- Gallery --- */
.gallery {
    padding: 7rem 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1rem;
    background: linear-gradient(transparent, rgba(26, 18, 16, 0.6));
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item--tall {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    height: 100%;
    min-height: 500px;
}

.gallery-item--tall img {
    min-height: 500px;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    height: 280px;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    height: 280px;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / 9;
    height: 280px;
    margin-top: 1rem;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    height: 320px;
}

.gallery-item--wide img {
    min-height: 320px;
}

/* --- Visit --- */
.visit {
    padding: 7rem 0;
    background: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.visit-info .section-eyebrow {
    margin-bottom: 0.75rem;
}

.visit-desc {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.visit-icon {
    width: 20px;
    height: 20px;
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 3px;
}

.visit-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.visit-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 400;
}

.visit-value a {
    color: var(--text-dark);
    transition: color 0.3s var(--ease-smooth);
}

.visit-value a:hover {
    color: var(--burgundy);
}

.visit-map {
    background: var(--blush-light);
    border: 1px solid var(--line);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 3rem;
}

.map-icon {
    width: 48px;
    height: 48px;
    color: var(--burgundy);
    opacity: 0.4;
    margin: 0 auto 1rem;
}

.map-placeholder p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.map-address {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-dark);
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .logo-mark {
    color: var(--blush);
    border-color: var(--blush);
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.375rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s var(--ease-smooth);
    letter-spacing: 0.02em;
}

.footer-nav a:hover {
    color: var(--blush);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s var(--ease-smooth);
}

.footer-contact a:hover {
    color: var(--blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .gallery-caption {
        opacity: 0;
        transform: none;
    }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .hero-img-main {
        height: 420px;
    }

    .hero-img-accent {
        height: 300px;
    }

    .menu-categories {
        gap: 2rem;
    }

    .gallery-item--tall {
        min-height: 380px;
    }

    .gallery-item--tall img {
        min-height: 380px;
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 245, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.25rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s var(--ease-out);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-image-stack {
        padding-top: 0;
        grid-template-columns: 1fr;
    }

    .hero-img-main {
        height: 360px;
    }

    .hero-img-accent {
        height: 240px;
        margin-top: 1rem;
    }

    .hero-badge {
        left: 0;
        bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .intro-item {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1.25rem;
    }

    .intro-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .intro-item:nth-child(4) {
        border-bottom: none;
    }

    .menu {
        padding: 4rem 0;
    }

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

    .menu-category {
        padding: 1.75rem;
    }

    .about {
        padding: 4rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image img {
        height: 360px;
    }

    .about-content {
        padding-left: 0;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .gallery {
        padding: 4rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--tall {
        grid-column: 1 / 3;
        min-height: 280px;
    }

    .gallery-item--tall img {
        min-height: 280px;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
        height: 200px;
    }

    .gallery-item:nth-child(4) {
        margin-top: 0;
    }

    .gallery-item--wide {
        grid-column: 1 / 3;
        height: 220px;
    }

    .gallery-item--wide img {
        min-height: 220px;
    }

    .gallery-caption {
        opacity: 1;
        transform: none;
    }

    .visit {
        padding: 4rem 0;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .visit-info .section-title {
        text-align: center;
    }

    .visit-info .section-eyebrow {
        text-align: center;
    }

    .visit-info .btn {
        width: 100%;
        justify-content: center;
    }

    .visit-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.875rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-item {
        border-right: none !important;
        border-bottom: none !important;
        padding-bottom: 1rem;
    }

    .intro-item:last-child {
        border-bottom: none !important;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--tall,
    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: 1 / -1;
        height: 240px;
    }

    .gallery-item--tall img,
    .gallery-item--wide img {
        min-height: 240px;
    }
}
