/* Self-hosted fonts (SIL Open Font License; see fonts/README.txt) */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/great-vibes-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/great-vibes-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --sand: #C8B597;
    --sand-deep: #A89378;
    --ink: #1a1c1f;
    --stone: #2d3238;
    --mist: #f7f5f0;
    --cream: #f4f2e6;
    --paper: #ffffff;
    --line: rgba(200, 181, 151, 0.35);
    --font-script: "Great Vibes", cursive;
    --font-brand: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    --max: 72rem;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.2s;
    --dur-medium: 0.35s;
    --logo-expanded: clamp(5.75rem, 22vw, 9.75rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: left 0.2s var(--ease-smooth), top 0.2s var(--ease-smooth), box-shadow 0.2s ease;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 max(1.5rem, env(safe-area-inset-left)) 0 max(1.5rem, env(safe-area-inset-right));
}

/* Owner banner */
.owner-notice {
    margin: 0;
    padding: max(0.65rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-left)) 0.65rem max(1.5rem, env(safe-area-inset-right));
    text-align: center;
    font-size: 0.9rem;
    background: var(--cream);
    color: var(--stone);
    border-bottom: 1px solid var(--line);
}

.owner-notice-muted {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    opacity: 0.85;
}

@media (min-width: 640px) {
    .owner-notice-muted {
        display: inline;
        margin-left: 0.35rem;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    overflow: visible;
    transition:
        background 0.4s var(--ease-smooth),
        box-shadow 0.4s var(--ease-smooth),
        border-color 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 6px 28px rgba(45, 50, 56, 0.06);
}

.site-header-inner {
    --header-bar-h: 3.375rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--header-bar-h);
    height: auto;
    overflow: visible;
    padding: 0 max(1.5rem, env(safe-area-inset-left)) 0 max(1.5rem, env(safe-area-inset-right));
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding-left: calc(var(--logo-expanded) + 1.1rem);
    transition: padding-left 0.35s var(--ease);
}

.brand-logo-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transform: translateY(-42%);
    transition: transform 0.35s var(--ease);
    filter: drop-shadow(0 6px 14px rgba(45, 50, 56, 0.12));
    pointer-events: none;
}

.brand-logo-wrap .brand-logo {
    width: var(--logo-expanded);
    height: var(--logo-expanded);
    object-fit: contain;
    transition: width 0.35s var(--ease), height 0.35s var(--ease);
}

.brand:hover .brand-logo-wrap .brand-logo,
.brand:focus-visible .brand-logo-wrap .brand-logo {
    filter: brightness(1.03);
}

.site-header.scrolled .brand-logo-wrap {
    transform: translateY(-50%);
}

.site-header.scrolled .brand-logo-wrap .brand-logo {
    width: 2.75rem;
    height: 2.75rem;
}

.site-header.scrolled .brand {
    padding-left: calc(2.75rem + 1rem);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    position: relative;
    z-index: 3;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.15;
    font-feature-settings: "kern" 1, "liga" 1;
}

.brand-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12em;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--stone);
    opacity: 0.9;
    line-height: 1.35;
}

.brand-tag-line {
    display: block;
}


@media (max-width: 400px) {
    .brand-tag {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    cursor: pointer;
    transition:
        border-color var(--dur-medium) var(--ease),
        background var(--dur-medium) var(--ease-smooth),
        box-shadow var(--dur-medium) var(--ease-smooth);
}

.nav-toggle:hover {
    border-color: var(--sand);
}

.nav-toggle-lines {
    position: relative;
    width: 1.25rem;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform 0.2s var(--ease);
}

.nav-toggle-lines::before {
    top: -6px;
}

.nav-toggle-lines::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.site-nav a {
    display: block;
    padding: 0.55rem 0.25rem;
    color: var(--stone);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--dur-fast) var(--ease-smooth), opacity var(--dur-fast) ease;
}

.site-nav a:hover {
    color: var(--sand-deep);
}

.site-nav[data-open="false"] {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding: 0.5rem 0 1rem;
}

.site-nav[data-open="true"] {
    display: block;
    width: 100%;
    flex-basis: 100%;
    padding: 0.25rem 0 1.25rem;
    border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
    .nav-toggle {
        display: none;
    }

    .site-header-inner {
        flex-wrap: nowrap;
        height: var(--header-bar-h);
    }

    .site-nav[data-open],
    .site-nav {
        display: block !important;
        width: auto;
        flex-basis: auto;
        padding: 0;
        border: 0 !important;
    }

    .site-nav ul {
        flex-direction: row;
        gap: 1.75rem;
        align-items: center;
    }

    /* Expanded header: hide title next to giant logo until scroll (desktop only) */
    .site-header:not(.scrolled) .brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }
}

