/* ═══════════════════════════════════════════
   THE WARE HOUSE — Custom Styles
   Clean minimalist · Emerald + Cream
   ═══════════════════════════════════════════ */

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

:root {
    --cream: #FDF9F3;
    --cream-dark: #FAF5EB;
    --emerald-900: #064E3B;
    --emerald-800: #065F46;
    --emerald-700: #047857;
    --ink: #1A1A1A;
    --ink-light: #4A4A4A;
    --ink-muted: #7A7A7A;
    --line: rgba(26, 26, 26, 0.1);
    --line-strong: rgba(26, 26, 26, 0.2);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-weight: 300; line-height: 1.7; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .container { padding: 0 1.25rem; } }

/* ═══════════════════ TYPOGRAPHY ═══════════════════ */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; }

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-800);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.6;
}

.section-header { margin-bottom: 4rem; }
@media (max-width: 640px) { .section-header { margin-bottom: 2.5rem; } }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease);
}

.btn-primary {
    background: var(--emerald-900);
    color: var(--cream);
}
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

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

/* ═══════════════════ NAVIGATION ═══════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 243, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 640px) { .nav-inner { padding: 0 1.25rem; } }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--ink);
}
.nav-logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-900);
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
}
.nav-logo span {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-light);
    transition: color 0.25s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-800);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    padding: 0.5rem 1.25rem !important;
    border: 1px solid var(--line-strong) !important;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    transition: all 0.3s ease !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--ink) !important; color: var(--cream) !important; border-color: var(--ink) !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin-bottom: 1.5rem; }
.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    text-decoration: none;
    color: var(--ink);
    transition: color 0.25s ease;
}
.mobile-menu a:hover { color: var(--emerald-800); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 0 0;
    overflow: hidden;
}

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

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--emerald-800);
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--ink-light);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 2.25rem;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-details {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
.detail-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.detail-value { font-size: 0.9rem; color: var(--ink); }
.detail-link {
    font-size: 0.9rem;
    color: var(--emerald-800);
    text-decoration: none;
    transition: color 0.25s ease;
}
.detail-link:hover { color: var(--emerald-700); text-decoration: underline; }

/* Hero image stack */
.hero-right { position: relative; }

.hero-image-stack {
    position: relative;
    padding-right: 3rem;
}

.hero-img {
    overflow: hidden;
    position: relative;
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-main {
    width: 100%;
    aspect-ratio: 600/780;
}

.hero-img-secondary {
    position: absolute;
    bottom: -2rem;
    left: -2.5rem;
    width: 55%;
    aspect-ratio: 400/320;
    border: 6px solid var(--cream);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-accent {
    position: absolute;
    top: -1.5rem;
    right: -0.5rem;
    width: 48px;
    height: 48px;
    color: var(--emerald-800);
    opacity: 0.5;
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-left { padding-right: 0; order: 2; }
    .hero-right { order: 1; }
    .hero-image-stack { padding-right: 0; max-width: 480px; margin: 0 auto; }
    .hero { min-height: auto; padding: 100px 0 4rem; }
}

@media (max-width: 640px) {
    .hero-headline { font-size: 2rem; }
    .hero-details { flex-direction: column; gap: 1.5rem; }
    .hero-img-secondary { display: none; }
    .hero-accent { display: none; }
}

/* ═══════════════════ ABOUT ═══════════════════ */
.about { padding: 8rem 0; }

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

.about-image { overflow: hidden; }
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 560/640;
}

.about-content { padding-left: 1rem; }
.about-body {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.about-body:last-child { margin-bottom: 2.5rem; }

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    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.75rem;
    font-weight: 400;
    color: var(--emerald-800);
    line-height: 1;
}
.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

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

/* ═══════════════════ MENU ═══════════════════ */
.menu {
    padding: 8rem 0;
    background: var(--cream-dark);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.menu-card {
    background: var(--cream);
    padding: 2.5rem;
    border: 1px solid var(--line);
    transition: all 0.4s var(--ease);
}
.menu-card:hover {
    border-color: var(--emerald-800);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.08);
}

.menu-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-800);
    margin-bottom: 1.5rem;
}

.menu-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.menu-card-desc {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
}

.menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }

.menu-item-name {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--ink);
}
.menu-item-note {
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-style: italic;
    white-space: nowrap;
}

.menu-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--ink-muted);
    font-style: italic;
}

@media (max-width: 960px) {
    .menu-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .menu { padding: 5rem 0; }
}

/* ═══════════════════ GALLERY ═══════════════════ */
.gallery { padding: 8rem 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.25rem;
}

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

.gallery-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 5 / 13; grid-row: 2; }

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item { aspect-ratio: 4/3; }
    .gallery-item:nth-child(1) { grid-column: 1 / -1; }
    .gallery-item:nth-child(2) { grid-column: 1; }
    .gallery-item:nth-child(3) { grid-column: 2; }
    .gallery-item:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) { grid-column: 1 / -1; }
}

/* ═══════════════════ VISIT ═══════════════════ */
.visit { padding: 8rem 0; background: var(--cream-dark); border-top: 1px solid var(--line); }

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

.visit-info { padding-right: 2rem; }
.visit-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.75rem; }

.visit-detail { display: flex; flex-direction: column; gap: 0.35rem; }
.visit-detail-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.visit-detail-value {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.7;
}
.visit-detail-link {
    font-size: 0.95rem;
    color: var(--emerald-800);
    text-decoration: none;
    transition: color 0.25s ease;
}
.visit-detail-link:hover { color: var(--emerald-700); text-decoration: underline; }
.hours-closed { color: var(--ink-muted); font-style: italic; }

.visit-map {
    min-height: 420px;
    border: 1px solid var(--line);
    overflow: hidden;
}
.visit-map iframe { width: 100%; height: 100%; }

@media (max-width: 960px) {
    .visit-grid { grid-template-columns: 1fr; }
    .visit-info { padding-right: 0; }
    .visit { padding: 5rem 0; }
}

/* ═══════════════════ CONTACT ═══════════════════ */
.contact { padding: 8rem 0; }

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

.contact-content { padding-top: 0.5rem; }
.contact-body {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.8;
    max-width: 420px;
}

.contact-form-wrap {
    background: var(--cream-dark);
    border: 1px solid var(--line);
    padding: 2.5rem;
}

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

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-800);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); }

.form-success {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--emerald-800);
}
.form-success svg { margin-bottom: 1rem; }
.form-success h3 {
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.9rem; color: var(--ink-muted); }

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

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.5rem; }
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
    background: var(--emerald-900);
    color: var(--cream);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(253, 249, 243, 0.15);
}

.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--cream);
    margin-bottom: 1rem;
}
.footer-logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 249, 243, 0.15);
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
}
.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
}
.footer-tagline {
    font-size: 0.85rem;
    color: rgba(253, 249, 243, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-links a {
    font-size: 0.82rem;
    color: rgba(253, 249, 243, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
    letter-spacing: 0.03em;
}
.footer-links a:hover { color: var(--cream); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-phone, .footer-email {
    font-size: 0.85rem;
    color: rgba(253, 249, 243, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-phone:hover, .footer-email:hover { color: var(--cream); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.75rem;
    color: rgba(253, 249, 243, 0.4);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ═══════════════════ UTILITIES ═══════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
    .reveal.visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
</style>
