:root {
    --background: #f6f1e8;
    --surface: #ebe3d7;
    --text: #2a241e;
    --muted: #7f7367;
    --accent: #a67b52;
    --border: rgba(42, 36, 30, .15);
    --white: #fffdf8;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { font: inherit; }

.site-header {
    max-width: 1500px;
    margin: 0 auto;
    min-height: 120px;
    padding: 18px 3.5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo {
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-copy strong {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 400;
    line-height: 1;
}

.brand-copy small,
.eyebrow {
    color: var(--accent);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .23em;
}

.instagram-link {
    font-size: .78rem;
    letter-spacing: .04em;
}

.hero {
    max-width: 1500px;
    margin: 0 auto;
    padding: 38px 3.5vw 65px;
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(0, 2fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    padding: 30px 0;
}

.eyebrow { margin: 0 0 32px; }

h1 {
    margin: 0;
    max-width: 650px;
    font-family: var(--serif);
    font-size: clamp(3.8rem, 6vw, 6.8rem);
    font-weight: 400;
    line-height: .91;
    letter-spacing: -.055em;
}

h1 em {
    color: #77695c;
    font-weight: 400;
}

.intro-copy {
    max-width: 390px;
    margin: 36px 0 32px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 21px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-size: .78rem;
    transition: transform .2s ease, opacity .2s ease;
}

.follow-button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.gallery {
    min-width: 0;
    display: grid;
    grid-template-columns: 1.35fr .75fr .95fr;
    grid-auto-rows: 1fr;
    gap: 12px;
}

.gallery-item {
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 7px;
}

.gallery-item-featured {
    grid-row: span 2;
    aspect-ratio: .92 / 1;
}

.photo-button {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    background: var(--surface);
}

.photo-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.photo-button:hover img { transform: scale(1.045); }

.photo-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(30, 25, 20, .2);
    color: white;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    opacity: 0;
    transition: opacity .25s ease;
}

.photo-button:hover .photo-overlay { opacity: 1; }

.video-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(30,25,20,.45);
    color: white;
    font-size: .65rem;
}

.feed-placeholder {
    grid-column: 1 / -1;
    padding: 80px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
}

.feed-placeholder a {
    color: var(--text);
    text-decoration: underline;
}

.site-footer {
    max-width: 1500px;
    margin: 0 auto;
    padding: 25px 3.5vw 35px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .08em;
}

.paw { font-size: 1.4rem; color: var(--accent); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 25px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.open {
    visibility: visible;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 21, 18, .94);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: min(1150px, 100%);
    max-height: 92vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    background: var(--white);
}

.lightbox-media {
    min-height: 500px;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.lightbox-media img,
.lightbox-media video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 92vh;
    object-fit: contain;
}

.lightbox-info {
    padding: 35px 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.lightbox-caption {
    margin: 0;
    white-space: pre-wrap;
    color: #51483f;
    font-size: .9rem;
    line-height: 1.7;
}

.lightbox-instagram {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.lightbox-close {
    position: absolute;
    z-index: 3;
    top: -45px;
    right: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

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

    .hero-copy {
        padding-bottom: 10px;
    }
}

@media (max-width: 650px) {
    .site-header {
        min-height: 76px;
        padding: 10px 18px;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand-copy strong { font-size: 1.45rem; }
    .brand-copy small { font-size: .56rem; }
    .instagram-link { font-size: .68rem; }

    .hero {
        padding: 38px 18px 45px;
        gap: 35px;
    }

    .hero-copy { padding: 10px 0; }

    h1 {
        font-size: clamp(3.3rem, 17vw, 5.4rem);
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .gallery-item-featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1 / .9;
    }

    .photo-overlay { display: none; }

    .lightbox { padding: 10px; }

    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow: auto;
    }

    .lightbox-media { min-height: 48vh; }

    .lightbox-info { padding: 22px 18px; }

    .site-footer {
        padding: 22px 18px;
    }
}
