:root {
    --ink: #25191e;
    --muted: #765f67;
    --soft: #fff7f8;
    --blush: #f4d8dc;
    --rose: #b84d64;
    --plum: #54263b;
    --champagne: #f7ead6;
    --line: rgba(84, 38, 59, 0.16);
    --shadow: 0 22px 70px rgba(57, 23, 39, 0.14);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fffafa;
    font-family: Inter, Arial, sans-serif;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 72px);
    color: #fff;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 250, 250, 0.9);
    box-shadow: 0 10px 32px rgba(37, 25, 30, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 0.92;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
}

.brand strong {
    font-size: 1.65rem;
}

.site-nav {
    display: flex;
    gap: clamp(14px, 3vw, 34px);
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a,
.header-action {
    opacity: 0.88;
}

.header-action {
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    font-size: 0.78rem;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding: 150px clamp(20px, 7vw, 96px) 70px;
    overflow: hidden;
    color: #fff;
    background: var(--plum);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 25, 30, 0.82), rgba(84, 38, 59, 0.42) 48%, rgba(37, 25, 30, 0.2));
}

.hero-media img,
.hero-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-placeholder {
    background:
        radial-gradient(circle at 25% 30%, rgba(244, 216, 220, 0.72), transparent 28%),
        linear-gradient(135deg, #54263b, #b84d64 52%, #f7ead6);
}

.hero-content {
    position: relative;
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--rose);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--champagne);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
}

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

h1 {
    max-width: 720px;
    font-size: clamp(3.4rem, 8vw, 7.2rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
    font-size: 1.45rem;
}

.hero-content p:not(.eyebrow),
.section-copy {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    color: #fff;
    background: var(--rose);
    box-shadow: 0 12px 30px rgba(184, 77, 100, 0.28);
}

.button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.button-dark {
    color: #fff;
    background: var(--plum);
}

.button-danger {
    color: #fff;
    background: #b83434;
}

.section {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 48px;
    align-items: end;
}

.intro-section .section-copy {
    color: var(--muted);
}

.section-heading {
    max-width: 720px;
}

.stores-section {
    padding-top: 20px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.store-card {
    display: grid;
    gap: 24px;
    min-height: 430px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.store-card p,
.store-details {
    color: var(--muted);
    line-height: 1.65;
}

.store-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--rose);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.store-details {
    display: grid;
    gap: 14px;
    margin: 0;
}

.store-details div {
    display: grid;
    gap: 4px;
}

.store-details dt {
    color: var(--ink);
    font-weight: 800;
}

.store-details dd {
    margin: 0;
}

.gallery-band {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.gallery-heading {
    padding-bottom: 28px;
}

.gallery-grid {
    width: min(1320px, calc(100% - 28px));
    margin: 0 auto;
    columns: 3 280px;
    column-gap: 16px;
    padding-bottom: 90px;
}

.gallery-item {
    position: relative;
    break-inside: avoid;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 42px rgba(57, 23, 39, 0.13);
}

.gallery-item img {
    width: 100%;
}

.gallery-item figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 25, 30, 0.68);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: 0.85rem;
}

.empty-public {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 90px;
    color: var(--muted);
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 82px 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(20px, 7vw, 96px);
    color: #fff;
    background: var(--ink);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.login-body,
.admin-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(247, 234, 214, 0.62), rgba(255, 247, 248, 0.88)),
        #fffafa;
}

.login-body {
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(440px, 100%);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.login-brand {
    margin-bottom: 28px;
}

.login-panel h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: 1.9rem;
}

.login-panel p,
.admin-section-title p {
    color: var(--muted);
    line-height: 1.6;
}

.form-stack,
.upload-card,
.password-card {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(184, 77, 100, 0.12);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(16px, 4vw, 48px);
    background: rgba(255, 250, 250, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.admin-brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 800;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 70px;
}

.notice {
    margin-bottom: 18px;
    border-radius: 8px;
    padding: 13px 15px;
    font-weight: 800;
}

.notice-success {
    color: #165c38;
    background: #e3f7eb;
}

.notice-error {
    color: #8a1f1f;
    background: #fde6e6;
}

.admin-hero,
.admin-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 42px rgba(57, 23, 39, 0.08);
}

.admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 5vw, 44px);
}

.admin-hero h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    max-width: 720px;
}

.admin-section {
    margin-top: 22px;
    padding: clamp(20px, 4vw, 34px);
}

.admin-section-title {
    margin-bottom: 22px;
}

.admin-section-title h2 {
    font-family: Inter, Arial, sans-serif;
    font-size: 1.5rem;
}

.admin-grid-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-card {
    display: grid;
    gap: 14px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.admin-card legend {
    padding: 0 8px;
    font-weight: 900;
}

.admin-grid-form > .button {
    justify-self: start;
}

.upload-card,
.password-card {
    max-width: 620px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.photo-admin-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.photo-admin-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-admin-card div,
.photo-admin-card form {
    padding: 12px;
}

.photo-admin-card div {
    display: grid;
    gap: 4px;
}

.photo-admin-card span,
.admin-empty {
    color: var(--muted);
}

@media (max-width: 820px) {
    .site-header {
        position: absolute;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 88vh;
        padding-top: 190px;
    }

    .intro-section,
    .store-grid,
    .admin-grid-form {
        grid-template-columns: 1fr;
    }

    .contact-section,
    .site-footer,
    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    .brand strong {
        font-size: 1.35rem;
    }

    h1 {
        font-size: 3rem;
    }

    .section {
        padding: 68px 0;
    }

    .gallery-grid {
        columns: 1;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}
