@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg: #f6efe5;
    --bg-soft: #fbf6f0;
    --panel: rgba(87, 55, 41, 0.08);
    --panel-strong: rgba(55, 33, 24, 0.72);
    --surface: #fffaf4;
    --espresso: #3d261c;
    --espresso-soft: #5b3a2d;
    --roast: #201613;
    --cream: #f4e8d7;
    --beige: #dcc4a7;
    --gold: #b98552;
    --accent: #c96f4a;
    --text: #2f241f;
    --muted: #6f5b4f;
    --white: #ffffff;
    --border: rgba(61, 38, 28, 0.12);
    --shadow: 0 20px 45px rgba(37, 24, 18, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: min(1120px, calc(100% - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 111, 74, 0.15), transparent 32%),
        linear-gradient(180deg, rgba(246, 239, 229, 0.94), rgba(246, 239, 229, 0.98)),
        url("images/background.jpg") center/cover fixed no-repeat;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

main {
    display: block;
}

.site-shell {
    position: relative;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.section-intro {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3.6rem, 7vw, 6.25rem);
    line-height: 0.95;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    line-height: 1;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.lead {
    font-size: 1.08rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 1rem 0;
    background: rgba(246, 239, 229, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(61, 38, 28, 0.08);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.mug-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--espresso), var(--espresso-soft));
    color: var(--cream);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.logo {
    font-size: 1.9rem;
    color: var(--espresso);
}

.logo-tag {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--espresso);
    border-radius: 999px;
    padding: 0.7rem 0.9rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-current {
    color: var(--espresso);
    background: rgba(61, 38, 28, 0.08);
    transform: translateY(-1px);
}

.hero {
    padding: 3.5rem 0 4rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 2rem;
}

.hero-copy {
    padding: 2rem 0;
}

.hero-copy p {
    max-width: 36rem;
    margin-top: 1.3rem;
}

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

.btn,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn {
    background: linear-gradient(135deg, var(--espresso), var(--espresso-soft));
    color: var(--white);
    box-shadow: 0 16px 30px rgba(61, 38, 28, 0.22);
}

.btn-secondary {
    background: rgba(61, 38, 28, 0.06);
    color: var(--espresso);
    border: 1px solid rgba(61, 38, 28, 0.12);
}

.btn:hover,
.btn-secondary:hover,
.btn:focus-visible,
.btn-secondary:focus-visible {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.stat-card {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(61, 38, 28, 0.08);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 1.4rem;
    color: var(--espresso);
}

.stat-card span {
    font-size: 0.92rem;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-image-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 28px 60px rgba(32, 22, 19, 0.22);
}

.hero-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 22, 19, 0.12), rgba(32, 22, 19, 0.36));
}

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

.floating-note {
    position: absolute;
    right: -1.2rem;
    bottom: 2rem;
    max-width: 260px;
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(61, 38, 28, 0.08);
    box-shadow: var(--shadow);
}

.floating-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--espresso);
}

.feature-grid,
.story-grid,
.contact-grid,
.order-grid,
.menu-grid,
.highlights-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlights-grid,
.contact-grid,
.story-grid,
.order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.story-card,
.contact-card,
.order-card,
.highlight-card {
    background: rgba(255, 250, 244, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 1.75rem;
}

.feature-card i,
.order-card i,
.contact-card i {
    color: var(--accent);
    font-size: 1.1rem;
}

.feature-card h3,
.story-card h3,
.order-card h3,
.contact-card h3,
.menu-card h3 {
    margin-top: 1rem;
    color: var(--espresso);
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-visual,
.contact-visual {
    overflow: hidden;
    border-radius: 34px;
    min-height: 440px;
    box-shadow: 0 24px 60px rgba(37, 24, 18, 0.18);
}

.about-visual img,
.contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-grid {
    margin-top: 2rem;
}

.story-card {
    padding: 1.75rem;
}

.story-card p + p {
    margin-top: 1rem;
}

.menu-page .section-intro,
.contact-page .section-intro,
.about-page .section-intro,
.order-page .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.menu-card {
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover,
.menu-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(37, 24, 18, 0.18);
}

.menu-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.menu-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 22, 19, 0.04), rgba(32, 22, 19, 0.34));
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.06);
}

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

.menu-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.menu-price {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--accent);
}

.menu-note {
    margin-top: 0.95rem;
    font-size: 0.92rem;
    color: var(--espresso-soft);
}

.highlight-card,
.order-card,
.contact-card {
    padding: 1.75rem;
}

.order-card p,
.contact-card p,
.highlight-card p {
    margin-top: 0.8rem;
}

.order-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: var(--espresso);
    font-weight: 700;
}

.step-pill {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--gold));
    font-size: 0.88rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

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

.contact-list-item strong {
    display: block;
    color: var(--espresso);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--espresso);
    background: rgba(61, 38, 28, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.socials a:hover,
.socials a:focus-visible {
    transform: translateY(-2px);
    color: var(--white);
    background: linear-gradient(135deg, var(--espresso), var(--accent));
}

.cta-strip {
    margin-top: 2rem;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(61, 38, 28, 0.96), rgba(91, 58, 45, 0.94));
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 55px rgba(37, 24, 18, 0.18);
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.78);
}

.cta-strip .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-footer {
    padding: 1.4rem 0 2.6rem;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .hero-layout,
    .split-panel,
    .feature-grid,
    .highlights-grid,
    .contact-grid,
    .story-grid,
    .order-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 460px;
        order: -1;
    }

    .floating-note {
        right: 1rem;
    }

    .cta-strip,
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 4.2rem 0;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4.2rem);
    }

    h2 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .site-header {
        padding: 0.85rem 0;
    }

    .site-nav {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.85rem);
        right: 0;
        width: min(320px, 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 250, 244, 0.98);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 380px;
    }

    .floating-note {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .about-visual,
    .contact-visual {
        min-height: 320px;
    }
}
