:root {
    --ct-primary: #588157;
    --ct-primary-light: #a3c59e;
    --ct-primary-tint: #eff4ee;
    --ct-bg: #fafaf8;
    --ct-surface: #ffffff;
    --ct-surface-alt: #f5f2ed;
    --ct-text: #1c1917;
    --ct-muted: #78716c;
    --ct-border: #e7e5e0;
    --ct-gold: #c9a84c;
    --ct-shadow: 0 24px 70px rgba(28, 25, 23, 0.08);
    --ct-shadow-soft: 0 12px 30px rgba(28, 25, 23, 0.05);
    --ct-radius-xl: 28px;
    --ct-radius-lg: 22px;
    --ct-radius-md: 18px;
    --ct-radius-sm: 14px;
}

.our-homes-hero,
.our-homes-difference,
.our-homes-featured,
.our-homes-process,
.our-homes-cta {
    position: relative;
    font-family: 'DM Sans', sans-serif;
}

.our-homes-section-heading {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 4rem;
}

.our-homes-section-heading--narrow {
    max-width: 820px;
}

.our-homes-section-heading__eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    color: var(--ct-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.our-homes-section-heading__title {
    margin: 0;
    color: var(--ct-text);
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.our-homes-section-heading__subtitle {
    margin: 1.1rem auto 0;
    max-width: 740px;
    color: var(--ct-muted);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.72;
    font-weight: 400;
    text-wrap: balance;
}

.our-homes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.85rem 1.6rem;
    border-radius: var(--ct-radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.our-homes-btn--primary {
    background: var(--ct-primary);
    border: 1px solid var(--ct-primary);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(88, 129, 87, 0.2);
}

.our-homes-btn--primary:hover,
.our-homes-btn--primary:focus-visible {
    background: #4e744d;
    border-color: #4e744d;
}

.our-homes-btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.84);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.our-homes-btn--light {
    background: var(--ct-surface);
    border: 1px solid var(--ct-border);
    color: var(--ct-text);
    box-shadow: var(--ct-shadow-soft);
}

.our-homes-btn--white-primary {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: var(--ct-primary);
}

/* Hero */

.our-homes-hero {
    min-height: 100svh;
    overflow: hidden;
    background: #d7d6d1;
    isolation: isolate;
}

.our-homes-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.our-homes-hero__video-shell,
.our-homes-hero__image-shell {
    position: absolute;
    inset: 0;
}

.our-homes-hero__video-shell.is-hidden {
    display: none;
}

.our-homes-hero__video,
.our-homes-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.our-homes-hero__image {
    transform: scale(1.03);
    filter: brightness(0.9) saturate(0.96) contrast(1.02);
}

.our-homes-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(34, 32, 29, 0.12) 0%, rgba(34, 32, 29, 0.24) 42%, rgba(34, 32, 29, 0.64) 100%);
}

.our-homes-hero__ambient {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    filter: blur(100px);
    opacity: 0.28;
    pointer-events: none;
}

.our-homes-hero__ambient--one {
    top: -6%;
    right: -8%;
    width: 240px;
    height: 240px;
    background: rgba(163, 197, 158, 0.18);
}

.our-homes-hero__ambient--two {
    left: -8%;
    bottom: 12%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.1);
}

.our-homes-hero__container {
    position: relative;
    z-index: 3;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: 84px;
    padding-bottom: 30px;
}

.our-homes-hero__content {
    width: 100%;
    display: grid;
    gap: 20px;
}

