:root {
    --bg: #faf8f5;
    --paper: #fff;
    --text: #332f2c;
    --muted: #706963;
    --accent: #9b5870;
    --line: #e8dfd8
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif
}

a {
    color: var(--accent)
}

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

header {
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.wrap {
    width: min(1040px, calc(100% - 36px));
    margin: auto
}

.brand {
    padding: 28px 0 16px
}

.brand a {
    text-decoration: none;
    color: var(--text)
}

.brand h1 {
    margin: 0;
    font: 700 clamp(28px, 5vw, 44px)/1.1 Georgia, serif
}

.brand p {
    margin: 6px 0 0;
    color: var(--muted)
}

.header-image {
    margin: 10px 0 26px
}

.header-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px
}

nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    padding: 0 0 18px
}

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

nav a[aria-current="page"] {
    color: var(--accent)
}

main {
    padding: 48px 0 70px
}

article {
    background: var(--paper);
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(50, 40, 35, .04)
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
    line-height: 1.2
}

article h1 {
    font-size: clamp(30px, 5vw, 46px);
    margin-top: 0
}

.notice {
    padding: 16px 18px;
    margin: 0 0 28px;
    background: #f7edf1;
    border-left: 4px solid var(--accent);
    border-radius: 6px
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0
}

.gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px
}

.contact-form {
    display: grid;
    gap: 18px;
    max-width: 680px;
    margin-top: 28px
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 600
}

input,
textarea {
    width: 100%;
    font: inherit;
    padding: 11px 12px;
    border: 1px solid #cfc5be;
    border-radius: 7px;
    background: #fff
}

button {
    justify-self: start;
    border: 0;
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    font: 600 16px system-ui;
    padding: 12px 20px;
    cursor: pointer
}

.hp {
    position: absolute;
    left: -10000px
}

footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px
}

footer .wrap {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap
}

@media(max-width:600px) {
    main {
        padding-top: 24px
    }

    .wrap {
        width: min(100% - 24px, 1040px)
    }

    article {
        padding: 22px
    }

    nav {
        gap: 14px
    }
}
