* {
    box-sizing: border-box;
}

:root {
    --bg: #fff9fc;
    --paper: #ffffff;
    --paper-soft: #fff4f9;
    --text: #241b20;
    --muted: #7c6b73;
    --soft: #b693a5;
    --accent: #d88caf;
    --accent-dark: #9c4f73;
    --line: rgba(156, 79, 115, 0.16);
    --shadow: 0 24px 70px rgba(156, 79, 115, 0.12);
    --sold: #8c2f42;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 225, 241, 0.65), transparent 32rem),
        radial-gradient(circle at 85% 10%, rgba(255, 245, 250, 0.95), transparent 28rem),
        linear-gradient(135deg, #ffffff 0%, var(--bg) 58%, #fff2f8 100%);
}

a {
    color: inherit;
}

.hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 54px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0 48px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.nav-links {
    display: flex;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: end;
}

.eyebrow {
    margin: 0 0 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(54px, 11vw, 132px);
    line-height: 0.86;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.subtitle {
    max-width: 680px;
    margin: 24px 0 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.55;
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 13px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--accent-dark);
    box-shadow: 0 12px 30px rgba(156, 79, 115, 0.09);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-1px);
}

.hero-card {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-card p {
    margin: 0 0 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--muted);
    line-height: 1.45;
}

.hero-card strong {
    display: block;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 500;
}

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 74px;
}

.section-heading {
    max-width: 740px;
    margin: 0 0 26px;
}

.section-heading h2,
.about h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 18px 0 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--muted);
    line-height: 1.65;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    align-items: start;
}

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 75px rgba(156, 79, 115, 0.16);
    background: rgba(255, 255, 255, 0.98);
}

.image-link {
    display: block;
    padding: 12px 12px 0;
    cursor: zoom-in;
}

.card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
    background: #fff0f7;
}

.card-body {
    padding: 19px 20px 22px;
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.card h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.12;
    font-weight: 500;
}

.badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-sold {
    color: #fff;
    background: var(--sold);
}

.meta {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.meta div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
}

.meta dt {
    color: var(--soft);
    font-size: 13px;
}

.meta dd {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.description {
    margin: 14px 0 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.58;
    color: var(--muted);
}

.price {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-dark);
}

.muted-price {
    color: var(--sold);
}

.notice {
    max-width: 760px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--paper);
    box-shadow: var(--shadow);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.notice h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.notice p {
    margin: 8px 0 0;
    line-height: 1.55;
    color: var(--muted);
}

.notice-error {
    border-color: rgba(140, 47, 66, 0.25);
    margin-bottom: 28px;
}

.about {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    margin-top: 86px;
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: 38px;
    background:
        radial-gradient(circle at top left, rgba(255, 235, 245, 0.86), transparent 25rem),
        rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.about-text {
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.58;
}

.about-text p {
    margin: 0;
}

.about-text p + p {
    margin-top: 22px;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(36, 27, 32, 0.72);
    backdrop-filter: blur(12px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - 72px);
    margin: 0;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 132px);
    object-fit: contain;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.lightbox-caption {
    max-width: min(780px, 100%);
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--accent-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 10000;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-dark);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
    font-size: 34px;
    line-height: 38px;
    cursor: pointer;
}

.lightbox-close:hover {
    background: #fff;
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--muted);
    font-size: 14px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 820px) {
    .hero-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 520px;
    }

    .about {
        padding: 28px;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 14px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 34px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        border-radius: 22px;
    }

    .meta div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .lightbox {
        padding: 14px;
    }

    .lightbox-image {
        max-height: calc(100vh - 118px);
        border-radius: 18px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .footer {
        flex-direction: column;
    }
}
