/* ==========================================================================
   Dale & Marti Nye — main stylesheet
   Palette: deep navy + warm gold + clean whites
   ========================================================================== */

:root {
    --c-navy: #0f2233;
    --c-navy-2: #1a3247;
    --c-navy-3: #28475e;
    --c-gold: #c89b3c;
    --c-gold-dark: #a87f28;
    --c-cream: #f7f3ec;
    --c-bg: #ffffff;
    --c-bg-alt: #faf7f2;
    --c-text: #1f2a36;
    --c-text-muted: #5b6772;
    --c-border: #e6dfd2;
    --c-border-dark: #2b455c;
    --c-success: #2f7d4f;
    --c-error: #b3261e;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --container-narrow: 760px;

    --shadow-sm: 0 1px 2px rgba(15, 34, 51, 0.06), 0 2px 8px rgba(15, 34, 51, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 34, 51, 0.08), 0 16px 40px rgba(15, 34, 51, 0.08);

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 18px;

    --header-h: 84px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--c-text);
    background: var(--c-bg);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-gold-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--c-navy);
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--c-gold-dark);
    margin: 0 0 .8em;
}

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    overflow: hidden; position: absolute !important;
    word-wrap: normal !important;
}
.skip-link {
    position: absolute; top: -40px; left: 6px;
    background: var(--c-navy); color: #fff; padding: 8px 12px;
    z-index: 1000; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus { top: 0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section--alt {
    background: linear-gradient(180deg, #fbf7ef 0%, #faf3e6 100%);
}
.section--intro {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
}
.section--services {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(200,155,60,0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8f1e2 100%);
}
.section--testimonials {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(200,155,60,0.10), transparent 55%),
        linear-gradient(180deg, #faf3e6 0%, #fbf7ef 100%);
}
.section--listings {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(200,155,60,0.05), transparent 60%),
        #ffffff;
}
.section--family {
    background: linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%);
}
.section--dark {
    background:
        radial-gradient(ellipse at 100% 100%, rgba(200,155,60,0.14), transparent 55%),
        linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
    color: #ddd6c8;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--c-gold); }
.section-subhead {
    font-size: 1.1rem; text-transform: uppercase;
    letter-spacing: .18em; color: var(--c-text-muted);
    font-family: var(--font-body); font-weight: 600;
    margin: 0 0 24px;
}
.section-foot { margin-top: 32px; text-align: center; }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; margin-bottom: 40px;
}
.section-head h2 { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
    text-align: center;
    line-height: 1;
}
.btn--gold {
    background: var(--c-gold);
    color: #1a1305;
    border-color: var(--c-gold);
}
.btn--gold:hover { background: var(--c-gold-dark); border-color: var(--c-gold-dark); color: #fff; }
.btn--ghost {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.btn--ghost-dark { color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost-dark:hover { background: var(--c-navy); color: #fff; }
.btn--text {
    padding: 0; background: none; border: 0;
    color: var(--c-navy); font-weight: 600;
    border-bottom: 2px solid var(--c-gold);
    border-radius: 0;
    padding-bottom: 2px;
}
.btn--text:hover { color: var(--c-gold-dark); }
.btn--text-light { color: #fff; }
.btn--text-light:hover { color: var(--c-gold); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}
.site-title {
    display: inline-flex; flex-direction: column;
    align-items: center;
    line-height: 1; gap: 6px;
    color: var(--c-navy);
    padding: 4px 0;
}
.site-title__mark {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}
.site-title__mark em {
    font-style: italic;
    color: var(--c-gold-dark);
    font-weight: 500;
    margin: 0 2px;
}
.site-title__name {
    font-size: .68rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    font-weight: 600;
    padding-top: 4px;
    border-top: 1px solid var(--c-border);
    width: 100%;
    text-align: center;
}
.custom-logo-link img { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.primary-menu {
    list-style: none; display: flex; gap: 28px; margin: 0; padding: 0;
}
.primary-menu a {
    color: var(--c-navy); font-weight: 500; font-size: .96rem;
    position: relative; padding: 6px 0;
}
.primary-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--c-gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.nav-cta { padding: 10px 20px; font-size: .9rem; }

.nav-toggle {
    display: none;
    background: transparent; border: 0;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; gap: 5px;
    align-items: center;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--c-navy);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column; align-items: stretch;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-sm);
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }
    .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .primary-menu { flex-direction: column; gap: 0; }
    .primary-menu a { padding: 12px 0; border-bottom: 1px solid var(--c-border); display: block; }
    .nav-cta { margin-top: 12px; align-self: flex-start; }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    background-color: var(--c-navy);
    background-image:
        radial-gradient(ellipse at 70% 30%, rgba(200,155,60,0.22), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(40, 71, 94, 0.6), transparent 60%),
        linear-gradient(135deg, #0a1a29 0%, #0f2233 40%, #1a3247 75%, #28475e 100%);
    background-size: cover; background-position: center;
    color: #fff;
    padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(200,155,60,0.12), transparent 55%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(15,34,51,0.6) 100%);
    pointer-events: none;
}
.hero__inner { position: relative; max-width: 880px; }
.hero__eyebrow {
    text-transform: uppercase; letter-spacing: .22em;
    font-size: .78rem; font-weight: 600; color: var(--c-gold);
    margin: 0 0 24px;
}
.hero__title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: #fff; margin: 0 0 24px;
}
.hero__subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: #d8d2c4;
    max-width: 640px;
    margin: 0 0 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__stats {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px; max-width: 600px;
    border-top: 1px solid rgba(255,255,255,.18);
    padding-top: 28px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats strong {
    font-family: var(--font-display); font-size: 2.2rem; color: var(--c-gold); font-weight: 600; line-height: 1;
}
.hero__stats span { font-size: .85rem; color: #cfc8b8; text-transform: uppercase; letter-spacing: .12em; }

/* ---- Intro / two bios on home ---- */
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center;
}
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; gap: 40px; } }

.intro-grid__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .intro-grid__cards { grid-template-columns: 1fr; } }

/* Couple-photo mode */
.intro-grid__couple { display: flex; flex-direction: column; gap: 24px; }
.couple-photo {
    margin: 0; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--c-cream), #e9dfc9);
    position: relative;
}
.couple-photo::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(180deg, transparent 0%, rgba(15,34,51,0.18) 100%);
    pointer-events: none;
}
.couple-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.couple-roles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--r-lg); padding: 22px;
    box-shadow: var(--shadow-sm);
}
.couple-role h3 { font-size: 1.25rem; margin: 0 0 4px; }
.couple-role__title {
    color: var(--c-text-muted); font-size: .88rem; margin: 0 0 12px;
}
@media (max-width: 540px) { .couple-roles { grid-template-columns: 1fr; gap: 18px; } }