/* Mobile header: compact logo + title + tagline (no oversized overlap with menu) */
@media (max-width: 859px) {
    .site-header-inner {
        align-items: center;
        --mobile-brand-logo: clamp(5.75rem, 26vw, 8.75rem);
        min-height: max(var(--header-bar-h), var(--mobile-brand-logo));
    }

    .brand {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 0.75rem;
        row-gap: 0.2rem;
        align-items: center;
        padding-left: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-logo-wrap {
        position: static;
        transform: none;
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        pointer-events: none;
    }

    .brand-logo-wrap .brand-logo {
        width: var(--mobile-brand-logo);
        height: var(--mobile-brand-logo);
    }

    .brand-text {
        grid-column: 2;
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.12rem;
        min-width: 0;
    }

    .brand-name {
        font-size: clamp(1.05rem, 3.8vw, 1.2rem);
        line-height: 1.2;
    }

    .brand-tag {
        margin: 0;
        padding-right: 0.35rem;
        max-width: 100%;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
        line-height: 1.35;
    }

    .site-header.scrolled .brand {
        padding-left: 0;
    }

    .site-header.scrolled .brand-logo-wrap {
        transform: none;
    }

    .site-header.scrolled .brand-logo-wrap .brand-logo {
        width: var(--mobile-brand-logo);
        height: var(--mobile-brand-logo);
    }
}

/* Sections */
.hero {
    background: linear-gradient(165deg, var(--mist) 0%, var(--paper) 55%);
}

.hero-inner {
    display: grid;
    gap: 2rem;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    transition: padding-top 0.35s var(--ease);
}

@media (min-width: 860px) {
    body.logo-expanded .hero-inner {
        padding-top: calc(clamp(2.5rem, 6vw, 4.5rem) + 2.25rem);
    }
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 3rem;
        align-items: center;
    }
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.6rem, 6.5vw, 3.5rem);
    line-height: 1.25;
    color: var(--stone);
}

.hero-copy p {
    margin: 0 0 1rem;
    max-width: 34rem;
}

.hero-note {
    font-size: 0.88rem;
    color: var(--stone);
    opacity: 0.88;
    font-style: italic;
}

.hero-photo {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 50, 56, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--line);
    transition: box-shadow 0.45s var(--ease-smooth);
}

@media (hover: hover) {
    .hero-photo:hover {
        box-shadow: 0 26px 58px rgba(45, 50, 56, 0.14), 0 4px 10px rgba(0, 0, 0, 0.05);
    }
}

.hero-photo img {
    width: 100%;
    vertical-align: middle;
    transition: transform 0.7s var(--ease-smooth);
}

@media (hover: hover) {
    .hero-photo:hover img {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes anim-rise-fade {
        from {
            opacity: 0;
            transform: translate3d(0, 0.75rem, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .hero-copy > * {
        animation: anim-rise-fade 0.72s var(--ease-smooth) backwards;
    }

    .hero-copy h1 {
        animation-delay: 0.05s;
    }

    .hero-copy > p:not(.hero-note) {
        animation-delay: 0.12s;
    }

    .hero-copy > p.hero-note {
        animation-delay: 0.18s;
    }

    .hero-photo {
        animation: anim-rise-fade 0.78s var(--ease-smooth) 0.14s backwards;
    }
}

.collections,
.products {
    padding-block: clamp(2.75rem, 5vw, 4rem);
}

.collections {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

h2 {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.35rem, 5vw, 3rem);
    margin: 0 0 0.85rem;
    color: var(--stone);
    line-height: 1.2;
}

.lede {
    margin: 0 0 1.5rem;
    max-width: 44rem;
    color: var(--stone);
}

.pill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 48rem;
}

.pill-list li {
    padding: 0.9rem 1.1rem;
    background: var(--cream);
    border-radius: 10px;
    border: 1px solid var(--line);
    transition:
        border-color 0.28s var(--ease-smooth),
        box-shadow 0.32s var(--ease-smooth),
        transform 0.3s var(--ease-smooth);
}

@media (hover: hover) {
    .pill-list li:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(45, 50, 56, 0.08);
        border-color: rgba(200, 181, 151, 0.52);
    }
}

.products {
    background: var(--mist);
}

.product-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}

.product-card {
    background: var(--paper);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(45, 50, 56, 0.05);
    transition:
        border-color 0.28s var(--ease-smooth),
        box-shadow 0.38s var(--ease-smooth),
        transform 0.35s var(--ease-smooth);
}

@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 42px rgba(45, 50, 56, 0.09);
        border-color: rgba(200, 181, 151, 0.48);
    }
}

.product-card h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-script);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--stone);
    line-height: 1.25;
}

.product-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--stone);
}

.product-card li {
    margin-bottom: 0.35rem;
}

.product-card li:last-child {
    margin-bottom: 0;
}

.products-foot {
    margin: 2rem 0 0;
    font-size: 0.9rem;
    color: var(--stone);
    opacity: 0.9;
    max-width: 42rem;
}

.gallery {
    padding-block: clamp(2.75rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.gallery-note {
    margin: 0 0 1.25rem;
    max-width: 48rem;
    padding: 0.9rem 1.15rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--stone);
    transition: box-shadow 0.32s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
}

@media (hover: hover) {
    .gallery-note:hover {
        box-shadow: 0 8px 26px rgba(45, 50, 56, 0.07);
        border-color: rgba(200, 181, 151, 0.45);
    }
}

.gallery-note strong {
    font-weight: 600;
    color: var(--ink);
}

.gallery-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(5.125rem, 1fr));
}

