/* ==========================================================================
   Better Specialty Coffee — Sofia
   ========================================================================== */

:root {
    --cream:     #f5f1e6;
    --cream-2:   #e6ddc6;
    --paper:     #faf7ee;
    --ink:       #141f14;
    --ink-soft:  #28392a;
    --muted:     #5d6b55;
    --espresso:  #1f3a21;
    --coffee:    #2d4a2b;
    --crema:     #d4c8a3;
    --gold:      #b8864b;
    --olive:     #5a6a3b;
    --olive-2:   #7a8c58;
    --leaf:      #a8c47d;
    --accent:    #5a6a3b;
    --line:      rgba(20, 31, 20, 0.12);

    --shadow-sm: 0 2px 10px rgba(28, 24, 22, 0.06);
    --shadow-md: 0 10px 30px rgba(28, 24, 22, 0.10);
    --shadow-lg: 0 25px 60px rgba(28, 24, 22, 0.18);

    --radius:    14px;
    --radius-lg: 22px;

    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ink);
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0 0 .5rem; }
h3 { font-size: 1.35rem; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--coffee);
    margin-bottom: 0.75rem;
    display: inline-block;
}
.lead { font-size: 1.08rem; color: var(--muted); }

.accent { color: var(--accent); font-style: italic; }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn--primary {
    background: var(--espresso);
    color: var(--cream);
    border-color: var(--espresso);
}
.btn--primary:hover {
    background: var(--coffee);
    border-color: var(--coffee);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(90, 106, 59, 0.25);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-2px);
}
.btn--block { display: flex; justify-content: center; width: 100%; margin-top: 0.75rem; }

/* Navigation ------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(251, 248, 243, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.nav.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}
.nav__logo-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--leaf);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav__logo-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(168, 196, 125, 0.4);
}
.nav__name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}
.nav__links {
    display: flex;
    gap: 28px;
}
.nav__links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s;
    position: relative;
}
.nav__links a:hover { color: var(--coffee); }
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--coffee);
    transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__burger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.nav__burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--ink);
    transition: all 0.3s;
}

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at top left, rgba(90, 106, 59, 0.30), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(122, 140, 88, 0.25), transparent 55%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("images/latte-art.jpg"),
        url("https://images.unsplash.com/photo-1572442388796-11668a67e53d?auto=format&fit=crop&w=2400&q=90&dpr=2");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.22;
    filter: grayscale(0.35) hue-rotate(25deg) contrast(1.05);
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251,248,243,0.1) 0%, rgba(251,248,243,0.7) 100%);
}
.hero__bg::before {
    filter: grayscale(0.35) hue-rotate(25deg) contrast(1.05);
    opacity: 0.22;
}
/* Subtle grain overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.hero__content {
    text-align: center;
    max-width: 820px;
}
.hero__eyebrow  { animation: fadeUp 0.8s 0.1s ease-out both; }
.hero__title    { animation: fadeUp 0.8s 0.25s ease-out both; }
.hero__subtitle { animation: fadeUp 0.8s 0.4s ease-out both; }
.hero__cta      { animation: fadeUp 0.8s 0.55s ease-out both; }
.hero__meta     { animation: fadeUp 0.8s 0.7s ease-out both; }
.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--coffee);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin: 0 0 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}
.hero__meta {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    max-width: 560px;
    margin: 0 auto;
}
.hero__meta-item {
    text-align: center;
}
.hero__meta-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--espresso);
}
.hero__meta-item span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__skeleton {
    position: absolute;
    width: clamp(140px, 16vw, 240px);
    height: auto;
    color: var(--olive);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    animation: heroFloat 8s ease-in-out infinite;
}
.hero__skeleton--left {
    left: 3%;
    bottom: 10%;
    transform: rotate(-12deg);
}
.hero__skeleton--right {
    right: 3%;
    top: 15%;
    transform: rotate(10deg);
    animation-delay: -4s;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
.hero__skeleton--left { --rot: -12deg; }
.hero__skeleton--right { --rot: 10deg; }
.hero__content { position: relative; z-index: 1; }

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--ink-soft);
    border-radius: 14px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
}
.hero__scroll span {
    width: 3px; height: 8px;
    background: var(--ink-soft);
    border-radius: 2px;
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.2; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sections --------------------------------------------------------------- */
.section {
    padding: clamp(60px, 9vw, 120px) 0;
}
.section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(40px, 6vw, 70px);
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}
.grid-2--reverse > :first-child { order: 2; }

/* About ------------------------------------------------------------------ */
.about {
    background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.about__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}
