/* ============================================================
   ZED IMMOBILIER — Résidence de Labajouderie
   Heritage-property editorial system. Deliberately distinct from
   other French-Property.com advertiser landing pages: full-bleed
   image hero, Cormorant Garamond display, alternating feature rows,
   a heritage stat strip, an asymmetric photo mosaic, and a
   gold-bordered "invitation" offer. Parchment-dominant.
   ============================================================ */

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

:root {
    --teal: #134f5c;
    --teal-deep: #0e3a44;
    --teal-soft: #3a7d8b;
    --teal-line: #2a6472;

    --paper: #f7f4ee;
    --paper-2: #efe8db;
    --card: #fffdf9;

    --gold: #b3861f;
    --gold-bright: #c99a34;
    --gold-on-dark: #e9c766;

    --ink: #223230;
    --ink-soft: #5d6b68;
    --ink-faint: #8a938f;
    --line: #ddd3c2;
    --line-on-dark: rgba(233, 199, 102, 0.28);
    --white: #ffffff;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fs-eyebrow: 0.72rem;
    --fs-sm: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
    --fs-base: clamp(0.98rem, 0.93rem + 0.25vw, 1.1rem);
    --fs-lead: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    --fs-h3: clamp(1.6rem, 1.3rem + 1.2vw, 2.35rem);
    --fs-h2: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
    --fs-hero: clamp(2.9rem, 1.8rem + 5vw, 5.75rem);
    --fs-stat: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);

    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 5.5rem;
    --space-3xl: 8rem;

    --radius: 3px;
    --header-h: 104px;

    --shadow-soft: 0 18px 50px rgba(14, 58, 68, 0.14);
    --shadow-card: 0 2px 8px rgba(14, 58, 68, 0.06), 0 12px 30px rgba(14, 58, 68, 0.08);
    --ease: 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.72;
    color: var(--ink);
    background-color: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: min(100% - 2.75rem, 74rem);
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - 2.75rem, 52rem);
    margin-inline: auto;
}

.hidden {
    display: none !important;
}

/* --- Typographic primitives --- */
.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.eyebrow::before {
    content: '';
    width: 1.6rem;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

.eyebrow--center {
    justify-content: center;
}

.display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: 0.005em;
    color: var(--teal);
    font-size: var(--fs-h2);
}

.display em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.lead {
    font-family: var(--font-display);
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink);
}

.prose {
    color: var(--ink-soft);
}

