:root {
    --espresso: #1b1b1b;
    --roast: #3e2723;
    --caramel: #c69c6d;
    --cream: #f5e9da;
    --beige: #ead7c5;
    --panel: rgba(255, 255, 255, 0.09);
    --panel-border: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 22px 60px rgba(8, 6, 5, 0.24);
    --shadow-premium: 0 34px 80px rgba(7, 4, 4, 0.34);
    --transition-smooth: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
}

body {
    background:
        radial-gradient(circle at top left, rgba(198, 156, 109, 0.08), transparent 25%),
        radial-gradient(circle at 100% 20%, rgba(234, 215, 197, 0.08), transparent 18%),
        linear-gradient(180deg, #191412 0%, #1b1b1b 30%, #140f0d 100%);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

.hero-section {
    position: relative;
    isolation: isolate;
}

.hero-parallax,
.section-parallax {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.08);
    will-change: transform;
}

.hero-parallax {
    background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1800&q=80');
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(14, 10, 8, 0.76) 0%, rgba(14, 10, 8, 0.62) 42%, rgba(14, 10, 8, 0.4) 100%),
        linear-gradient(180deg, rgba(27, 27, 27, 0.25) 0%, rgba(27, 27, 27, 0.6) 100%);
}

.about-parallax {
    background-image: linear-gradient(135deg, rgba(198, 156, 109, 0.14), rgba(234, 215, 197, 0.06));
}

.glass-panel {
    border: 1px solid var(--panel-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-premium);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.hero-copy {
    max-width: 43rem;
}

.hero-kicker {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card::before,
.primary-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.12) 50%, transparent 85%);
    transform: translateX(-110%);
    transition: transform 0.9s ease;
}

.hero-card:hover::before,
.primary-button:hover::before {
    transform: translateX(110%);
}

.hero-stats {
    align-items: stretch;
}

.stat-item {
    min-width: 9.5rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading {
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.section-lead {
    color: rgba(245, 233, 218, 0.7);
}

.primary-button,
.secondary-button {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.primary-button {
    box-shadow: 0 14px 40px rgba(198, 156, 109, 0.22);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(198, 156, 109, 0.3);
}

.secondary-button:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 156, 109, 0.55);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    color: rgba(245, 233, 218, 0.84);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    padding: 0.75rem 0;
    position: relative;
    text-transform: uppercase;
    transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--caramel);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
    color: var(--cream);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

#site-header.is-scrolled nav {
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(20, 15, 13, 0.75);
    box-shadow: var(--shadow-premium);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.hamburger-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hamburger-lines span {
    display: block;
    width: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

#mobile-menu-toggle.is-open .hamburger-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu-toggle.is-open .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle.is-open .hamburger-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.section-shell {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(234, 215, 197, 0.66);
}

.eyebrow::before {
    content: '';
    width: 3rem;
    height: 1px;
    background: rgba(198, 156, 109, 0.75);
}

.feature-box,
.menu-card,
.testimonial-shell,
.featured-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.feature-box {
    border-radius: 1.75rem;
    padding: 1.65rem;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 156, 109, 0.28);
    box-shadow: 0 28px 60px rgba(8, 6, 5, 0.22);
}

.menu-card {
    overflow: hidden;
    border-radius: 1.75rem;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.menu-card:hover {
    transform: translateY(-10px);
    border-color: rgba(198, 156, 109, 0.45);
    box-shadow: 0 34px 72px rgba(7, 5, 4, 0.3), 0 0 0 1px rgba(198, 156, 109, 0.16);
}

.menu-card-image {
    height: 16rem;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image {
    transform: scale(1.08);
}

.menu-card-body {
    padding: 1.6rem;
}

.price-tag {
    border-radius: 999px;
    background: rgba(198, 156, 109, 0.16);
    color: var(--caramel);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
}

.slider-button,
.social-link,
.back-to-top,
.lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.slider-button,
.social-link {
    width: 3rem;
    height: 3rem;
}

.slider-button:hover,
.social-link:hover,
.back-to-top:hover,
.lightbox-close:hover {
    color: var(--espresso);
    background: var(--caramel);
    border-color: var(--caramel);
    transform: translateY(-2px);
}

.featured-slider-wrap {
    overflow: hidden;
}

.featured-slider {
    display: flex;
    gap: 1.5rem;
}

.featured-card {
    min-width: calc(50% - 0.75rem);
    overflow: hidden;
    border-radius: 2rem;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 156, 109, 0.3);
    box-shadow: 0 32px 72px rgba(8, 6, 5, 0.28);
}

.featured-image {
    height: 22rem;
    width: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.04);
}

