:root {
    --ink: #1c1915;
    --ink-soft: #4a433b;
    --gold: #9a7432;
    --gold-bright: #c6a15a;
    --cream: #f6f1e8;
    --paper: #fffdf9;
    --line: rgba(28, 25, 21, 0.12);
    --pine: #1b2420;
    --header: 84px;
    --shadow: 0 18px 50px rgba(28, 25, 21, 0.08);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 12px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header);
    padding: 10px 7vw;
    background: rgba(246, 241, 232, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    padding: 2px 8px;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
}

.brand img {
    height: 62px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 22px;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
}

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

.lang {
    display: flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}

.lang button {
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.lang button.is-active {
    background: var(--ink);
    color: var(--cream);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header));
    display: grid;
    align-items: end;
    color: #f7f2ea;
    overflow: hidden;
    background: var(--pine);
}

.hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 40%;
    filter: saturate(0.9) contrast(1.06);
}

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 16, 13, 0.22) 0%, rgba(18, 16, 13, 0.28) 40%, rgba(18, 16, 13, 0.82) 100%),
        linear-gradient(90deg, rgba(18, 16, 13, 0.55), rgba(18, 16, 13, 0.12) 62%);
}

.hero__content,
.hero__credit {
    position: relative;
    z-index: 1;
}

.hero__content {
    width: min(820px, calc(100% - 14vw));
    margin: 0 7vw 72px;
}

.eyebrow,
.kicker {
    margin: 0 0 12px;
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 7px 12px 7px 10px;
    border: 1px solid rgba(198, 161, 90, 0.45);
    border-radius: 999px;
    background: rgba(18, 16, 13, 0.28);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 0 0 rgba(198, 161, 90, 0.7);
    animation: pulse 2.4s infinite;
}

.hero__kicker {
    margin: 0 0 8px;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

h1 {
    margin: 0;
    font-size: clamp(4.2rem, 9vw, 7.4rem);
}

.hero__lead {
    max-width: 38rem;
    margin: 22px 0 0;
    font-size: 1.18rem;
    font-weight: 300;
    line-height: 1.55;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 8px 14px;
    border: 1px solid rgba(247, 242, 234, 0.28);
    border-radius: 999px;
    background: rgba(247, 242, 234, 0.08);
    font-size: 0.92rem;
}

.hero__credit {
    position: absolute;
    right: 7vw;
    bottom: 18px;
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.78;
}

.hero__credit a {
    color: inherit;
}

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

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

.section__intro {
    max-width: 680px;
    margin-bottom: 36px;
}

.section .kicker {
    color: var(--gold);
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.houses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.house,
.doc,
.contact-card,
.place {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.house {
    padding: 32px 32px 18px;
}

.house__index {
    margin: 0 0 14px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.house h3,
.contact-card__name {
    margin: 0 0 12px;
    font-size: 2.15rem;
    line-height: 1;
}

.house p,
.place p,
.section__intro p,
.contact-card p {
    color: var(--ink-soft);
}

.house ul {
    margin: 22px 0 12px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.house li {
    padding: 13px 0 13px 18px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 0 50%, var(--gold-bright) 0 3px, transparent 3.5px);
}

.place {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: end;
    margin-top: 22px;
    padding: 36px;
}

.place h2,
.place p {
    margin: 0;
}

.docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.doc {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.doc:hover {
    transform: translateY(-3px);
    border-color: rgba(154, 116, 50, 0.45);
}

.doc__mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.doc__note {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.doc__title {
    display: block;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1.05;
}

.doc__size {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.doc__action {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.map {
    height: 460px;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #e7e1d6;
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.section--contact {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.contact-card {
    margin: 0;
    padding: 32px;
    font-style: normal;
}

.contact-card__phones {
    display: grid;
    gap: 6px;
    margin-bottom: 0;
}

.contact-card a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--gold);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 7vw 36px;
    background: var(--pine);
    color: rgba(246, 241, 232, 0.78);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(198, 161, 90, 0);
    }
}

@media (max-width: 860px) {
    .site-header {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 10px 5vw 12px;
    }

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

    .houses,
    .docs,
    .place,
    .section--contact {
        grid-template-columns: 1fr;
    }

    .hero__content {
        width: calc(100% - 10vw);
        margin: 0 5vw 78px;
    }

    .eyebrow {
        letter-spacing: 0.08em;
        font-size: 0.68rem;
    }

    h1 {
        font-size: clamp(3.4rem, 16vw, 4.8rem);
    }

    .hero__credit {
        right: 5vw;
        left: 5vw;
    }

    .section {
        width: min(1120px, calc(100% - 10vw));
        padding: 64px 0;
    }

    .doc {
        grid-template-columns: auto 1fr;
    }

    .doc__action {
        grid-column: 2;
    }

    .site-footer {
        flex-direction: column;
        padding-inline: 5vw;
    }
}

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

    .pulse,
    .doc {
        animation: none;
        transition: none;
    }
}