.prose + .prose {
    margin-top: var(--space-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.95rem 1.9rem;
    cursor: pointer;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn--primary {
    background-color: var(--gold-bright);
    color: var(--teal-deep);
}

.btn--primary:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

.btn--ghost {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn--ink {
    background-color: var(--teal);
    color: var(--paper);
}

.btn--ink:hover {
    background-color: var(--teal-deep);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-solid {
    background-color: rgba(247, 244, 238, 0.94);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    height: var(--header-h);
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav__logo-img {
    width: auto;
    height: 88px;
    /* Gold-on-transparent lockup — legible over the dark hero and on parchment.
       A soft shadow lifts it off the busy hero photo before the header solidifies. */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
    transition: filter var(--ease);
}

.site-header.is-solid .nav__logo-img {
    filter: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav__link {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color var(--ease);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.site-header.is-solid .nav__link {
    color: var(--teal);
    text-shadow: none;
}

.nav__link:hover {
    color: var(--gold-on-dark);
}

.site-header.is-solid .nav__link:hover {
    color: var(--gold);
}

.nav__link--cta {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    padding: 0.55rem 1.1rem;
}

.nav__link--cta:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.site-header.is-solid .nav__link--cta {
    border-color: var(--gold);
    color: var(--gold);
}

.site-header.is-solid .nav__link--cta:hover {
    background-color: var(--gold);
    color: var(--white);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav__toggle-bar {
    width: 26px;
    height: 2px;
    background-color: var(--white);
    transition: transform var(--ease), opacity var(--ease), background-color var(--ease);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.site-header.is-solid .nav__toggle-bar {
    background-color: var(--teal);
    box-shadow: none;
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Flash message --- */
.flash {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 55;
    background-color: var(--gold-bright);
    color: var(--teal-deep);
    box-shadow: var(--shadow-card);
}

.flash__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: 0.9rem;
}

.flash__text strong {
    font-weight: 700;
}

.flash__close {
    background: none;
    border: 0;
    color: var(--teal-deep);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

/* --- Hero (full-bleed image, overlaid title) --- */
.hero {
    position: relative;
    min-height: min(94vh, 860px);
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background:
        /* left scrim — behind the logo, eyebrow, title, sub and buttons */
        linear-gradient(90deg, rgba(11, 42, 51, 0.62) 0%, rgba(11, 42, 51, 0.28) 38%, rgba(11, 42, 51, 0) 66%),
        /* top scrim for the nav + bottom scrim for the sub/buttons */
        linear-gradient(180deg, rgba(11, 42, 51, 0.5) 0%, rgba(11, 42, 51, 0.12) 22%, rgba(11, 42, 51, 0.22) 52%, rgba(11, 42, 51, 0.88) 100%),
        url('/img/zed-immobilier/hero-riverfront.jpg') center 42% / cover no-repeat;
}

.hero__inner {
    padding-block: var(--space-2xl) var(--space-xl);
}

.hero__eyebrow {
    color: var(--gold-on-dark);
    margin-bottom: var(--space-md);
    /* Dark tag so the gold eyebrow reads over the bright rooftops/château in
       the photo — a scrim alone can't guarantee gold-on-pale contrast. */
    background: rgba(11, 42, 51, 0.58);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.hero__eyebrow::before {
    display: none;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-hero);
    line-height: 1.0;
    letter-spacing: 0.005em;
    max-width: 15ch;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero__title em {
    font-style: italic;
    color: var(--gold-on-dark);
}

.hero__sub {
    margin-top: var(--space-lg);
    max-width: 44ch;
    font-size: var(--fs-base);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
    margin-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* --- "Sold" banner (standalone, below hero) --- */
.soldbar {
    background-color: var(--teal);
    color: var(--gold-on-dark);
    text-align: center;
    padding: 0.95rem 0;
}

.soldbar p {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(0.8rem, 0.7rem + 0.35vw, 1rem);
    letter-spacing: 0.08em;
}

/* --- Section scaffolding --- */
.section {
    padding-block: var(--space-3xl);
}

.section--tight {
    padding-block: var(--space-2xl);
}

.section--paper2 {
    background-color: var(--paper-2);
}

.section--teal {
    background-color: var(--teal);
    color: var(--paper);
}

.section-head {
    max-width: 46rem;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head .eyebrow {
    margin-bottom: var(--space-md);
}

.section-head__sub {
    margin-top: var(--space-md);
    color: var(--ink-soft);
    font-size: var(--fs-base);
}

/* --- Intro (two-column editorial + stat strip) --- */
.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.intro__statement {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.35rem);
    font-weight: 400;
    line-height: 1.28;
    color: var(--teal);
}

.intro__statement em {
    font-style: italic;
    color: var(--gold);
}

.stats {
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    border-left: 0;
}

.stat__num {
    font-family: var(--font-display);
    font-size: var(--fs-stat);
    font-weight: 500;
    line-height: 1;
    color: var(--teal);
}

.stat__num span {
    font-size: 0.5em;
    color: var(--gold);
}

.stat__label {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* --- Feature rows (alternating image / text) --- */
.feature-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-2xl);
    align-items: center;
}

.feature-row + .feature-row {
    margin-top: var(--space-2xl);
}

.feature-row--reverse .feature-row__media {
    order: 2;
}

.feature-row__media {
    position: relative;
}

.feature-row__media img {
    width: 100%;
    height: clamp(320px, 42vw, 540px);
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Offset gold rule framing the image, editorial-brochure style */
.feature-row__media::after {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

.feature-row--reverse .feature-row__media::after {
    inset: 14px 14px -14px -14px;
}

.feature-row__title {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--fs-h3);
}

.spec-list {
    list-style: none;
    margin-top: var(--space-md);
}

.spec-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.9rem;
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
    color: var(--ink);
}

.spec-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* --- Mosaic gallery --- */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: var(--space-md);
}

.mosaic__item {
    overflow: hidden;
    border-radius: var(--radius);
}

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease);
}

.mosaic__item:hover img {
    transform: scale(1.05);
}

.mosaic__item--wide {
    grid-column: span 2;
}

.mosaic__item--tall {
    grid-row: span 2;
}

/* --- Offer: gold-bordered invitation on teal --- */
.offer {
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(233, 199, 102, 0.12), transparent 62%),
        var(--teal);
}

.invitation {
    max-width: 46rem;
    margin-inline: auto;
    background-color: var(--paper);
    color: var(--ink);
    text-align: center;
    padding: clamp(2rem, 1rem + 4vw, 3.75rem);
    border: 1px solid var(--gold);
    outline: 1px solid var(--gold);
    outline-offset: 6px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.invitation__eyebrow {
    justify-content: center;
    margin-bottom: var(--space-md);
}

.invitation__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-h3);
    line-height: 1.12;
    color: var(--teal);
}

.invitation__title span {
    color: var(--gold);
    font-style: italic;
}

.invitation__list {
    list-style: none;
    margin: var(--space-lg) auto 0;
    max-width: 34rem;
    text-align: left;
}

.invitation__list li {
    position: relative;
    padding: 0.85rem 0 0.85rem 2.2rem;
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
}

.invitation__list li:last-child {
    border-bottom: 1px solid var(--line);
}

.invitation__list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--gold);
    font-weight: 700;
}

.invitation__deadline {
    margin-top: var(--space-lg);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--teal);
}

.invitation__note {
    margin-top: var(--space-sm);
    font-size: 0.72rem;
    color: var(--ink-faint);
    line-height: 1.6;
}

.invitation__footnotes {
    max-width: 34rem;
    margin: var(--space-md) auto 0;
    text-align: left;
    font-size: 0.68rem;
    color: var(--ink-faint);
    line-height: 1.7;
}

.invitation__footnotes strong {
    color: var(--gold-dark);
    font-weight: 700;
}

/* --- About --- */
.about {
    text-align: center;
}

.about .display {
    margin-block: var(--space-md);
}

.about__prose {
    max-width: 44rem;
    margin-inline: auto;
    color: var(--ink-soft);
}

.about__rule {
    width: 3rem;
    height: 2px;
    background: var(--gold);
    margin: var(--space-lg) auto 0;
}

/* --- Sister-agency cross-sell --- */
.crosssell {
    background-color: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.crosssell__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg) var(--space-xl);
    flex-wrap: wrap;
}

.crosssell__text {
    max-width: 42rem;
}

.crosssell__eyebrow {
    margin-bottom: var(--space-sm);
}

.crosssell__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-h3);
    line-height: 1.12;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.crosssell__title em {
    font-style: italic;
    color: var(--gold);
}

.crosssell__sub {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}

.crosssell__action {
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .crosssell__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Enquire --- */
.enquire {
    background-color: var(--paper-2);
}

.enquire__head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto var(--space-xl);
}

.enquire__head .display {
    margin-block: var(--space-md);
}

.enquire__head .eyebrow {
    justify-content: center;
}

.enquire__card {
    max-width: 40rem;
    margin-inline: auto;
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    box-shadow: var(--shadow-card);
}

.field {
    margin-bottom: var(--space-md);
}

.field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.4rem;
}