.featured-copy {
    padding: 1.9rem;
}

.featured-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(234, 215, 197, 0.62);
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 120px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(16, 10, 8, 0.45));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(198, 156, 109, 0.28);
    box-shadow: 0 24px 60px rgba(8, 6, 5, 0.24);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 3;
}

.gallery-item:nth-child(3) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 8;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 3;
}

.gallery-item:nth-child(6) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:nth-child(7) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:nth-child(8) {
    grid-column: span 4;
    grid-row: span 2;
}

.testimonial-shell {
    position: relative;
    min-height: 22rem;
    border-radius: 2rem;
    padding: 2.3rem;
}

.testimonial-card {
    position: absolute;
    inset: 2rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-quote {
    max-width: 46rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 2.7vw, 2.75rem);
    line-height: 1.28;
    letter-spacing: -0.025em;
    color: var(--cream);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.testimonial-dots {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 0.7rem;
}

.testimonial-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(245, 233, 218, 0.22);
    transition: all 0.3s ease;
}

.testimonial-dot.is-active {
    width: 2.4rem;
    background: var(--caramel);
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(234, 215, 197, 0.68);
}

.form-input {
    width: 100%;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    padding: 1rem 1.1rem;
    outline: none;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.form-input::placeholder {
    color: rgba(245, 233, 218, 0.34);
}

.form-input:focus {
    border-color: rgba(198, 156, 109, 0.65);
    box-shadow: 0 0 0 3px rgba(198, 156, 109, 0.12);
}

.form-group.has-error .form-input {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.form-error {
    min-height: 1.3rem;
    margin-top: 0.55rem;
    font-size: 0.84rem;
    color: #fca5a5;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 4rem;
    margin: 0.9rem auto 0;
    background: linear-gradient(180deg, rgba(234, 215, 197, 0.75), transparent);
    animation: floatLine 2s ease-in-out infinite;
}

.cup-steam {
    position: relative;
    display: flex;
    gap: 0.2rem;
    height: 3rem;
    align-items: flex-end;
}

.cup-steam span {
    width: 0.45rem;
    height: 1.8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245, 233, 218, 0.8), rgba(245, 233, 218, 0));
    filter: blur(1px);
    animation: steam 2.4s ease-in-out infinite;
}

.cup-steam span:nth-child(2) {
    animation-delay: 0.35s;
}

.cup-steam span:nth-child(3) {
    animation-delay: 0.7s;
}

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    z-index: 55;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(7, 4, 4, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 85vh;
    border-radius: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.1rem;
    color: white;
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: translateX(22px);
    opacity: 0;
}

.toast.toast-show {
    animation: toastIn 0.35s ease forwards;
}

.toast.toast-hide {
    animation: toastOut 0.3s ease forwards;
}

.toast-success {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.95), rgba(34, 197, 94, 0.85));
}

.toast-error {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.95), rgba(239, 68, 68, 0.86));
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-credit {
    opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes floatLine {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.35;
    }
}

@keyframes steam {
    0% {
        opacity: 0;
        transform: translateY(10px) scaleX(0.85);
    }

    35% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translateY(-18px) scaleX(1.2);
    }
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(26px);
    }
}

@media (max-width: 1023px) {
    .nav-panel {
        display: none;
        flex-direction: column;
        gap: 0.75rem;
    }

    .featured-card {
        min-width: 80%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 160px;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    #site-header nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .stat-item {
        min-width: 0;
        padding-left: 0.9rem;
    }

    .hero-section .glass-panel {
        padding: 1.25rem;
    }

    .featured-card {
        min-width: 100%;
    }

    .featured-image {
        height: 18rem;
    }

    .testimonial-shell {
        min-height: 27rem;
        padding: 1.5rem;
    }

    .testimonial-card {
        inset: 1.5rem;
    }

    .testimonial-dots {
        left: 1.5rem;
        right: auto;
        bottom: 1.5rem;
    }

    .lightbox {
        padding: 1rem;
    }
}