/* Family block on About */
.family-block {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 56px; align-items: center;
}
.family-block__photo {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/2;
    background: var(--c-cream);
}
.family-block__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.family-block__copy h2 { margin-bottom: 16px; }
@media (max-width: 880px) {
    .family-block { grid-template-columns: 1fr; gap: 32px; }
}

/* Tucker integration */
.tucker-cta {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(200,155,60,0.2), transparent 60%),
        linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 48px clamp(24px, 4vw, 56px);
    text-align: center;
    margin-top: 32px;
}
.tucker-cta h3 { color: #fff; margin-bottom: 12px; }
.tucker-cta p { color: #d8d2c4; margin: 0 auto 24px; max-width: 520px; }

.section--dark .tucker-cta {
    background:
        linear-gradient(135deg, #1a3247 0%, #28475e 100%);
}

.section--tucker { padding-bottom: 0; }
.tucker-embed {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--c-bg-alt);
}
.tucker-embed iframe {
    width: 100%;
    min-height: 720px;
    border: 0;
    display: block;
}

.bio-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf3e6 100%);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bio-card img {
    width: 110px; height: 110px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 16px;
    border: 3px solid var(--c-cream);
}
.bio-card__placeholder {
    width: 110px; height: 110px; border-radius: 50%;
    background: linear-gradient(135deg, var(--c-navy), var(--c-navy-3));
    color: var(--c-gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 3rem; font-weight: 600;
    margin: 0 auto 16px;
}
.bio-card__placeholder--lg { width: 180px; height: 180px; font-size: 5rem; }
.bio-card h3 { margin: 4px 0 4px; font-size: 1.4rem; }
.bio-card__title { color: var(--c-text-muted); font-size: .92rem; margin-bottom: 16px; }

/* ---- Services grid ---- */
.services-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px; margin-top: 48px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: var(--c-gold);
}
.service__icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #f9eed4 0%, #f0d99a 100%);
    color: var(--c-gold-dark);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 12px rgba(200,155,60,0.18);
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--c-text-muted); margin: 0; }

