/* ============================================================
   La Mensa — public site stylesheet
   ============================================================ */
:root {
  --ink: #1b1815;
  --ink-2: #3a3530;
  --muted: #6f675f;
  --line: #e6ddd1;
  --cream: #f8f4ec;
  --cream-2: #f1eae0;
  --white: #fffdf9;
  --brick: #9c3a25;
  --brick-2: #7f2e1c;
  --gold: #c8a55a;
  --olive: #5f6b3c;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --shadow: 0 14px 40px rgba(27, 24, 21, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .muted { color: #b9b0a4; }
.section--white { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--brick); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .92rem; letter-spacing: .04em; cursor: pointer; transition: .2s ease;
  font-family: var(--font-body); line-height: 1.2;
}
.btn--primary { background: var(--brick); color: #fff; border-color: var(--brick); }
.btn--primary:hover { background: var(--brick-2); border-color: var(--brick-2); transform: translateY(-1px); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { filter: brightness(1.07); }
.btn--sm { padding: .6rem 1.1rem; font-size: .82rem; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--brick); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow:hover { gap: .7rem; }

/* Announcement */
.announce { background: var(--brick); color: #fff; text-align: center; font-size: .9rem; padding: .55rem 1rem; }
.announce strong { font-weight: 700; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(248,244,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: .25s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; line-height: 1; }
.brand__logo { width: 56px; height: 56px; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; }
.brand--footer .brand__logo { width: 72px; height: 72px; }
@media (max-width: 1024px) { .brand__logo { width: 46px; height: 46px; } }
.brand__name { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; letter-spacing: .02em; }
.brand__sub { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brick); margin-top: .35rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-size: .9rem; font-weight: 500; color: var(--ink-2); position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: .25s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 1rem; }
.header__phone { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s; }
.mobile-nav { display: none; }
@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__inner { height: 72px; }
  .mobile-nav { display: block; position: fixed; inset: 72px 0 0 0; background: var(--cream); z-index: 49; padding: 1.5rem; overflow: auto; transform: translateX(100%); transition: .3s; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { display: block; font-family: var(--font-display); font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 1.5rem; font-family: var(--font-body); font-size: 1rem; border-bottom: 0; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: clamp(560px, 88vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.03); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1.1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,12,.25) 0%, rgba(20,16,12,.55) 55%, rgba(20,16,12,.85) 100%); }
.hero__content { padding: 5rem 0 4.5rem; max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__logo { width: 96px; height: 96px; margin-bottom: 1.4rem; opacity: .95; filter: drop-shadow(0 6px 20px rgba(0,0,0,.35)); }
.hero__scroll { position: absolute; right: 2rem; bottom: 2rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.7); }

/* Info strip */
.info-strip { background: var(--ink); color: var(--cream); }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-strip__item { padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; border-left: 1px solid rgba(255,255,255,.1); }
.info-strip__item:first-child { border-left: 0; padding-left: 0; }
.info-strip__item svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: .15rem; }
.info-strip__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #a89f92; margin-bottom: .2rem; }
.info-strip__value { font-weight: 500; }
@media (max-width: 800px) {
  .info-strip .container { grid-template-columns: 1fr; }
  .info-strip__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; }
  .info-strip__item:first-child { border-top: 0; }
}

