:root {
    --bg: #f2f0eb;
    --surface: #fffdfa;
    --surface-strong: #f8f4ee;
    --text: #1c252f;
    --muted: #5c6571;
    --line: #d8d1c7;
    --accent: #9a7044;
    --accent-deep: #7c5731;
    --cta-text: #fff7ef;
    --dark: #151d26;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(242, 238, 232, 0) 45%),
        linear-gradient(180deg, #f7f4ef 0%, #f0ebe4 100%);
    line-height: 1.68;
}

a {
    color: var(--accent-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

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

.container {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
}

.section-narrow {
    width: min(940px, 100%);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: #0f1720;
    color: #fff;
    padding: 0.4rem 0.75rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 243, 236, 0.56);
    border-bottom: 1px solid rgba(216, 209, 199, 0.42);
    backdrop-filter: blur(12px);
    transition: background-color 0.24s ease, border-color 0.24s ease;
}

.site-header.is-compact {
    background: rgba(247, 243, 236, 0.9);
    border-bottom-color: rgba(216, 209, 199, 0.66);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0.58rem 0;
}

.brand-kicker {
    margin: 0;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--muted);
}

.site-title {
    font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", serif;
    font-size: 1.26rem;
    color: var(--text);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    padding: 0.45rem 0.72rem;
}

.menu-list,
.footer-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.menu-list a,
.footer-menu-list a {
    text-decoration: none;
    color: #30404f;
    font-size: 0.86rem;
}

.header-primary-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 112, 68, 0.36);
    color: var(--accent-deep);
    text-decoration: none;
    font-size: 0.81rem;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.header-primary-cta:hover,
.header-primary-cta:focus {
    transform: translateY(-2px);
    border-color: rgba(124, 87, 49, 0.62);
    box-shadow: 0 10px 18px rgba(80, 58, 35, 0.14);
}

.site-main {
    padding-bottom: 2rem;
}

.section-alt {
    background: var(--surface-strong);
}

.eyebrow {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6f7580;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", serif;
    line-height: 1.18;
    color: #131a22;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
    max-width: 13ch;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-top: 0.38rem;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0;
}

.section-lead {
    margin-top: 0.8rem;
    color: #323c48;
    max-width: 64ch;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--accent-deep);
    background: var(--accent-deep);
    color: var(--cta-text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.74rem 1.32rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    background: #684826;
    box-shadow: 0 14px 24px rgba(89, 63, 35, 0.2);
}

.button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    text-decoration: none;
    color: #2f3f4f;
    transition: color 0.22s ease;
}

.button-link:hover,
.button-link:focus {
    color: var(--accent-deep);
}

.landing-hero {
    padding: 0 0 clamp(2.6rem, 4.2vw, 4.4rem);
}

.hero-poster-shell {
    position: relative;
    width: min(1600px, calc(100% - 1.2rem));
    margin: 0 auto;
    border-radius: 0 0 34px 34px;
    overflow: hidden;
    min-height: min(96vh, 920px);
    border: 1px solid rgba(216, 209, 199, 0.46);
    box-shadow: 0 32px 64px rgba(22, 20, 16, 0.26);
}

.hero-poster-image {
    position: absolute;
    inset: 0;
    margin: 0;
}

.hero-poster-image,
.hero-poster-image img {
    width: 100%;
    height: 100%;
}

.hero-poster-image img {
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-poster-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(10, 16, 24, 0.52) 0%, rgba(10, 16, 24, 0.18) 48%, rgba(10, 16, 24, 0.06) 100%),
        linear-gradient(180deg, rgba(9, 13, 19, 0.02) 0%, rgba(9, 13, 19, 0.26) 100%);
    pointer-events: none;
}

.hero-poster-content {
    position: absolute;
    left: clamp(1rem, 2.4vw, 2.35rem);
    bottom: clamp(1rem, 2.4vw, 2.35rem);
    width: min(500px, calc(100% - 2rem));
    z-index: 2;
    display: grid;
    gap: 0.72rem;
}

.hero-poster-content .eyebrow {
    color: rgba(250, 245, 237, 0.86);
}

.hero-poster-content h1 {
    color: #fffdf9;
    max-width: 12ch;
    text-wrap: balance;
    line-height: 1.08;
}

.hero-poster-content .lead {
    color: rgba(245, 241, 234, 0.92);
    max-width: 31ch;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.64rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 250, 241, 0.36);
    color: rgba(255, 249, 239, 0.95);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-cta-ladder {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.72rem 0.92rem;
}

.button-hero-main {
    font-size: 0.95rem;
    min-width: 16.5rem;
    box-shadow: 0 18px 32px rgba(80, 56, 32, 0.4);
}

.button-hero-secondary {
    font-size: 0.82rem;
    color: rgba(255, 248, 236, 0.88);
}

.button-hero-secondary:hover,
.button-hero-secondary:focus {
    color: #fffdf8;
}

