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

:root {
    --navy:       #0f1c3f;
    --navy-light: #1a2d56;
    --navy-dark:  #091228;
    --gold:       #C9A84C;
    --gold-light: #dfc06e;
    --gold-dark:  #a8872e;
    --cream:      #f7f3eb;
    --cream-dark: #ede6d6;
    --white:      #ffffff;
    --text-dark:  #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #8a8a8a;

    --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:  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 { display: block; max-width: 100%; height: auto; }

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

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

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.1; }

.accent-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

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

.section-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 32px;
}

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

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--white);
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 28, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: background 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.nav-logo { flex-shrink: 0; }

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.25s ease;
    position: relative;
}

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

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-light) !important; }

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

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 40, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-headline {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 28px;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 40px;
}

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

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}
.hero-actions .btn-ghost:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.hero-right { position: relative; }

.hero-image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

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

.hero-accent-line {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-left: 4px;
}

.hero-stat { flex: 1; }

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-unit { font-size: 1rem; }

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(201, 168, 76, 0.3);
    align-self: stretch;
}

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

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.story-mark .section-mark {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.story-headline {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 32px;
}

.story-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-quote {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.story-quote span {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    flex: 1;
}

.story-quote cite {
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 12px;
    display: block;
}

/* ─── Offerings ─── */
.offerings {
    padding: 120px 0;
    background: var(--white);
}

.offerings-header {
    margin-bottom: 64px;
}

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

.offering-card {
    padding: 40px 28px;
    background: var(--cream);
    border-radius: 8px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 28, 63, 0.1);
}

.offering-card:hover::before { transform: scaleX(1); }

.offering-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--navy);
    color: var(--gold);
    margin-bottom: 24px;
}

.offering-title {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.offering-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.gallery-header {
    margin-bottom: 64px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(15, 28, 63, 0.85), transparent);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }

.gallery-item--tall  { grid-column: span 5; grid-row: span 2; }
.gallery-item--wide  { grid-column: span 7; }
.gallery-item:nth-child(2),
.gallery-item:nth-child(3) { grid-column: span 6; }

/* ─── Visit ─── */
.visit {
    padding: 120px 0;
    background: var(--navy);
    color: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit .section-mark { color: var(--gold); }
.visit .section-headline { color: var(--white); }

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
}

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    flex-shrink: 0;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--white);
    transition: color 0.25s ease;
}
.visit-detail a:hover { color: var(--gold); }

.visit-map {
    border-radius: 12px;
    overflow: hidden;
}

.map-placeholder {
    background: var(--navy-light);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.map-address {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.5;
}

.map-btn { margin-top: 8px; }

/* ─── Footer ─── */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-links-title,
.footer-contact-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-contact span {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .offerings-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
        pointer-events: none;
    }

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

    .nav-toggle { display: flex; }

    .hero { padding: 100px 0 60px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right { order: -1; }

    .hero-image-frame { max-width: 400px; margin: 0 auto; }

    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-stat-divider { display: none; }

    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-quote { flex-direction: column; gap: 12px; }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--tall,
    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery-item--tall img { height: 300px; }
    .gallery-item img { height: 240px; }
    .gallery-item-overlay { display: none; }

    .visit-grid { grid-template-columns: 1fr; gap: 48px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2.4rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .container { padding: 0 16px; }
    .story, .offerings, .gallery, .visit { padding: 80px 0; }
}