.about__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.about__media:hover img { transform: scale(1.05); }
.about__badge {
    position: absolute;
    bottom: 20px; right: 20px;
    background: var(--espresso);
    color: var(--cream);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.about__badge span {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    opacity: 0.8;
}
.about__badge strong {
    font-family: var(--font-serif);
    font-size: 1.8rem;
}
.about__badge {
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: var(--shadow-md); }
    50% { box-shadow: var(--shadow-md), 0 0 20px rgba(168, 196, 125, 0.2); }
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 12px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
    color: var(--ink-soft);
}
.feature-list li span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--coffee);
    min-width: 28px;
    font-weight: 600;
}

/* Menu ------------------------------------------------------------------- */
.menu {
    background: var(--paper);
}
.menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.menu-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.menu-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cream-2);
}
.menu-card ul {
    list-style: none;
    padding: 0; margin: 0;
}
.menu-card li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.95rem;
}
.menu-card li:last-child { border-bottom: none; }
.menu-card li span {
    font-weight: 500;
    color: var(--ink);
}
.menu-card li em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: right;
}
.menu-card--featured {
    background: linear-gradient(160deg, var(--espresso) 0%, var(--coffee) 100%);
    color: var(--cream);
    border-color: var(--espresso);
    position: relative;
    overflow: hidden;
}
.menu-card__art {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 210px;
    height: auto;
    color: var(--leaf);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.menu-card--featured h3,
.menu-card--featured ul {
    position: relative;
    z-index: 1;
}
.menu-card--featured .menu-card__ribbon {
    z-index: 2;
}
.menu-leaf {
    position: absolute;
    width: 64px;
    height: 64px;
    color: var(--olive);
    opacity: 0.35;
    pointer-events: none;
}
.menu-leaf--tl { top: 14px; right: 14px; transform: rotate(25deg); }
.menu-card--featured h3 {
    color: var(--cream);
    border-bottom-color: rgba(245, 239, 230, 0.2);
}
.menu-card--featured li {
    border-bottom-color: rgba(245, 239, 230, 0.15);
}
.menu-card--featured li span { color: var(--cream); }
.menu-card--featured li em { color: var(--crema); }
.menu-card__ribbon {
    position: absolute;
    top: 20px; right: -8px;
    background: var(--gold);
    color: var(--espresso);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px 0 0 4px;
    box-shadow: var(--shadow-sm);
}
.menu__note {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.menu__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.menu__images figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    transition: transform 0.3s;
}
.menu__images figure:hover { transform: translateY(-4px); }
.menu__images img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.menu__images figcaption {
    padding: 14px 18px;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.05em;
}

/* Menu showcase (big picture + skeletons) -------------------------------- */
.menu-showcase {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(20px, 4vw, 60px);
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.menu-photo {
    margin: 0;
    background: #fff;
    padding: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(-0.8deg);
    transition: transform 0.5s ease;
    max-width: 640px;
    width: 100%;
    justify-self: center;
}
.menu-photo:hover { transform: rotate(0deg) scale(1.02); }
.menu-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.menu-photo figcaption {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 12px;
    font-style: italic;
    letter-spacing: 0.03em;
}
.menu-skeleton {
    width: clamp(120px, 14vw, 180px);
    height: auto;
    color: var(--olive);
    opacity: 0.75;
    flex-shrink: 0;
    animation: skeletonFloat 6s ease-in-out infinite;
}
.menu-skeleton--right { animation-delay: -3s; }
@keyframes skeletonFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-10px) rotate(-2deg); }
}
.menu-skeleton--right {
    animation-name: skeletonFloatR;
}
@keyframes skeletonFloatR {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Gallery ---------------------------------------------------------------- */
.gallery {
    background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28,24,22,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item.g-wide { grid-column: span 2; }
.gallery__item.g-tall { grid-row: span 2; }

/* Reviews ---------------------------------------------------------------- */
.reviews {
    background: var(--paper);
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--leaf);
}
.review-card header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--coffee);
    color: var(--cream);
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
}
.review-card header strong {
    display: block;
    font-size: 0.98rem;
}
.review-card header span {
    font-size: 0.8rem;
    color: var(--muted);
}
.stars {
    color: var(--gold);
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}
.review-card p {
    font-size: 0.97rem;
    color: var(--ink-soft);
    line-height: 1.65;
    flex: 1;
}
.review-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--coffee);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid currentColor;
    align-self: flex-start;
}

/* Events ----------------------------------------------------------------- */
.events {
    background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.events__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}
.events__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Visit ------------------------------------------------------------------ */
.visit {
    background: var(--cream);
}
.info-block {
    margin: 24px 0;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.info-block h3 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coffee);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.info-block p { margin: 0; color: var(--ink-soft); }
.info-block a { color: var(--espresso); font-weight: 500; }
.info-block a:hover { color: var(--coffee); }