/* ---- Listings + projects shared grids ---- */
.listings-grid, .projects-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px; margin-top: 32px;
}
@media (max-width: 980px) { .listings-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .listings-grid, .projects-grid { grid-template-columns: 1fr; } }

.listing-card, .project-card {
    background: #fff; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.section--dark .listing-card,
.section--dark .project-card {
    background: var(--c-navy-2); border-color: var(--c-border-dark);
}
.section--dark .listing-card__title a,
.section--dark .project-card__title a { color: #fff; }
.section--dark .listing-card__price { color: var(--c-gold); }
.section--dark .listing-card__loc,
.section--dark .project-card__meta,
.section--dark .listing-card__stats { color: #c2bcae; }
.section--dark .project-card__scope { color: var(--c-gold); }

.listing-card:hover, .project-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.listing-card__media, .project-card__media {
    display: block; aspect-ratio: 4/3; position: relative;
    background: var(--c-cream);
}
.listing-card__media img, .project-card__media img {
    width: 100%; height: 100%; object-fit: cover;
}
.listing-card__placeholder, .project-card__placeholder {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--c-cream), #e9dfc9);
}
.listing-card__body, .project-card__body { padding: 22px 22px 26px; }
.listing-card__price {
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.6rem; color: var(--c-navy);
    margin: 0 0 6px;
}
.listing-card__title, .project-card__title { font-size: 1.2rem; margin: 0 0 6px; }
.listing-card__title a, .project-card__title a { color: var(--c-navy); }
.listing-card__loc, .project-card__meta { color: var(--c-text-muted); font-size: .92rem; margin: 0 0 14px; }
.project-card__scope {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: .72rem; font-weight: 600; color: var(--c-gold-dark);
    margin: 0 0 8px;
}
.listing-card__stats {
    list-style: none; display: flex; gap: 18px; padding: 0; margin: 0;
    border-top: 1px solid var(--c-border); padding-top: 14px;
    font-size: .9rem; color: var(--c-text-muted);
}
.section--dark .listing-card__stats { border-top-color: var(--c-border-dark); }
.listing-card__stats strong { color: var(--c-navy); font-weight: 600; }
.section--dark .listing-card__stats strong { color: #fff; }

.badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--c-gold); color: #1a1305;
    text-transform: uppercase; letter-spacing: .12em;
    font-size: .68rem; font-weight: 700;
    padding: 6px 10px; border-radius: 999px;
}
.badge--pending { background: #f0b132; }
.badge--sold { background: #2f7d4f; color: #fff; }
.badge--scope { background: var(--c-navy); color: #fff; position: static; display: inline-block; margin-bottom: 10px; }

/* ---- Empty states ---- */
.empty-state {
    text-align: center; padding: 60px 24px;
    background: var(--c-bg-alt); border-radius: var(--r-lg);
    color: var(--c-text-muted);
}
.empty-state--dark { background: var(--c-navy-2); color: #c2bcae; }
.empty-state--dark a { color: var(--c-gold); }

/* ---- Testimonials ---- */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px; margin-top: 40px;
}
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
    border-left: 4px solid var(--c-gold);
    padding: 28px 28px 24px; margin: 0;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-family: var(--font-display);
    font-size: 1.18rem; line-height: 1.4;
    color: var(--c-text);
    box-shadow: 0 1px 2px rgba(15,34,51,0.04), 0 8px 24px rgba(15,34,51,0.04);
}
.testimonial cite {
    display: block; margin-top: 16px;
    font-family: var(--font-body); font-size: .9rem;
    font-style: normal; color: var(--c-text-muted);
}

/* ---- CTA band ---- */
.cta-band {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(200,155,60,0.18), transparent 60%),
        linear-gradient(120deg, #f9eed4 0%, #f7e8c0 50%, #f9eed4 100%);
    padding: 72px 0;
    border-top: 1px solid var(--c-border);
}
.cta-band__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.cta-band__inner h2 { margin: 0 0 8px; }
.cta-band__inner p { margin: 0; color: var(--c-text-muted); max-width: 520px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Page hero (interior pages) ---- */
.page-hero {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(200,155,60,0.20), transparent 55%),
        linear-gradient(135deg, #0a1a29 0%, var(--c-navy) 50%, var(--c-navy-2) 100%);
    color: #fff;
    padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; right: -120px; top: -80px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(200,155,60,.22), transparent 70%);
    pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero .eyebrow { color: var(--c-gold); }
.page-hero__lead {
    font-size: 1.15rem; color: #d8d2c4; max-width: 720px;
    margin: 0;
}
.page-hero__lead a { color: var(--c-gold); border-bottom: 1px solid var(--c-gold); }
.page-hero__lead a:hover { color: #fff; border-bottom-color: #fff; }

/* ---- About bios ---- */
.bio {
    display: grid; grid-template-columns: 320px 1fr; gap: 56px;
    align-items: start;
    margin-bottom: 80px;
}
.bio:last-child { margin-bottom: 0; }
.bio--reverse { grid-template-columns: 1fr 320px; }
.bio--reverse .bio__photo { order: 2; }
.bio__photo img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}
.bio__photo .bio-card__placeholder--lg {
    width: 100%; height: auto; aspect-ratio: 1/1;
    border-radius: var(--r-lg);
    margin: 0;
}
.bio__copy h2 { margin-bottom: 16px; }
.bio__bullets {
    list-style: none; padding: 0; margin: 18px 0 24px;
    display: grid; gap: 8px;
}
.bio__bullets li {
    padding-left: 24px; position: relative; color: var(--c-text-muted);
}
.bio__bullets li::before {
    content: ""; position: absolute; left: 0; top: 10px;
    width: 12px; height: 2px; background: var(--c-gold);
}

@media (max-width: 880px) {
    .bio, .bio--reverse { grid-template-columns: 1fr; gap: 28px; }
    .bio--reverse .bio__photo { order: 0; }
}

/* ---- Services detail ---- */
.services-detail { display: grid; gap: 24px; }
.service-detail {
    background: #fff; border: 1px solid var(--c-border);
    padding: 36px clamp(24px, 4vw, 48px);
    border-radius: var(--r-lg);
    border-left: 6px solid var(--c-gold);
}
.service-detail--alt {
    background: var(--c-bg-alt);
    border-left-color: var(--c-navy);
}
.service-detail h2 { margin-bottom: 14px; }
.check-list {
    list-style: none; padding: 0; margin: 16px 0 0;
    display: grid; gap: 8px;
}
.check-list li {
    padding-left: 28px; position: relative; color: var(--c-text);
}
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 16px; height: 8px;
    border-left: 2px solid var(--c-gold-dark);
    border-bottom: 2px solid var(--c-gold-dark);
    transform: rotate(-45deg);
}
.cta-card {
    margin-top: 48px;
    background: var(--c-navy); color: #fff;
    border-radius: var(--r-lg);
    padding: 40px clamp(24px, 4vw, 48px);
    text-align: center;
}
.cta-card h3 { color: #fff; }
.cta-card p { color: #d8d2c4; max-width: 520px; margin: 0 auto 20px; }

/* ---- Contact ---- */
.contact-grid {
    display: grid; grid-template-columns: 320px 1fr; gap: 56px;
    align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info__block {
    padding: 20px 0;
    border-bottom: 1px solid var(--c-border);
}
.contact-info__block:first-child { padding-top: 0; }
.contact-info__block:last-child { border-bottom: 0; }
.contact-info__block h3 { margin-bottom: 4px; font-size: 1.2rem; }
.contact-info__block p { margin: 0 0 4px; color: var(--c-text-muted); }
.contact-info__block a { font-weight: 500; color: var(--c-navy); }

.contact-form {
    background: var(--c-bg-alt);
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
}
.form-row { margin-bottom: 20px; }
.form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row--two { grid-template-columns: 1fr; } }
.form-row label {
    display: block; font-weight: 600; font-size: .92rem;
    color: var(--c-navy); margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: #fff;
    font: inherit;
    color: var(--c-text);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 0;
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(200,155,60,.18);
}
.form-row--hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { margin: 16px 0 0; min-height: 1.2em; font-size: .92rem; }
.form-status.is-success { color: var(--c-success); }
.form-status.is-error   { color: var(--c-error); }

/* ---- Listing/Project hero ---- */
.listing-hero {
    background: var(--c-navy);
    color: #fff;
    padding-bottom: 36px;
}
.listing-hero__media {
    width: 100%; aspect-ratio: 16/8;
    background: var(--c-navy-2);
    overflow: hidden;
    margin-bottom: -60px;
    position: relative;
}
.listing-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.listing-hero__placeholder {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--c-navy-2), var(--c-navy-3));
}
.listing-hero__head {
    background: var(--c-navy);
    border-radius: var(--r-lg);
    padding: 36px clamp(24px, 4vw, 48px) 12px;
    box-shadow: var(--shadow-md);
    display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.listing-hero__head h1 { color: #fff; margin: 12px 0 8px; }
.listing-hero__addr { color: #c2bcae; margin: 0; }
.listing-hero__price {
    font-family: var(--font-display);
    font-weight: 600; font-size: 2.4rem;
    color: var(--c-gold); margin: 0; line-height: 1.1;
}
.listing-hero__stats {
    list-style: none; display: flex; flex-wrap: wrap; gap: 32px;
    padding: 24px 0 0; margin: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    margin: 24px clamp(24px, 4vw, 48px) 0;
}
.listing-hero__stats li { color: #c2bcae; font-size: .9rem; }
.listing-hero__stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem; color: #fff; font-weight: 600; line-height: 1.1;
}

/* ---- Rich text content ---- */
.rich-text { font-size: 1.06rem; line-height: 1.7; }
.rich-text h2 { margin-top: 1.6em; }
.rich-text h3 { margin-top: 1.4em; }
.rich-text ul, .rich-text ol { padding-left: 1.4em; }
.rich-text li { margin-bottom: .35em; }
.rich-text img { border-radius: var(--r-md); margin: 1.5em 0; }
.rich-text blockquote {
    border-left: 4px solid var(--c-gold);
    padding-left: 1.2em; margin: 1.6em 0;
    font-family: var(--font-display); font-size: 1.3rem; color: var(--c-navy);
}

/* ---- Page header ---- */
.page-header { margin-bottom: 32px; }

/* ---- Post list (blog) ---- */
.post-list { display: grid; gap: 32px; }
.post-list__item {
    display: grid; grid-template-columns: 280px 1fr; gap: 28px;
    align-items: start; padding-bottom: 32px;
    border-bottom: 1px solid var(--c-border);
}
.post-list__item:last-child { border-bottom: 0; }
.post-list__thumb img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; }
.post-list__body h2 { margin-bottom: 8px; }
.post-list__body h2 a { color: var(--c-navy); }
.post-list__meta { color: var(--c-text-muted); font-size: .9rem; margin-bottom: 12px; }
@media (max-width: 640px) {
    .post-list__item { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.site-footer {
    background: var(--c-navy);
    color: #c8c2b3;
    padding: 72px 0 0;
}
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.site-footer__brand h3 {
    font-size: 1.7rem; margin-bottom: 4px; letter-spacing: 0.03em;
}
.site-footer__tagline {
    text-transform: uppercase; letter-spacing: .22em;
    font-size: .72rem; color: var(--c-gold);
    margin: 0 0 16px;
}
.site-footer__brokerage { font-size: .88rem; color: #a8a293; }
.site-footer__col h4 {
    font-size: 1rem; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: .16em;
    font-family: var(--font-body); font-weight: 600;
    color: var(--c-gold);
}
.site-footer__col ul, .site-footer__social {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 10px;
}
.site-footer__col a, .site-footer__social a {
    color: #c8c2b3;
}
.site-footer__col a:hover, .site-footer__social a:hover { color: #fff; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    font-size: .85rem;
}
.site-footer__bottom .container {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { color: #8e8878; }

@media (max-width: 880px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---- Pagination ---- */
.pagination, .nav-links {
    margin-top: 48px;
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--c-border); border-radius: var(--r-sm);
    color: var(--c-navy);
}
.page-numbers.current { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.page-numbers:hover:not(.current) { border-color: var(--c-gold); color: var(--c-gold-dark); }