.hero-trust-note {
    color: rgba(245, 239, 229, 0.9);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.landing-section {
    padding: clamp(2.2rem, 3.6vw, 4.2rem) 0;
}

#media-sequence {
    padding-top: clamp(4rem, 5.4vw, 5.8rem);
    padding-bottom: clamp(4rem, 5.4vw, 5.8rem);
}

#purchase-conditions,
#construction-proof {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

#lead-form {
    padding-top: clamp(4.2rem, 6vw, 6rem);
    padding-bottom: clamp(4rem, 6vw, 5.8rem);
}

#location-proof {
    padding-top: clamp(4rem, 6.2vw, 6rem);
    padding-bottom: clamp(3rem, 4.8vw, 4.8rem);
}

#object-summary {
    padding-top: clamp(2.8rem, 4.2vw, 4.1rem);
    padding-bottom: clamp(3.3rem, 5.4vw, 5.2rem);
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: clamp(1.3rem, 3vw, 2.8rem);
    align-items: start;
}

.location-copy {
    display: grid;
    gap: 0.8rem;
}

.location-proof-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.location-proof-list li {
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 16px;
    padding: 0.86rem 0.94rem;
}

.location-actions {
    margin-top: 0.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
}

.location-visual {
    margin: 0;
    background: #0f1a27;
    border: 1px solid rgba(26, 40, 58, 0.42);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(15, 22, 31, 0.25);
}

.location-visual img {
    width: 100%;
    aspect-ratio: 16 / 12;
    object-fit: cover;
}

.location-visual figcaption {
    padding: 0.82rem 0.9rem 1rem;
    color: rgba(234, 241, 247, 0.88);
    font-size: 0.86rem;
    background: linear-gradient(180deg, rgba(16, 25, 37, 0.92), rgba(16, 25, 37, 0.84));
}

.gallery-intro {
    margin-top: 0.7rem;
    max-width: 56ch;
    color: rgba(228, 235, 243, 0.9);
}

.media-showcase {
    background: linear-gradient(170deg, #121c27 0%, #1a2a3a 64%, #162230 100%);
    color: #ebf0f6;
}

.media-showcase h2,
.media-showcase .section-eyebrow {
    color: #f3f6fa;
}

.media-curation-layout {
    margin-top: 1.7rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.82fr);
    gap: clamp(1rem, 2.6vw, 1.8rem);
    align-items: stretch;
}

.media-support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.88rem;
}

.gallery-card {
    margin: 0;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    min-height: 100%;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.media-showcase .gallery-card {
    background: rgba(243, 246, 250, 0.05);
    box-shadow: 0 18px 32px rgba(9, 14, 20, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 240px;
    object-fit: cover;
}

.gallery-card figcaption {
    padding: 0.88rem 0.9rem 1rem;
    display: grid;
    gap: 0.3rem;
}

.gallery-card strong {
    font-size: 0.98rem;
}

.gallery-card span {
    color: #c6d2de;
    font-size: 0.92rem;
}

.media-dominant-card img {
    min-height: 500px;
    max-height: none;
}

.media-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(36, 30, 22, 0.22);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(1.1rem, 3vw, 2.4rem);
    align-items: start;
}

.about-copy {
    display: grid;
    gap: 0.86rem;
}

.about-highlight {
    color: #243241;
    font-size: 1.02rem;
    max-width: 62ch;
}

.about-grid {
    margin-top: 0.28rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.about-card {
    background: #fffefb;
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 16px;
    padding: 0.92rem;
    display: grid;
    gap: 0.42rem;
}

.about-card p {
    color: #42505f;
}

.about-side-image {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(21, 28, 36, 0.18);
}

.about-side-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

#floorplan-proof .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: start;
}

.plan-card {
    margin: 0;
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 16px;
    overflow: hidden;
}

.plan-card figcaption {
    padding: 0.8rem 0.88rem 0.95rem;
    color: #4e5b68;
}

.conditions-panel,
.faq-panel {
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 18px;
    padding: clamp(1rem, 2vw, 1.5rem);
    display: grid;
    gap: 0.8rem;
}

.conditions-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.46rem;
}

.construction-photo {
    margin: 0.4rem 0 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(216, 209, 199, 0.95);
    background: #fff;
}

.construction-photo figcaption {
    padding: 0.72rem 0.82rem;
    color: #4c5b69;
}

.value-grid {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.72rem;
}

.value-grid-clean li {
    padding: 0.9rem 1rem;
    border-left: 3px solid rgba(154, 112, 68, 0.58);
    background: var(--surface);
    border-radius: 0 12px 12px 0;
}

.summary-meta {
    margin-top: 0.25rem;
    display: grid;
    gap: 0.5rem;
    color: #34404c;
}

.value-actions {
    margin-top: 0.3rem;
}

.faq-list {
    display: grid;
    gap: 0.58rem;
}

