:root {
    --colour-accent:  #c47c2b;
    --colour-accent-dark: #a0611c;
    --colour-bg: #fdf8f3;
    --colour-surface: #fff6ec;
    --colour-border: #e8d9c5;
    --colour-text: #3b2a1a;
    --colour-text-muted: #7a6350;
    --colour-skeleton: #e2e2e2;
    --colour-skeleton-light: #efefef;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--colour-text);
    background: var(--colour-bg);
}

h2 {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--colour-accent-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

a {
    color: var(--colour-accent-dark);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

/* ── Banner ── */

.banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #d6cfc7;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 150px;
}

.banner__collage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.banner__collage-row {
    flex: 1;
    display: flex;
    min-height: 0;
    will-change: transform;
}

.banner__collage-mirror {
    flex: 1;
    display: flex;
    min-height: 0;
    transform: scaleX(-1);
}

.banner__collage-mirror .banner__collage-img {
    transform: scaleX(-1);
}

.banner__collage-cell {
    position: relative;
    flex: 0 0 12.5%;
    margin-right: 3px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background-color: var(--colour-skeleton);
    background-image: linear-gradient(100deg, var(--colour-skeleton) 30%, var(--colour-skeleton-light) 50%, var(--colour-skeleton) 70%);
    background-size: 250% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

.banner__collage-cell.is-loaded {
    animation: none;
    background: none;
}

.banner__collage-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.5s ease;
}

.banner__collage-img.is-loaded {
    opacity: 1;
}

@media (max-width: 600px) {
    .banner__collage-cell {
        flex-basis: 25%;
    }
}

.banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.banner__logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: -150px;
    z-index: 2;
}

/* ── Main content ── */

.content {
    padding: 0 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.content--top {
    padding-top: 2rem;
}

.content--bottom {
    padding-bottom: 3rem;
}

.divider {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    border: none;
    border-top: 1px solid var(--colour-border);
}

/* ── Info grid ── */

.about {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
}

.about h2 {
    margin-top: 0;
    text-align: center;
}

.about p {
    color: var(--colour-text-muted);
    margin: 0;
}

.about__cta {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-gallery {
    display: inline-block;
    background: var(--colour-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s;
}

.btn-gallery:hover {
    background: var(--colour-accent-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

.info-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .info-grid {
        flex-direction: column;
    }
}

.info-box {
    flex: 1 1 280px;
    background: var(--colour-surface);
    border: 1px solid var(--colour-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.info-box p {
    color: var(--colour-text-muted);
    margin-top: 0;
}

.address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address i {
    color: var(--colour-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.what3words {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ── Contact list ── */

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list i {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
    color: var(--colour-accent);
}

/* ── Opening times ── */

.opening-times__title {
    margin-top: 1.5rem;
}

.opening-times {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.opening-times li {
    display: flex;
    justify-content: space-between;
    color: var(--colour-text-muted);
    font-size: 0.95rem;
}

.opening-times__closed {
    opacity: 0.45;
}

/* ── Gallery ── */

.gallery-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.gallery-item-wrap {
    position: relative;
    border-radius: 10px;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--colour-skeleton);
    background-image: linear-gradient(100deg, var(--colour-skeleton) 30%, var(--colour-skeleton-light) 50%, var(--colour-skeleton) 70%);
    background-size: 250% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(59, 42, 26, 0.15);
}

.gallery-item-wrap.is-loaded {
    animation: none;
    background: var(--colour-skeleton);
}

.gallery-item-wrap:nth-child(3n+1) { transform: rotate(-1.5deg); }
.gallery-item-wrap:nth-child(3n+2) { transform: rotate(1deg); }
.gallery-item-wrap:nth-child(3n) { transform: rotate(-0.5deg); }

.gallery-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.4s ease, transform 0.2s ease;
}

.gallery-item.is-loaded {
    opacity: 1;
}

.gallery-item-wrap:hover {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 6px 16px rgba(59, 42, 26, 0.25);
    z-index: 1;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -50% 0; }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Map ── */

.footer {
    margin-top: 3rem;
    padding: 1.25rem 1rem;
    background: #2e1f0e;
    text-align: center;
    font-size: 0.875rem;
    color: #b89a7a;
}

.footer p {
    margin: 0;
}

.footer__credit {
    padding-top: 20px;
}

.footer a {
    color: #e8b87a;
}

.map {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
    margin-top: 0.5rem;
}

/* ── Lightbox ── */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox--active {
    display: flex;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
}

.lightbox__prev,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    width: 3rem;
    height: 3rem;
}

.lightbox__prev {
    left: 1rem;
}

.lightbox__next {
    right: 1rem;
}
