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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #c8a45e;
    --gold-light: #d4b76a;
    --gold-pale: #f5e6c4;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #f5f5f3;
    --gray-100: #ececea;
    --gray-200: #d4d4d0;
    --gray-400: #999994;
    --gray-600: #6b6b66;
    --gray-800: #2a2a26;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -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 2rem;
}

/* ── Typography ── */
.heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.01em;
}

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

.label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.label--light {
    color: var(--gold-light);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 520px;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 500;
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn--light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--off-white);
}

.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.08);
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

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

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 0.6rem 1.25rem;
    transition: all var(--transition);
}

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

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

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

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

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

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.72) 50%,
        rgba(10, 22, 40, 0.60) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 0 2rem;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero__sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Sections ── */
.section {
    padding: 7rem 0;
}

.section--light {
    background: var(--gray-50);
}

.section--dark {
    background: var(--navy);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ── About ── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text .heading {
    margin-bottom: 1.5rem;
}

.about__text p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about__image::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 60%;
    height: 60%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
}

.service-card {
    background: var(--navy);
    padding: 2.75rem 2rem;
    transition: background var(--transition);
}

.service-card:hover {
    background: var(--navy-light);
}

.service-card__icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
}

/* ── Community ── */
.community {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community__content .heading {
    margin-bottom: 1.25rem;
}

.community__lead {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 2rem;
}

.community__list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.community__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-800);
    padding: 0.6rem 0;
}

.community__list li svg {
    color: var(--gold);
    flex-shrink: 0;
}

.community__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/5;
}

/* ── CTA Band ── */
.cta-band {
    background: var(--gold);
    padding: 3rem 0;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
}

/* ── Contact ── */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__info .heading {
    margin-bottom: 1.25rem;
}

.contact__lead {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.contact-detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--navy);
    border-bottom: 1px solid var(--gray-200);
    transition: border-color var(--transition);
}

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

/* Form */
.contact-form {
    background: var(--gray-50);
    padding: 2.5rem;
}

.contact-form__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--gold);
}

.form-input::placeholder {
    color: var(--gray-400);
}

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

.form-success {
    display: none;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    font-size: 0.88rem;
    line-height: 1.6;
}

.form-success.visible {
    display: block;
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    padding: 4rem 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer__logo svg {
    color: var(--gold);
}

.footer__tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

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

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer__contact a {
    color: var(--gold);
    transition: color var(--transition);
}

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

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.06em;
}

/* ── Mobile Menu ── */
@media (max-width: 900px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right var(--transition);
        box-shadow: -8px 0 30px rgba(0,0,0,0.3);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav__menu li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }

    .nav__link {
        padding: 1rem 0;
        font-size: 0.85rem;
        display: block;
    }

    .nav__link::after {
        display: none;
    }

    .nav__cta {
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
        width: 100%;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }

    .about,
    .community,
    .contact {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image {
        order: -1;
    }

    .about__image::after {
        display: none;
    }

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

    .about__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-band__inner {
        flex-direction: column;
        text-align: center;
    }

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

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .nav__inner {
        padding: 1rem 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2.1rem;
    }

    .heading {
        font-size: 1.85rem;
    }
}

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

    .hero__scroll-line {
        animation: none;
        opacity: 0.6;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