.faq-list details {
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 12px;
    background: #fffcf9;
    padding: 0.6rem 0.72rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-list p {
    margin-top: 0.55rem;
    color: #495563;
}

.final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 440px);
    gap: clamp(1rem, 3vw, 2.4rem);
    align-items: start;
}

.final-panel {
    background: linear-gradient(158deg, #112033 0%, #18324c 56%, #0f2339 100%);
    color: #ebf1f6;
    border-radius: 24px;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    display: grid;
    gap: 0.9rem;
    box-shadow: 0 26px 44px rgba(10, 16, 24, 0.4);
}

.final-panel h2 {
    color: #fff4e8;
}

.final-panel .section-eyebrow {
    color: #c9d2db;
}

.final-panel .muted-note {
    color: #cdd5dd;
}

.final-proof-list {
    margin: 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.42rem;
    color: #dce5ee;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem 0.92rem;
}

.cta-secondary-link {
    font-size: 0.86rem;
    color: #cfd8e2;
}

.cta-secondary-link:hover,
.cta-secondary-link:focus {
    color: #ffffff;
}

.lead-form {
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 22px;
    padding: clamp(1rem, 2vw, 1.4rem);
    display: grid;
    gap: 0.62rem;
    box-shadow: 0 20px 34px rgba(32, 28, 20, 0.15);
}

.lead-form label {
    font-size: 0.86rem;
    color: #445160;
}

.lead-form input,
.lead-form textarea {
    border: 1px solid #cec6bb;
    border-radius: 10px;
    padding: 0.66rem 0.68rem;
    font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 2px solid rgba(154, 112, 68, 0.42);
    border-color: rgba(154, 112, 68, 0.62);
}

.consent-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: start;
    margin-top: 0.2rem;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.form-status {
    margin-top: 0.9rem;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
}

.form-status.success {
    background: #e8f4ec;
    border: 1px solid #99c4aa;
}

.form-status.error {
    background: #f9e7e4;
    border: 1px solid #d8a39b;
}

.muted-note {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.6rem 0 1.2rem;
    background: #efe8de;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.2rem;
    align-items: start;
}

.footer-title {
    margin: 0;
    font-weight: 600;
}

.footer-contacts {
    margin: 0.4rem 0 0.7rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.footer-contacts a {
    text-decoration: none;
}

.legal-row {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(216, 209, 199, 0.95);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #5f6770;
    font-size: 0.86rem;
}

.route-panel,
.entry {
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 14px;
    padding: 1rem;
}

.route-shell {
    padding: 2rem 0 2.4rem;
    display: grid;
    gap: 1rem;
}

.route-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1rem;
    align-items: start;
}

.route-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.route-points {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.route-point {
    border-left: 3px solid rgba(154, 112, 68, 0.48);
    padding: 0.55rem 0 0.55rem 0.72rem;
    background: #fffcf8;
}

.entry-content {
    display: grid;
    gap: 0.7rem;
}

.widget {
    background: var(--surface);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 14px;
    padding: 1rem;
}

.reveal-ready {
    opacity: 1;
    transform: translateY(14px);
    filter: saturate(0.96);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
    transform: none;
    filter: saturate(1);
}

.reveal-card {
    transform: translateY(22px) scale(0.976);
}

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

.hero-poster-shell.is-visible .hero-poster-image img {
    transform: translateY(0) scale(1.01);
}

body.hero-loaded .hero-poster-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-poster-content {
    opacity: 0;
    transform: translateY(16px);
    transition: transform 0.78s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.58s ease;
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 0.85rem;
    }

    .menu-list {
        gap: 0.7rem;
    }

    .location-layout,
    #floorplan-proof .container,
    .final-grid,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster-shell {
        min-height: 680px;
    }

    .media-curation-layout {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav {
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .menu-list {
        flex-direction: column;
        align-items: flex-start;
        background: var(--surface);
        border: 1px solid rgba(216, 209, 199, 0.95);
        border-radius: 12px;
        padding: 0.75rem 0.9rem;
    }

    .header-primary-cta {
        display: inline-flex;
        margin-left: auto;
    }

    .route-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1240px, calc(100% - 1.2rem));
    }

    .hero-poster-shell {
        min-height: 680px;
        width: calc(100% - 0.4rem);
        border-radius: 0 0 24px 24px;
    }

    .hero-poster-content {
        left: 0.9rem;
        right: 0.9rem;
        width: auto;
        bottom: 0.9rem;
    }

    .hero-poster-content h1 {
        font-size: clamp(1.9rem, 9.4vw, 2.4rem);
        max-width: 11.5ch;
    }

    .hero-poster-content .lead {
        max-width: 29ch;
        font-size: 0.96rem;
    }

    .hero-cta-ladder {
        align-items: stretch;
    }

    .button-hero-main {
        width: 100%;
        min-width: 0;
    }

    .button-hero-secondary {
        font-size: 0.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-side-image img {
        min-height: 320px;
    }

    .header-primary-cta {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-ready {
        opacity: 1 !important;
        transform: none !important;
    }
}
