/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #132038;
    --navy-mid: #1A2D4A;
    --gold: #C8960C;
    --gold-light: #D4A832;
    --gold-pale: #F5E6B8;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #6B6B6B;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-eyebrow--light {
    color: var(--gold-pale);
}

.section-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--navy);
    margin-bottom: 24px;
}

.section-headline--light {
    color: var(--white);
}

.section-subheadline {
    font-size: 1.125rem;
    color: var(--text-mid);
    max-width: 520px;
    line-height: 1.7;
}

.section-subheadline--light {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 150, 12, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--gold) !important;
    border: 1px solid rgba(200, 150, 12, 0.4);
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy) !important;
    border-color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.72) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 24px;
    padding-top: 72px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.75rem, 7vw, 5rem);
    color: var(--white);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Quick Facts ── */
.quick-facts {
    background: var(--navy);
    padding: 0;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-fact {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s ease;
}

.quick-fact:last-child {
    border-right: none;
}

.quick-fact:hover {
    background: rgba(255, 255, 255, 0.03);
}

.quick-fact-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.quick-fact-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ── Residences ── */
.residences {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.residences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.residence-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out);
}

.residence-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.12);
}

.residence-card-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.residence-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.residence-card:hover .residence-card-image img {
    transform: scale(1.04);
}

.residence-card-content {
    padding: 28px;
}

.residence-card-content h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.residence-detail {
    font-size: 0.8125rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.residence-desc {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.residences-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    padding: 48px 0;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 400;
}

.feature-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.residences-cta {
    text-align: center;
}

.residences-cta p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* ── Amenities ── */
.amenities {
    padding: 120px 0;
    background: var(--navy);
}

.amenities .section-header {
    margin-bottom: 56px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.amenity-card {
    padding: 36px;
    background: var(--navy-light);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s var(--ease-out);
}

.amenity-card:hover {
    background: var(--navy-mid);
    border-color: rgba(200, 150, 12, 0.2);
    transform: translateY(-2px);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(200, 150, 12, 0.1);
    color: var(--gold);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 500;
}

.amenity-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ── Neighborhood ── */
.neighborhood {
    padding: 120px 0;
    background: var(--cream);
}

.neighborhood-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.neighborhood-content .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.neighborhood-desc {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 32px;
}

.neighborhood-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.neighborhood-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.neighborhood-highlight svg {
    color: var(--gold);
    flex-shrink: 0;
}

.neighborhood-image {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.neighborhood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Community ── */
.community {
    padding: 120px 0;
    background: var(--cream-dark);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community-image {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-content .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.community-desc {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 40px;
}

.community-values {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.community-value {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
    padding-top: 2px;
}

.community-value h4 {
    font-size: 1.0625rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 500;
}

.community-value p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── Testimonial ── */
.testimonial {
    padding: 100px 0;
    background: var(--navy);
    text-align: center;
}

.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-quote {
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--white);
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--navy);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.contact-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.contact-detail span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-detail-link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: var(--gold);
}

/* ── Form ── */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid rgba(10, 22, 40, 0.12);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--gold);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-mid);
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 56px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 240px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-contact a {
    font-size: 0.9375rem;
    color: var(--gold);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-contact span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .residences-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .quick-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-fact:nth-child(2) {
        border-right: none;
    }

    .quick-fact:nth-child(1),
    .quick-fact:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .residences-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .neighborhood-layout,
    .community-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .neighborhood-image,
    .community-image {
        aspect-ratio: 16/10;
    }

    .quick-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .residences,
    .amenities,
    .neighborhood,
    .community,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .quick-fact {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .quick-fact:last-child {
        border-bottom: none;
    }

    .quick-fact:nth-child(1),
    .quick-fact:nth-child(2),
    .quick-fact:nth-child(3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .residences-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