@media (min-width: 520px) {
    .gallery-grid {
        gap: 0.65rem;
        grid-template-columns: repeat(auto-fill, minmax(5.85rem, 1fr));
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        gap: 0.75rem;
        grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
    }
}

.gallery-tile {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #0e1014;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.28s var(--ease-smooth),
        box-shadow 0.32s var(--ease-smooth);
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 50, 56, 0.12);
    outline: none;
}

.gallery-tile:focus-visible {
    box-shadow: 0 0 0 3px rgba(200, 181, 151, 0.75), 0 8px 20px rgba(45, 50, 56, 0.12);
}

.gallery-tile-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadein 0.45s ease forwards;
    transition: transform 0.5s var(--ease-smooth);
}

@media (hover: hover) {
    .gallery-tile:hover .gallery-tile-img img,
    .gallery-tile:focus-visible .gallery-tile-img img {
        transform: scale(1.04);
    }
}

.gallery-tile:active {
    transform: translateY(0);
}

@keyframes fadein {
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .gallery-tile-img img {
        animation: none;
        opacity: 1;
        transition: none;
    }

    .gallery-tile:hover .gallery-tile-img img,
    .gallery-tile:focus-visible .gallery-tile-img img {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .brand-logo-wrap,
    .brand-logo-wrap .brand-logo,
    .brand,
    .gallery-tile,
    .pill-list li,
    .product-card,
    .gallery-note,
    .hero-photo {
        transition-duration: 0.01ms;
    }

    .hero-photo img {
        transition: none;
    }

    @media (hover: hover) {
        .hero-photo:hover img {
            transform: none;
        }

        .pill-list li:hover,
        .product-card:hover {
            transform: none;
        }
    }

    .gallery-tile:hover,
    .gallery-tile:focus-visible {
        transform: none;
    }
}

/* Lightbox / gallery viewer */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.lightbox[hidden] {
    display: none;
}

.lightbox:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}

.lightbox-scrim {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(12, 12, 14, 0.88);
    cursor: zoom-out;
    backdrop-filter: blur(4px);
}

.lightbox-panel {
    position: relative;
    z-index: 1;
    margin: 0;
    flex: 0 1 auto;
    max-height: min(94dvh, 1100px);
    width: min(96vw, 110rem);
    padding: 2.75rem clamp(3rem, 8vw, 4.5rem) 3rem;
    background: transparent;
}

.lightbox-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
}

.lightbox-img {
    max-width: min(92vw, 1280px);
    max-height: min(74dvh, 900px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
    margin: 0;
    padding: 0 1rem;
    max-width: 36rem;
    font-size: 0.96rem;
    line-height: 1.45;
    color: #f7f5f0;
}

.lightbox-counter {
    margin: -0.15rem 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: rgba(247, 245, 240, 0.65);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3.25rem;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: background 0.22s var(--ease-smooth);
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

.lightbox-prev {
    left: max(0.35rem, env(safe-area-inset-left));
}

.lightbox-next {
    right: max(0.35rem, env(safe-area-inset-right));
}

.lightbox-close-corner {
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 3;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.22s var(--ease-smooth);
}

.lightbox-close-corner:hover,
.lightbox-close-corner:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

@media (max-width: 640px) {
    .lightbox-panel {
        width: 100vw;
        padding-left: clamp(2.75rem, 15vw, 3.5rem);
        padding-right: clamp(2.75rem, 15vw, 3.5rem);
        padding-bottom: max(3rem, env(safe-area-inset-bottom));
    }

    .lightbox-btn {
        width: 2.35rem;
        font-size: 1.65rem;
    }
}

body.lightbox-open {
    overflow: hidden;
}

.contact {
    padding-block: clamp(2.5rem, 4vw, 3.75rem);
    background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
    color: var(--paper);
}

.contact-inner {
    max-width: 36rem;
}

.contact h2 {
    color: var(--paper);
}

.contact p {
    margin: 0 0 1rem;
}

.btn-mail {
    gap: 0.55rem;
}

.btn-mail-icon {
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    padding: 0.85rem 1.35rem;
    background: var(--paper);
    color: var(--stone);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.22s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.site-footer {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(4.25rem, 13vh, 6.5rem);
    min-height: clamp(4.25rem, 13dvh, 6.5rem);
    padding: clamp(1.85rem, 4.75vw, 3rem) max(0, env(safe-area-inset-right)) max(clamp(1.85rem, 4.75vw, 3rem), env(safe-area-inset-bottom)) max(0, env(safe-area-inset-left));
    text-align: center;
    font-size: clamp(0.65rem, 2.4vw, 0.82rem);
    color: var(--stone);
    background: var(--cream);
    border-top: 1px solid var(--line);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.footer-inner {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.footer-inner p {
    margin: 0;
    white-space: nowrap;
}