.field__input {
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--ink);
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.field__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 154, 52, 0.16);
}

.field__input::placeholder {
    color: var(--ink-faint);
}

textarea.field__input {
    resize: vertical;
    min-height: 3.4rem;
}

.field__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23134f5c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form__row {
    margin-bottom: var(--space-md);
}

.form__recaptcha-wrapper {
    display: flex;
    justify-content: flex-start;
}

.form__recaptcha-wrapper--error {
    outline: 2px solid #c0392b;
    outline-offset: 4px;
    border-radius: 4px;
}

.form__message--error {
    color: #c0392b;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.form__disclaimer {
    font-size: 0.75rem;
    color: var(--ink-faint);
    text-align: center;
    margin-top: var(--space-sm);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--teal-deep);
    color: rgba(247, 244, 238, 0.82);
    padding-block: var(--space-2xl) var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    border-bottom: 1px solid var(--line-on-dark);
    padding-bottom: var(--space-lg);
}

.footer__logo-img {
    height: 52px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer__about {
    font-size: var(--fs-sm);
    max-width: 34rem;
}

.footer__contact-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-on-dark);
    margin-bottom: var(--space-sm);
}

.footer__contact p {
    font-size: var(--fs-sm);
    margin-bottom: 0.35rem;
}

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

.footer__contact a:hover {
    text-decoration: underline;
}

