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

:root {
    --midnight: #0a1628;
    --midnight-light: #1a2d45;
    --mint: #5eead4;
    --mint-dark: #2dd4bf;
    --mint-pale: #f0fdf9;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-serif: 'Cormorant Garamond', 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);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--midnight);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 200;
    font-size: 0.875rem;
    border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

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

/* ── Typography ───────────────────────────────────────── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 1rem;
}

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

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--midnight);
    color: var(--white);
    border: 1px solid var(--midnight);
}
.btn-primary:hover {
    background: var(--midnight-light);
    border-color: var(--midnight-light);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--midnight);
    border: 1px solid var(--gray-300);
}
.btn-ghost:hover {
    border-color: var(--midnight);
    color: var(--midnight);
}

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

/* ── Navigation ───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s var(--ease-out);
}
.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 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--midnight);
    letter-spacing: 0.02em;
}
.nav-logo-icon { color: var(--midnight); }

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    position: relative;
    transition: color 0.25s var(--ease-out);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-dark);
    transition: width 0.3s var(--ease-out);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--midnight); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--midnight);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.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: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.3s;
    }
    .nav-menu.open {
        max-height: 320px;
        padding: 2rem 0;
        border-bottom-color: var(--gray-200);
    }
    .nav-menu a {
        padding: 0.75rem 2rem;
        font-size: 0.9375rem;
    }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--white);
    overflow: hidden;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--midnight);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}
.hero-headline em {
    font-style: italic;
    color: var(--mint-dark);
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 400px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { position: relative; }
.hero-img-wrap {
    position: relative;
    overflow: hidden;
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-accent-line {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--mint), transparent);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
    .hero-img-wrap { aspect-ratio: 4/3; }
    .hero-headline { font-size: clamp(2.25rem, 8vw, 3.5rem); }
}

@media (max-width: 480px) {
    .hero { padding: 5rem 0 3rem; }
    .hero-img-wrap { aspect-ratio: 3/2; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

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

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

.about-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

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

.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--midnight);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/6.2;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { max-width: 480px; }
    .about { padding: 5rem 0; }
}

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

.menu .section-eyebrow { color: var(--mint); }
.menu .section-title { color: var(--white); }

.menu-header { text-align: center; margin-bottom: 3rem; }

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-tab {
    padding: 1rem 2.5rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s var(--ease-out);
}
.menu-tab:hover { color: var(--gray-200); }
.menu-tab.active {
    color: var(--mint);
    border-bottom-color: var(--mint);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.menu-column-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.menu-item {
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.375rem;
}
.menu-item-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .menu-grid { grid-template-columns: 1fr; gap: 0; }
    .menu { padding: 5rem 0; }
}

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

.gallery .section-eyebrow,
.gallery .section-title { text-align: center; }
.gallery .section-title { margin-bottom: 3rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item { overflow: hidden; position: relative; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }

.gallery-item--tall { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) { grid-column: span 4; }
.gallery-item--wide { grid-column: 7 / 13; }

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--tall { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4/3; }
    .gallery-item--wide { grid-column: 1 / -1; }
    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) { grid-column: span 1; }
    .gallery-item { aspect-ratio: 4/3; }
    .gallery { padding: 5rem 0 4rem; }
}

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

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

.visit-detail {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.visit-detail:first-child { padding-top: 0; }
.visit-detail:last-child { border-bottom: none; }

.visit-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--mint-dark);
}

.visit-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.375rem;
}

.visit-detail-value {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--midnight);
    line-height: 1.6;
}

.visit-link { transition: color 0.2s; }
.visit-link:hover { color: var(--mint-dark); }

.visit-map { position: relative; }
.visit-map-link { position: relative; display: block; overflow: hidden; }
.visit-map-link img {
    width: 100%;
    aspect-ratio: 6/4.2;
    object-fit: cover;
}
.visit-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}
.visit-map-link:hover .visit-map-overlay { opacity: 1; }

@media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; gap: 3rem; }
    .visit { padding: 5rem 0; }
}

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

.contact .section-eyebrow { color: var(--mint); }
.contact .section-title { color: var(--white); max-width: 520px; }
.contact-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-400);
    font-weight: 300;
    max-width: 440px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

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

.form-group label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s var(--ease-out);
    border-radius: 0;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--mint); }

.form-group select { cursor: pointer; }
.form-group select option { background: var(--midnight); color: var(--white); }

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.25);
    color: var(--mint);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact { padding: 5rem 0; }
}

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

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 300;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 300;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--mint); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.footer-contact p {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 300;
}
.footer-phone {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 400;
    transition: color 0.2s;
}
.footer-phone:hover { color: var(--mint); }

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 300;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer { padding: 3rem 0 1.5rem; }
}

/* ── 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; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
    .gallery-item img { transition: none; }
    .gallery-item:hover img { transform: none; }
}