/* Split / about */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__img { position: relative; }
.split__img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split__img::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.split__img--wide img { aspect-ratio: 4/3; }
.stat-row { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--brick); line-height: 1; }
.stat > span { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.stat b span { font: inherit; color: inherit; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* Dish cards */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.dish { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: .25s; }
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish__cat { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); font-weight: 600; }
.dish__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.dish__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.dish__price { font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.dish__desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.dish__media { margin: -1.5rem -1.5rem .75rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4/3; }
.dish__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.dish:hover .dish__img { transform: scale(1.06); }

/* Tags */
.tag { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; padding: .15rem .45rem; border-radius: 3px; border: 1px solid var(--olive); color: var(--olive); vertical-align: middle; margin-left: .3rem; line-height: 1.4; }
.tag--gf { border-color: var(--gold); color: #8a6b25; }

/* Menu page */
.menu-tabs { position: sticky; top: 84px; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
@media (max-width: 1024px) { .menu-tabs { top: 72px; } }
.menu-tabs__inner { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding: .5rem 0; }
.menu-tabs__inner::-webkit-scrollbar { display: none; }
.menu-tabs a { white-space: nowrap; padding: .5rem .9rem; font-size: .85rem; font-weight: 500; border-radius: 999px; color: var(--ink-2); }
.menu-tabs a:hover, .menu-tabs a.active { background: var(--ink); color: var(--cream); }
.menu-switch { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.menu-switch a { padding: .55rem 1.4rem; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.menu-switch a.active { background: var(--ink); color: var(--cream); }
.menu-cat { padding: 3rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.menu-cat__head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 1.5rem; }
.menu-cat__head h2 { margin: 0; }
.menu-cat__note { color: var(--muted); font-size: .92rem; font-style: italic; align-self: end; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; row-gap: .35rem; }
.menu-cat__icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: .7rem; border: 2px solid var(--gold); }
.menu-cat { padding: 2.5rem 0; }
.menu-item { display: flex; gap: .9rem; align-items: flex-start; padding: .55rem .6rem; margin: 0 -.6rem; border-radius: 6px; transition: background .25s, transform .25s; }
.menu-item:hover { background: rgba(255,255,255,.7); transform: translateX(3px); }
.menu-item__thumb { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.menu-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.menu-item:hover .menu-item__thumb img { transform: scale(1.12); }
.menu-item__thumb--empty img { object-fit: contain; padding: 10px; opacity: .35; }
.menu-item__body { flex: 1; min-width: 0; }
.menu-item__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted #c9bfb1; margin: 0 .5rem; transform: translateY(-.35em); }
.menu-item__row { display: flex; align-items: baseline; }
.menu-item__price { font-weight: 600; white-space: nowrap; }
.menu-item__desc { color: var(--muted); font-size: .86rem; margin: .1rem 0 0; line-height: 1.45; }
.menu-item__variants { margin-top: .3rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--ink-2); }
.menu-item__variants span b { font-weight: 600; }
@media (max-width: 800px) { .menu-list { grid-template-columns: 1fr; } .menu-cat__head { grid-template-columns: 1fr; gap: .5rem; } }
.dietary-key { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--muted); align-items: center; }

/* Page hero */
.page-hero { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); color: #fff; background: var(--ink); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,.2), rgba(20,16,12,.7)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 600px; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumbs { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: #fff; }

/* Set menus */
.set-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.set-card__head { padding: 1.8rem 1.8rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--cream-2); }
.set-card__price { font-family: var(--font-display); font-size: 2.6rem; color: var(--brick); line-height: 1; }
.set-card__price small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); margin-left: .3rem; }
.set-card__body { padding: 1.5rem 1.8rem; flex: 1; }
.set-course { margin-bottom: 1.4rem; }
.set-course__title { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--brick); margin-bottom: .5rem; }
.set-course ul { list-style: none; padding: 0; margin: 0; }
.set-course li { padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.set-course li b { font-weight: 600; }
.set-course li span { color: var(--muted); display: block; font-size: .85rem; }
.set-card__foot { padding: 1.2rem 1.8rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.seasonal-banner { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--cream); border-radius: var(--radius); overflow: hidden; }
.seasonal-banner img { height: 100%; object-fit: cover; min-height: 320px; }
.seasonal-banner__body { padding: clamp(2rem, 4vw, 3.5rem); }
.seasonal-banner h2 { color: #fff; }
@media (max-width: 800px) { .seasonal-banner { grid-template-columns: 1fr; } }

/* Events */
.event-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .event-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .event-types { grid-template-columns: 1fr; } }
.event-type { background: var(--white); border: 1px solid var(--line); padding: 1.6rem; border-radius: var(--radius); }
.event-type__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); color: var(--brick); display: grid; place-items: center; margin-bottom: 1rem; }
.event-type__icon svg { width: 22px; height: 22px; }
.event-type h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.event-type p { color: var(--muted); font-size: .9rem; margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; }
.feature-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: .2rem; }
.feature-list b { display: block; font-weight: 600; }
.feature-list span { color: var(--muted); font-size: .92rem; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
.field label span { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid #d5cbbd; border-radius: var(--radius); background: #fff;
  font: inherit; color: var(--ink); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(156,58,37,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .error { color: var(--brick); font-size: .82rem; margin-top: .35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--brick); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid; font-size: .95rem; }
.alert--success { background: #eef3e6; border-color: #b7c79a; color: #3f4f22; }
.alert--error { background: #fbeae6; border-color: #e6b6ab; color: #7f2e1c; }
.confirm-box { text-align: center; padding: 2rem 1rem; }
.confirm-box__icon { width: 64px; height: 64px; border-radius: 50%; background: #eef3e6; color: var(--olive); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.confirm-box__icon svg { width: 30px; height: 30px; }
.confirm-box dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; text-align: left; max-width: 380px; margin: 1.5rem auto; font-size: .95rem; }
.confirm-box dt { color: var(--muted); }
.confirm-box dd { margin: 0; font-weight: 600; }

/* Sidebar info */
.info-card { background: var(--ink); color: var(--cream); padding: 2rem; border-radius: var(--radius); }
.info-card h3 { color: #fff; }
.info-card dl { margin: 0; }
.info-card dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 1.1rem; }
.info-card dd { margin: .25rem 0 0; }
.info-card a:hover { color: var(--gold); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .92rem; }
.hours-table td:last-child { text-align: right; }
.layout-form { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .layout-form { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: .75rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.gallery figure:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 3; }
.gallery figure:nth-child(n+4) { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: 1rem; }
.quote__stars { color: var(--gold); letter-spacing: .15em; font-size: .9rem; }
.quote p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; flex: 1; margin: 0; }
.quote footer { font-size: .85rem; color: var(--muted); }
.quote footer b { color: var(--ink); font-weight: 600; }

/* Blog */
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-size: .78rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5rem 0; padding-left: 1.2rem; font-family: var(--font-display); font-size: 1.25rem; }
.post-hero-img { border-radius: var(--radius); aspect-ratio: 21/9; object-fit: cover; width: 100%; margin-bottom: 2.5rem; box-shadow: var(--shadow); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; min-width: 40px; text-align: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; background: var(--white); }
.pagination .active span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination .disabled span { opacity: .4; }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; background: var(--ink); overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 2rem; }

/* Map */
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); display: block; }