.hours {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.hours th, .hours td {
    text-align: left;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-weight: 400;
    font-size: 0.95rem;
}
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td {
    color: var(--espresso);
    font-weight: 600;
    background: linear-gradient(90deg, transparent, rgba(184,134,75,0.08), transparent);
}
.status {
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.status::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px currentColor;
    opacity: 0.25;
}
.status.is-open {
    background: rgba(90,106,59,0.12);
    color: var(--olive);
}
.status.is-open::before {
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 4px currentColor; opacity: 0.25; }
    50% { box-shadow: 0 0 0 8px currentColor; opacity: 0.1; }
}
.status.is-closed {
    background: rgba(155,44,44,0.1);
    color: #8a2c2c;
}

.socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s;
}
.social:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.social--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.social--ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
}
.social--ect:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.visit__map {
    position: sticky;
    top: 100px;
    align-self: start;
}
.visit__map iframe {
    width: 100%;
    height: 480px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    filter: saturate(0.9);
}

/* Footer ----------------------------------------------------------------- */
.footer {
    background: var(--espresso);
    color: var(--cream);
    padding: 60px 0 30px;
}
.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px 60px;
    align-items: center;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer__brand .nav__logo-img {
    width: 48px; height: 48px;
    border-color: var(--crema);
}
.footer__brand p {
    margin: 2px 0 0;
    color: rgba(245, 239, 230, 0.6);
    font-size: 0.88rem;
}
.footer__links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.footer__links a {
    font-size: 0.92rem;
    color: var(--cream);
    opacity: 0.8;
    transition: opacity 0.2s;
}
.footer__links a:hover { opacity: 1; }
.footer__copy {
    grid-column: 1 / -1;
    margin: 30px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 239, 230, 0.12);
    font-size: 0.82rem;
    color: rgba(245, 239, 230, 0.5);
    text-align: center;
}

/* Lightbox --------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 15, 12, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
}
.lightbox.is-open { display: flex; animation: fadeUp 0.25s ease-out; }
.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lightbox__caption {
    color: var(--cream);
    font-size: 0.95rem;
    margin: 0;
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 28px;
    background: none;
    color: var(--cream);
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
}

/* Reveal on scroll ------------------------------------------------------- */
/* Leaf divider ----------------------------------------------------------- */
.leaf-divider {
    text-align: center;
    padding: 8px 0;
    color: var(--olive);
    opacity: 0.35;
}
.leaf-divider svg {
    width: 36px;
    height: 18px;
    display: inline-block;
}
.leaf-divider--dark {
    color: var(--crema);
    opacity: 0.25;
    background: var(--espresso);
}

/* Gallery caption overlay ------------------------------------------------- */
.gallery__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(transparent, rgba(20, 31, 20, 0.7));
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}
.gallery__item:hover .gallery__caption {
    opacity: 1;
    transform: translateY(0);
}

/* Footer skeleton -------------------------------------------------------- */
.footer {
    position: relative;
    overflow: hidden;
}
.footer__skeleton {
    position: absolute;
    right: 5%;
    bottom: 10px;
    width: 80px;
    height: auto;
    color: var(--crema);
    opacity: 0.08;
    pointer-events: none;
}

/* Scroll to top ---------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--cream);
    border: 2px solid var(--leaf);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    pointer-events: none;
}
.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover {
    box-shadow: 0 0 16px rgba(168, 196, 125, 0.35);
    transform: translateY(-2px);
}

/* Reveal on scroll ------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
    .nav__links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        background: var(--paper);
        padding: 24px;
        gap: 18px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav__links.is-open { transform: translateY(0); }
    .nav__burger { display: flex; }
    .nav__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__burger.is-active span:nth-child(2) { opacity: 0; }
    .nav__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .grid-2 { grid-template-columns: 1fr; }
    .grid-2--reverse > :first-child { order: 0; }

    .menu__grid { grid-template-columns: 1fr; }
    .menu__images { grid-template-columns: 1fr 1fr; }
    .reviews__grid { grid-template-columns: 1fr; }

    .menu-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "photo photo" "left right";
    }
    .menu-photo { grid-area: photo; }
    .menu-skeleton--left { grid-area: left; justify-self: end; width: 110px; }
    .menu-skeleton--right { grid-area: right; justify-self: start; width: 110px; }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery__item.g-wide { grid-column: span 2; }
    .gallery__item.g-tall { grid-row: span 1; }

    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__brand { justify-content: center; }
    .footer__links { justify-content: center; }

    .visit__map { position: static; }
}

@media (max-width: 520px) {
    .hero__meta { gap: 28px; }
    .menu__images { grid-template-columns: 1fr; }
    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item.g-wide { grid-column: span 1; }
    .nav__name { display: none; }
    .hero__skeleton { display: none; }
    .menu-showcase { grid-template-columns: 1fr; grid-template-areas: "photo" "left" "right"; }
    .menu-skeleton--left, .menu-skeleton--right { justify-self: center; width: 90px; }
    .footer__skeleton { display: none; }
    .scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 1rem; }
    .leaf-divider { padding: 4px 0; }
    .leaf-divider svg { width: 28px; height: 14px; }
}