.our-homes-hero__panel {
    width: 100%;
    max-width: 760px;
    padding: 1.3rem;
    border-radius: var(--ct-radius-xl);
    background: linear-gradient(180deg, rgba(250, 250, 248, 0.15) 0%, rgba(250, 250, 248, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.our-homes-hero__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.our-homes-hero__eyebrow,
.our-homes-hero__eyebrow-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
}

.our-homes-hero__eyebrow {
    background: rgba(250, 250, 248, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.our-homes-hero__eyebrow-badge {
    background: rgba(88, 129, 87, 0.22);
    border: 1px solid rgba(163, 197, 158, 0.24);
    color: #f8fff6;
}

.our-homes-hero__title {
    margin: 0;
    max-width: 12ch;
    color: #ffffff;
    font-size: clamp(2.7rem, 8vw, 5.8rem);
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.our-homes-hero__title-accent {
    display: block;
    color: #f1f3eb;
}

.our-homes-hero__subtitle {
    margin: 16px 0 0;
    max-width: 30ch;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.02rem, 3.8vw, 1.42rem);
    line-height: 1.32;
    font-weight: 600;
    text-wrap: balance;
}

.our-homes-hero__description {
    margin: 14px 0 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.96rem, 2.8vw, 1.08rem);
    line-height: 1.65;
    font-weight: 400;
}

.our-homes-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
    width: 100%;
    max-width: 430px;
}

/* Difference */

.our-homes-difference {
    background: var(--ct-bg);
    padding: 7rem 0 7.5rem;
}

.our-homes-difference__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.our-homes-difference-card {
    background: var(--ct-surface);
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius-lg);
    padding: 2rem 1.8rem;
    box-shadow: var(--ct-shadow-soft);
    transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.our-homes-difference-card:hover,
.our-homes-difference-card:focus-within {
    box-shadow: var(--ct-shadow);
    border-color: #d9ded5;
}

.our-homes-difference-card__icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 0 1.25rem;
    border-radius: 999px;
    background: var(--ct-primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-primary);
}

.our-homes-difference-card__icon {
    width: 30px;
    height: 30px;
    display: block;
}

.our-homes-difference-card__title {
    margin: 0 0 0.72rem;
    color: var(--ct-text);
    font-size: clamp(1.15rem, 1.5vw, 1.38rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.our-homes-difference-card__description {
    margin: 0;
    color: var(--ct-muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

/* Featured */

.our-homes-featured {
    background: var(--ct-surface-alt);
    padding: 7rem 0 7.5rem;
}

.our-homes-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
}

.our-homes-model-card {
    background: var(--ct-surface);
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius-lg);
    overflow: hidden;
    box-shadow: var(--ct-shadow-soft);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.our-homes-model-card:hover,
.our-homes-model-card:focus-within {
    box-shadow: var(--ct-shadow);
    border-color: #d8ddd3;
}

.our-homes-model-card__media {
    position: relative;
    aspect-ratio: 1.18 / 1;
    background: #e8e6e0;
    overflow: hidden;
}

.our-homes-model-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.our-homes-model-card__media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e6e0 0%, #d4d0c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-homes-model-card__body {
    padding: 1.5rem 1.3rem 1.35rem;
    text-align: left;
}

.our-homes-model-card__meta {
    margin: 0 0 0.75rem;
    color: var(--ct-primary);
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.our-homes-model-card__title {
    margin: 0 0 0.7rem;
    color: var(--ct-text);
    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.our-homes-model-card__description {
    margin: 0 0 1.1rem;
    color: var(--ct-muted);
    font-size: 0.96rem;
    line-height: 1.68;
}

.our-homes-model-card__button {
    width: auto;
    min-width: 148px;
    min-height: 48px;
    padding: 0.72rem 1.12rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ct-text);
    border: 1px solid var(--ct-text);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1;
}

.our-homes-featured__cta {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
}

/* Process */

.our-homes-process {
    background: var(--ct-bg);
    padding: 7rem 0 7.4rem;
}

.our-homes-process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.our-homes-process__grid::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: linear-gradient(90deg, rgba(88, 129, 87, 0.08) 0%, rgba(88, 129, 87, 0.3) 50%, rgba(88, 129, 87, 0.08) 100%);
    z-index: 0;
}

.our-homes-process-step {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0 0.5rem;
}

.our-homes-process-step__number {
    width: 64px;
    height: 64px;
    margin: 0 0 1.1rem;
    border-radius: 999px;
    background: var(--ct-surface);
    border: 1px solid #d9ded5;
    color: var(--ct-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: var(--ct-shadow-soft);
}

.our-homes-process-step__title {
    margin: 0 0 0.7rem;
    color: var(--ct-text);
    font-size: clamp(1.1rem, 1.4vw, 1.32rem);
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.our-homes-process-step__description {
    margin: 0;
    color: var(--ct-muted);
    font-size: 0.96rem;
    line-height: 1.72;
}

/* CTA */

.our-homes-cta {
    background: linear-gradient(180deg, #6f8e6a 0%, #5d8159 100%);
    padding: 6rem 0 6.4rem;
}

.our-homes-cta__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.our-homes-cta__eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.our-homes-cta__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.our-homes-cta__description {
    max-width: 760px;
    margin: 1.1rem auto 1.8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.72;
    text-wrap: balance;
}

/* Responsive */

@media (min-width: 768px) {
    .our-homes-hero__container {
        align-items: center;
        padding-bottom: 48px;
    }

    .our-homes-hero__panel {
        padding: 1.65rem;
    }

    .our-homes-hero__actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        max-width: 520px;
    }
}

@media (max-width: 1100px) {
    .our-homes-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .our-homes-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.8rem;
    }

    .our-homes-process__grid::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .our-homes-hero__container {
        padding-top: 72px;
        padding-bottom: 20px;
    }

    .our-homes-hero__panel {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .our-homes-hero__title {
        max-width: 11ch;
    }

    .our-homes-difference,
    .our-homes-featured,
    .our-homes-process,
    .our-homes-cta {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .our-homes-section-heading {
        margin-bottom: 2.4rem;
    }

    .our-homes-difference__grid,
    .our-homes-featured__grid,
    .our-homes-process__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .our-homes-difference-card,
    .our-homes-model-card {
        border-radius: 18px;
    }

    .our-homes-process-step {
        padding: 0;
    }

    .our-homes-cta__inner .our-homes-btn {
        display: block;
        width: 100%;
        max-width: 420px;
        margin: 0.6rem auto 0;
    }
}