/* Footer */
.footer { background: #14110e; color: #c9c0b4; padding: 4rem 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand__name { color: #fff; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0; font-size: .8rem; color: #8b8378; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.social svg { width: 17px; height: 17px; }

/* Reveal on scroll */
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; } }

/* ============================================================
   Micro-animations
   ============================================================ */
.btn { position: relative; overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s; will-change: transform; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,24,21,.16); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: 0 3px 10px rgba(27,24,21,.12); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--primary:hover { background: var(--brick-2); }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn--pulse { animation: pulseRing 2.8s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(156,58,37,.45); } 45% { box-shadow: 0 0 0 9px rgba(156,58,37,0); } 46% { box-shadow: 0 0 0 0 rgba(156,58,37,0); } }
.btn--pulse:hover { animation: none; }
.link-arrow { transition: gap .25s cubic-bezier(.2,.8,.2,1), color .2s; }
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Entrance on load (hero) */
/* Hero entrance: pure CSS. If animations don't run, the element simply stays visible. */
.fade-up { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Nav */
.nav a { transition: color .2s; }
.nav a::after { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.header__phone { transition: color .2s; }
.header__phone:hover { color: var(--brick); }

/* Forms: required + focus + error states */
.field label span { display: inline-block; transition: transform .2s; }
.field:focus-within label { color: var(--brick); }
.field:focus-within label span { transform: scale(1.3); }
.field input, .field select, .field textarea { transition: border-color .2s, box-shadow .25s, transform .2s; }
.field input:focus, .field select:focus, .field textarea:focus { transform: translateY(-1px); }
.field.has-error input, .field.has-error select, .field.has-error textarea { animation: shake .45s cubic-bezier(.36,.07,.19,.97) both; }
.field.has-error label { color: var(--brick); }
.field .error { animation: fadeUp .35s ease both; }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-4px); } 40%, 60% { transform: translateX(4px); } }
.field input:required:valid:not(:placeholder-shown), .field select:required:valid { border-color: #9fb37e; }
.alert { animation: fadeUp .45s cubic-bezier(.2,.8,.2,1) both; }
.confirm-box__icon { animation: popIn .6s cubic-bezier(.2,.8,.2,1) both; }
.confirm-box__icon svg { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s ease .35s forwards; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Cards, tiles, tags */
.dish, .post-card, .set-card, .event-type, .quote { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.event-type:hover, .quote:hover, .set-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.event-type__icon { transition: background .3s, color .3s, transform .3s; }
.event-type:hover .event-type__icon { background: var(--brick); color: #fff; transform: rotate(-8deg) scale(1.08); }
.tag { transition: background .2s, color .2s; }
.menu-item:hover .tag { background: var(--olive); color: #fff; }
.menu-item:hover .tag--gf { background: var(--gold); color: var(--ink); }
.menu-tabs a { transition: background .25s, color .25s, transform .2s; }
.menu-tabs a:active { transform: scale(.95); }
.menu-switch a { transition: background .25s, color .25s; }
.social a svg { transition: transform .3s; }
.social a:hover svg { transform: scale(1.15); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: var(--brick); opacity: 0; transition: opacity .35s; mix-blend-mode: multiply; }
.gallery figure:hover::after { opacity: .18; }
.info-strip__item svg { transition: transform .3s; }
.info-strip__item:hover svg { transform: translateY(-2px) scale(1.1); }
.split__img::before { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.split__img:hover::before { transform: translate(-6px, -6px); }
.stat b { transition: color .2s; }
.hours-table tr { transition: background .2s; }
.hours-table tr:hover td { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after, .fade-up, .reveal, .btn--pulse, .field.has-error input, .confirm-box__icon { animation: none !important; transition: none !important; }
}
.header__cta .btn { white-space: nowrap; }
@media (max-width: 480px) { .brand__sub { display: none; } .brand__name { font-size: 1.5rem; } .header__cta { gap: .5rem; } }

/* ============================================================
   iOS-style glassmorphism
   ============================================================ */
.glass {
  background: rgba(255, 253, 249, .55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 20px 50px rgba(27, 24, 21, .14), inset 0 1px 0 rgba(255,255,255,.7);
  border-radius: 18px;
}
.header {
  background: rgba(248, 244, 236, .62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.5);
}
.menu-tabs { background: rgba(248, 244, 236, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid rgba(255,255,255,.5); }
.mobile-nav { background: rgba(248,244,236,.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.btn--glass {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.18);
}
.btn--glass:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; border-radius: 12px; }
.btn--primary.btn--lg { box-shadow: 0 10px 30px rgba(156,58,37,.45); }
.glass-pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.glass-pill svg { color: var(--gold); }
.form-card, .info-card, .set-card, .event-type, .quote, .post-card, .dish {
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form-card { background: rgba(255,253,249,.82); border-color: rgba(255,255,255,.7); box-shadow: 0 20px 50px rgba(27,24,21,.10), inset 0 1px 0 rgba(255,255,255,.8); border-radius: 18px; }
.dish, .post-card, .set-card, .event-type, .quote { border-radius: 16px; background: rgba(255,253,249,.8); border-color: rgba(255,255,255,.8); box-shadow: 0 8px 24px rgba(27,24,21,.05), inset 0 1px 0 rgba(255,255,255,.8); }
.dish__media { border-radius: 16px 16px 0 0; }
.set-card__head, .set-card__foot { background: rgba(241,234,224,.6); }
.info-card { background: rgba(27,24,21,.92); border-radius: 18px; border: 1px solid rgba(255,255,255,.08); }
.field input, .field select, .field textarea { border-radius: 10px; background: rgba(255,255,255,.9); }
.btn { border-radius: 10px; }
.tag { border-radius: 6px; }

/* Info strip as floating glass card over the hero */
.info-strip--glass { background: transparent; color: var(--ink); position: relative; z-index: 3; margin-top: -3.2rem; padding: 0 0 .5rem; }
.info-strip--glass .container { padding: .4rem 1.6rem; }
.info-strip--glass .info-strip__item { border-left-color: var(--line); }
.info-strip--glass .info-strip__label { color: var(--muted); }
.info-strip--glass .info-strip__item svg { color: var(--brick); }
@media (max-width: 800px) { .info-strip--glass .info-strip__item { border-top-color: var(--line); } .info-strip--glass { margin-top: -1.5rem; } }

/* ============================================================
   3D hero scene
   ============================================================ */
.hero--3d { perspective: 1200px; align-items: center; min-height: clamp(620px, 92vh, 860px); }
.hero--3d::after { background: linear-gradient(100deg, rgba(20,16,12,.78) 0%, rgba(20,16,12,.5) 45%, rgba(20,16,12,.25) 100%), linear-gradient(180deg, transparent 60%, rgba(20,16,12,.85) 100%); }
.hero--3d .hero__bg { animation: none; transform: scale(1.12); will-change: transform; transition: transform .12s linear; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; width: min(var(--container), calc(100% - 2.5rem)); position: relative; z-index: 2; transform-style: preserve-3d; }
.hero--3d .hero__content { padding: 6rem 0 5rem; will-change: transform; transform-style: preserve-3d; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.hero__orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; mix-blend-mode: screen; animation: orbDrift 18s ease-in-out infinite alternate; }
.orb--1 { width: 420px; height: 420px; background: radial-gradient(circle, #d98a5a, transparent 65%); top: -10%; left: 55%; }
.orb--2 { width: 360px; height: 360px; background: radial-gradient(circle, #c8a55a, transparent 65%); bottom: -15%; left: 20%; animation-delay: -6s; animation-duration: 22s; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, #9c3a25, transparent 65%); top: 30%; right: -5%; animation-delay: -12s; animation-duration: 16s; }
@keyframes orbDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.15); } }

.hero__scene { position: relative; height: 520px; transform-style: preserve-3d; }
.glass-card {
  position: absolute; width: 230px; border-radius: 20px; overflow: hidden; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.4);
  will-change: transform; transform-style: preserve-3d;
}
.glass-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.glass-card__body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.glass-card__body b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.glass-card__body span { font-size: .78rem; color: rgba(255,255,255,.75); }
.glass-card--a { top: 8%; left: 2%; width: 250px; }
.glass-card--b { top: 30%; right: 0; width: 230px; }
.glass-card--c { bottom: 2%; left: 18%; width: 210px; }
.glass-badge {
  position: absolute; right: 8%; bottom: 20%; padding: .9rem 1.1rem; border-radius: 16px; color: #fff; display: flex; flex-direction: column; gap: .15rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.45); will-change: transform;
}
.glass-badge__stars { color: var(--gold); letter-spacing: .1em; font-size: .85rem; }
.glass-badge b { font-size: .95rem; }
.glass-badge span:last-child { font-size: .74rem; color: rgba(255,255,255,.75); }
.float { animation: floatY var(--float, 6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes floatY { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
.glass-card::after, .glass-badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, transparent 40%, transparent 60%, rgba(255,255,255,.1) 100%); pointer-events: none; }
.hero--3d .hero__scroll { z-index: 3; }
.hero--3d.is-tilting .hero__content, .hero--3d.is-tilting .glass-card, .hero--3d.is-tilting .glass-badge, .hero--3d.is-tilting .hero__bg { transition: transform .08s linear; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__scene { height: 300px; margin-top: -2rem; }
  .hero--3d .hero__content { padding: 5rem 0 1rem; }
  .glass-card { width: 180px; }
  .glass-card--a { left: 0; top: 0; width: 190px; }
  .glass-card--b { right: 0; top: 10%; width: 180px; }
  .glass-card--c { display: none; }
  .glass-badge { right: 4%; bottom: 0; }
}
@media (max-width: 600px) {
  .hero__scene { height: 240px; }
  .glass-card--b { display: none; }
  .glass-card--a { width: 200px; left: 0; }
  .glass-badge { right: 0; bottom: 8%; }
  .hero--3d h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .float, .orb { animation: none; } }

/* ============================================================
   Content protection
   ============================================================ */
body.protected { -webkit-user-select: none; user-select: none; }
body.protected input, body.protected textarea, body.protected select { -webkit-user-select: text; user-select: text; }
body.protected img { -webkit-user-drag: none; pointer-events: none; }
body.protected a img, body.protected .gallery img, body.protected .glass-card img { pointer-events: auto; }
.protect-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); z-index: 999; padding: .7rem 1.1rem; border-radius: 12px;
  background: rgba(27,24,21,.9); color: #fff; font-size: .85rem; opacity: 0; pointer-events: none; transition: .3s;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.protect-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Hero scene layout tuning */
.hero--3d .hero__logo { width: 72px; height: 72px; margin-bottom: 1rem; }
.hero--3d h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
.hero--3d .hero__content { padding: 4.5rem 0 3.5rem; }
.hero--3d p { font-size: 1.08rem; }
.hero__scene { height: 500px; }
.glass-card--a { top: 2%; left: 0; width: 245px; }
.glass-card--b { top: 20%; right: 0; width: 215px; }
.glass-card--c { bottom: 0; left: 8%; width: 200px; }
.glass-badge { right: 1%; bottom: 7%; }
@media (max-width: 1024px) {
  .glass-card--a { left: 0; top: 0; width: 190px; }
  .glass-card--b { right: 0; top: 8%; width: 180px; }
  .glass-badge { right: 4%; bottom: 0; }
}

/* ============================================================
   Mobile: lighter, shorter hero and header
   ============================================================ */
.float { animation-name: floatT; margin-top: 0 !important; }
@keyframes floatT { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@media (max-width: 1024px) {
  .hero--3d { min-height: 0; perspective: none; }
  .hero--3d .hero__content { padding: 3.5rem 0 1.5rem; transform: none !important; }
  .hero--3d .hero__bg { transform: none !important; transition: none; }
  .hero__orbs { display: none; }
  .hero__scene { height: 250px; margin-top: 0; }
  .glass-card, .glass-badge, .glass-pill, .btn--glass {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(30, 24, 20, .72);
  }
  .glass-card, .glass-badge { transform: none !important; }
  .hero__scroll { display: none; }
  .fade-up { animation-duration: .5s; }
}
@media (max-width: 600px) {
  .hero--3d .hero__content { padding: 2.5rem 0 1rem; }
  .hero--3d .hero__logo { width: 56px; height: 56px; margin-bottom: .6rem; }
  .hero--3d h1 { font-size: 2.1rem; }
  .hero--3d p { font-size: 1rem; }
  .hero__actions .btn--lg { padding: .85rem 1.3rem; font-size: .92rem; }
  .hero__scene { height: 210px; }
  .glass-card--a { width: 170px; }
  .glass-card--a img { aspect-ratio: 16/10; }
  .glass-badge { padding: .7rem .9rem; }
  .info-strip--glass { margin-top: -1rem; }
  /* header */
  .header__inner { height: 64px; gap: .6rem; }
  .brand { gap: .5rem; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 1.25rem; white-space: nowrap; }
  .header__cta .btn--sm { padding: .5rem .8rem; font-size: .78rem; }
  .btn--pulse { animation: none; }
  .mobile-nav { inset: 64px 0 0 0; }
  .menu-tabs { top: 64px; }
  /* cheaper cards */
  .form-card, .info-card, .set-card, .event-type, .quote, .post-card, .dish, .menu-tabs, .mobile-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .form-card { background: var(--white); }
  .gallery figure::after { display: none; }
}
@media (max-width: 600px) { .glass-badge { right: 0; top: 6%; bottom: auto; } }

/* ============================================================
   Scroll reveal without JavaScript (scroll-driven animations).
   Browsers without support show content normally.
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: revealIn linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