.footer__legal {
    padding-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    justify-content: space-between;
}

.footer__legal p {
    font-size: 0.72rem;
    color: rgba(247, 244, 238, 0.6);
    max-width: 46rem;
}

.site-footer__bar {
    background-color: #0a2c33;
    padding-block: var(--space-md);
}

.site-footer__bar-text {
    font-size: 0.75rem;
    color: rgba(247, 244, 238, 0.6);
    text-align: center;
}

.site-footer__bar-text a {
    color: var(--gold-on-dark);
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .intro__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-row,
    .feature-row--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-row--reverse .feature-row__media {
        order: 0;
    }

    .feature-row__media::after,
    .feature-row--reverse .feature-row__media::after {
        inset: 10px -10px -10px 10px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 720px) {
    :root {
        --space-3xl: 4.5rem;
        --space-2xl: 3.25rem;
        --header-h: 80px;
    }

    /* Cap the doubled nav logo at ~2/3 on mobile so it doesn't dominate. */
    .nav__logo-img {
        height: 59px;
    }

    /* Clear the fixed logo: the hero copy is flex-end-pinned and grows up to
       the hero's top edge (= viewport top), so its top padding must exceed the
       header height, or the eyebrow tucks under the logo. */
    .hero__inner {
        padding-top: calc(var(--header-h) + var(--space-lg));
    }

    /* Darker scrim through the middle band where the title sits — the white
       display type was fighting the bright château/rooftops behind it. */
    .hero {
        background:
            linear-gradient(180deg,
                rgba(11, 42, 51, 0.58) 0%,
                rgba(11, 42, 51, 0.42) 26%,
                rgba(11, 42, 51, 0.52) 58%,
                rgba(11, 42, 51, 0.92) 100%),
            url('/img/zed-immobilier/hero-riverfront.jpg') center 42% / cover no-repeat;
    }

    /* backdrop-filter makes the header a containing block for the fixed
       .nav__menu, collapsing the open menu to a sliver — disable on mobile. */
    .site-header.is-solid {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Header is transparent over the hero at the top; give it a solid ground
       once the mobile menu opens so links never spill over the page. */
    body.nav-open .site-header {
        position: fixed;
        background-color: var(--paper);
        border-bottom-color: var(--line);
    }

    body.nav-open .nav__logo-img {
        filter: none;
    }

    body.nav-open .nav__toggle-bar {
        background-color: var(--teal);
        box-shadow: none;
    }

    .nav__toggle {
        display: flex;
        z-index: 2;
    }

    .nav__menu {
        position: fixed;
        inset: 0;
        top: var(--header-h);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-xl) 1.5rem;
        background-color: var(--paper);
        transform: translateX(100%);
        transition: transform var(--ease);
    }

    .nav__menu.is-open {
        transform: translateX(0);
    }

    .nav__link {
        color: var(--teal);
        text-shadow: none;
        font-size: 1rem;
    }

    .nav__link--cta {
        border-color: var(--gold);
        color: var(--gold);
    }

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

    .stat:nth-child(3) {
        border-left: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .mosaic__item--wide {
        grid-column: span 2;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
    }
}
