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

:root {
    --midnight: #0a1628;
    --midnight-light: #132240;
    --midnight-mid: #1a2d4a;
    --mint: #a8d5c8;
    --mint-light: #c5e6dc;
    --mint-pale: #e8f4ef;
    --cream: #f8f7f4;
    --white: #ffffff;
    --text-dark: #0a1628;
    --text-mid: #3a4f6a;
    --text-light: #6b7f96;
    --text-on-dark: #e8edf4;
    --text-on-dark-muted: #8fa3b8;
    --line: rgba(10, 22, 40, 0.1);
    --line-dark: rgba(168, 213, 200, 0.2);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
}

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

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

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

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

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

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 247, 244, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--midnight);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--midnight);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    padding-top: 64px;
}

.hero-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
}

.hero-left {
    padding-right: 2rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--midnight);
    margin-bottom: 1.75rem;
}

.hero-accent {
    font-style: italic;
    color: var(--midnight-light);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--midnight);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--midnight);
    transition: background 0.3s ease, color 0.3s ease;
}

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

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-mid);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.btn-text:hover {
    color: var(--midnight);
    border-color: var(--mint);
}

.hero-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-image-frame {
    overflow: hidden;
    width: 85%;
    max-width: 500px;
}

.hero-image-frame img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.hero-accent-line {
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 80px;
    height: 1px;
    background: var(--mint);
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    width: 100%;
}

.hero-divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.hero-divider-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}

/* ── SECTION LABELS & TITLES ── */
.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--midnight);
    margin-bottom: 2rem;
}

.section-title--center {
    text-align: center;
}

/* ── ABOUT ── */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-col img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.about-text-col {
    padding-left: 1rem;
}

.about-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--midnight);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line);
}

/* ── SERVICES ── */
.services {
    padding: 8rem 0;
    background: var(--cream);
}

.services .container {
    max-width: 1200px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 2.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    border-color: var(--mint);
    box-shadow: 0 8px 40px rgba(10, 22, 40, 0.06);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--mint);
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--midnight);
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 1.75rem;
}

.service-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* ── GALLERY ── */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item--tall {
    grid-column: span 5;
}

.gallery-item:not(.gallery-item--tall) {
    grid-column: span 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ── VISIT ── */
.visit {
    padding: 8rem 0;
    background: var(--midnight);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit .section-label {
    color: var(--mint);
}

.visit .section-title {
    color: var(--white);
}

.visit-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

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

.visit-detail-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.visit-detail-value {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-on-dark);
}

.visit-detail-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--mint-light);
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.visit-detail-link:hover {
    color: var(--mint);
    border-color: var(--mint);
}

.visit-map a {
    display: block;
    position: relative;
    overflow: hidden;
}

.visit-map-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: saturate(0.6) brightness(0.85);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visit-map a:hover .visit-map-img {
    filter: saturate(0.8) brightness(0.9);
    transform: scale(1.02);
}

.visit-map-overlay {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    color: var(--midnight);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s ease;
}

.visit-map-overlay:hover {
    background: var(--mint-light);
}

/* ── FOOTER ── */
.footer {
    background: var(--midnight);
    border-top: 1px solid var(--line-dark);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-on-dark-muted);
}

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

.footer-link {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--mint-light);
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 2px;
    display: inline-block;
    width: fit-content;
    margin-left: auto;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-link:hover {
    color: var(--mint);
    border-color: var(--mint);
}

.footer-address {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-on-dark-muted);
    margin-left: auto;
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.05em;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── MOBILE ── */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(248, 247, 244, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        max-height: 300px;
        padding: 1.5rem 0;
    }

    .nav-links li {
        padding: 0.75rem 2rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 3rem;
    }

    .hero-left {
        padding-right: 0;
        order: 2;
    }

    .hero-right {
        order: 1;
        justify-content: center;
    }

    .hero-image-frame {
        width: 100%;
        max-width: none;
    }

    .hero-image-frame img {
        height: 500px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-col img {
        height: 400px;
    }

    .about-text-col {
        padding-left: 0;
    }

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

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

    .gallery-item--tall {
        grid-column: span 2;
    }

    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
    }

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .footer-link,
    .footer-address {
        margin-left: 0;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 0 1.25rem;
    }

    .hero-layout {
        padding: 2rem 1.25rem 0;
    }

    .hero-divider {
        padding: 0 1.25rem 3rem;
    }

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

    .gallery-item--tall {
        grid-column: span 1;
    }

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

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
