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

:root {
    --terra:       #B85C38;
    --terra-dark:  #9A4B2C;
    --terra-light: #D4845E;
    --sand:        #F5F0E8;
    --sand-dark:   #E8DFD0;
    --sand-light:  #FAF7F2;
    --cream:       #FDFCFA;
    --ink:         #2A1F1A;
    --ink-light:   #5C4A3E;
    --ink-muted:   #8A7568;
    --white:       #FFFFFF;
    --line:        #E8DFD0;
    --line-strong: #D4C8B8;

    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:  cubic-bezier(0.65, 0, 0.35, 0);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--ink);
    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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--ink-light);
    max-width: 520px;
    line-height: 1.75;
}

/* ─── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terra);
    color: var(--white);
    border: 1.5px solid var(--terra);
}
.btn-primary:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ─── Header ───────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--terra);
    border: 1.5px solid var(--terra);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-light);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terra);
    transition: width 0.3s var(--ease-out);
}
.nav a:hover { color: var(--terra); }
.nav a:hover::after { width: 100%; }

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--terra) !important;
    border: 1.5px solid var(--terra);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--terra) !important;
    color: var(--white) !important;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 110;
}
.nav-toggle-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    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;
    transform: scaleX(0);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 31, 26, 0.55) 0%,
        rgba(42, 31, 26, 0.65) 50%,
        rgba(42, 31, 26, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 6rem 1.5rem 4rem;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.75rem, 7vw, 5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-headline em {
    font-style: italic;
    color: var(--terra-light);
}
.hero-headline &nbsp; {
    /* keeps the &nbsp; entities visible in layout */
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    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.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), 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); }
}

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

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

.about-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--ink-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-divider {
    width: 48px;
    height: 1.5px;
    background: var(--terra);
    margin: 2rem 0;
    border-radius: 2px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--ink-light);
}

.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terra);
    flex-shrink: 0;
}

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

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

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

.menu-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.menu-card:hover {
    box-shadow: 0 8px 32px rgba(42, 31, 26, 0.08);
    transform: translateY(-2px);
}

.menu-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.menu-card:hover .menu-card-image img {
    transform: scale(1.03);
}

.menu-card-body {
    padding: 1.75rem;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--ink-muted);
    font-style: italic;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}

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

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

.visit-address {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1.0625rem;
    color: var(--ink);
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.visit-address strong {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.visit-address span {
    color: var(--ink-light);
}

.visit-hours-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1rem;
}

.visit-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.visit-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.9375rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--sand-dark);
}
.hours-day { color: var(--ink); font-weight: 400; }
.hours-time { color: var(--ink-light); }

.hours-note {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    font-style: italic;
}

.visit-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.visit-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--ink-light);
    transition: color 0.2s ease;
}
.visit-contact-link:hover { color: var(--terra); }
.visit-contact-icon {
    color: var(--terra);
    flex-shrink: 0;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--line);
}
.visit-map iframe {
    width: 100%;
    height: 100%;
}

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

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

.contact-content .section-desc {
    margin-bottom: 0;
}

.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.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.form-optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.75rem;
    color: var(--ink-muted);
    opacity: 0.7;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--line-strong);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-muted);
    opacity: 0.6;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terra);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

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

.form-success {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--terra-dark);
    padding: 1rem;
    background: rgba(184, 92, 56, 0.06);
    border-radius: 6px;
    border: 1px solid rgba(184, 92, 56, 0.15);
}

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

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer .logo-mark {
    color: var(--terra-light);
    border-color: var(--terra-light);
}

.footer .logo-text {
    color: var(--white);
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── 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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        aspect-ratio: 16/9;
        max-height: 400px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
        z-index: 100;
    }
    .nav.open { transform: translateX(0); }
    .nav a { font-size: 1.125rem; }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(42, 31, 26, 0.4);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }

    .hero-content { padding: 5rem 1.5rem 3rem; }
    .hero-headline { font-size: clamp(2.25rem, 10vw, 3.5rem); }

    .form-row { grid-template-columns: 1fr; }

    .about, .menu, .visit, .contact { padding: 5rem 0; }

    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn { width: 100%; }
}
