/* =========================================================
   Shoty — site styles (all pages)
   ========================================================= */

:root {
	--yellow: #EDD65F;
	--yellow-dark: #CFB015;
	--ink: #1c1c1c;
	--text: #3a3a3a;
	--muted: #6b6b6b;
	--bg: #F5F3EE;
	--card: #ffffff;
	--line: #e4dfd2;

	--header-h: 84px;
	--gap: 12px;
	--radius: 10px;
	--container: 1320px;
	--pad-x: clamp(16px, 4vw, 40px);

	--font-display: 'Cinzel', Georgia, serif;
	--font-body: Brandon, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

ul {
	list-style: none;
}

:focus-visible {
	outline: 2px solid var(--yellow-dark);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.25;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 999px;
	transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--yellow {
	background: var(--yellow);
	color: var(--ink);
}

.btn--yellow:hover {
	box-shadow: 0 6px 16px rgba(207, 176, 21, 0.35);
}

.btn--dark {
	background: var(--ink);
	color: var(--yellow);
}

.btn--dark:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-style: italic;
	font-size: 17px;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
	transition: gap 0.2s;
}

.link-arrow::after {
	content: '→';
	font-style: normal;
}

.link-arrow:hover {
	gap: 10px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(245, 243, 238, 0.92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--header-h);
	gap: 16px;
}

.nav {
	display: flex;
	gap: 26px;
}

.nav a {
	position: relative;
	font-size: 15px;
	letter-spacing: 0.06em;
	color: var(--muted);
	transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--ink);
}

.nav a[aria-current="page"]::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: var(--yellow);
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	line-height: 1;
}

/* Round badge that hangs below the header; shrinks back once the page is scrolled */
.logo {
	position: relative;
	z-index: 2;
	align-self: start;
	padding-top: 6px;
}

.logo__emblem {
	width: 116px;
	height: 116px;
	padding: 6px;
	border-radius: 50%;
	background: var(--bg);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo:hover .logo__emblem {
	transform: rotate(-8deg) scale(1.04);
}

.site-header.is-scrolled .logo__emblem {
	width: 72px;
	height: 72px;
	padding: 2px;
	box-shadow: none;
}

.logo__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 30px;
	letter-spacing: 0.42em;
	margin-right: -0.42em; /* compensate trailing letter-spacing */
	color: var(--ink);
}

.logo__tagline {
	margin-top: 6px;
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--muted);
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.social {
	display: flex;
	gap: 4px;
}

.social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	opacity: 0.65;
	transition: opacity 0.2s, background 0.2s;
}

.social a:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.05);
}

.social img {
	width: 18px;
	height: 18px;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: -10px;
	position: relative;
}

.burger span {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.2s, top 0.25s;
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu: full-screen panel under the header, above everything else */
.mobile-menu {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: 49;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 32px var(--pad-x) calc(32px + env(safe-area-inset-bottom));
	background: var(--bg);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}

.mobile-menu.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.2s, transform 0.2s;
}

.mobile-menu nav {
	display: flex;
	flex-direction: column;
}

.mobile-menu nav a {
	padding: 14px 0;
	font-family: var(--font-display);
	font-size: 24px;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
}

.mobile-menu nav a[aria-current="page"] {
	color: var(--yellow-dark);
}

.mobile-menu .btn {
	align-self: stretch;
	min-height: 52px;
	font-size: 15px;
}

.mobile-menu__contact {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.7;
}

.mobile-menu__contact a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.menu-open {
	overflow: hidden;
}

/* ---------- Main ---------- */

main {
	flex: 1;
	padding: 8px 0 clamp(40px, 6vw, 72px);
}

.page-head {
	text-align: center;
	padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 36px);
}

.page-head h1 {
	font-size: clamp(26px, 2.2vw + 16px, 42px);
	letter-spacing: 0.08em;
}

.page-head p {
	margin-top: 8px;
	color: var(--muted);
}

/* ---------- Hero slider ---------- */

.hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 8 / 3;
	background: #2b2b2b;
	color: #fff;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.hero__content {
	position: absolute;
	z-index: 1;
	left: clamp(20px, 5vw, 64px);
	bottom: clamp(20px, 5vw, 56px);
	max-width: 520px;
}

.hero__content h1 {
	color: #fff;
	font-size: clamp(24px, 2.6vw + 12px, 46px);
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__content p {
	margin: 8px 0 18px;
	font-size: clamp(15px, 0.5vw + 13px, 19px);
	opacity: 0.92;
}

.hero__dots {
	position: absolute;
	z-index: 1;
	right: clamp(16px, 3vw, 32px);
	bottom: clamp(16px, 3vw, 28px);
	display: flex;
	gap: 4px;
}

.hero__dots button {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
}

.hero__dots button::before {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transition: background 0.2s, transform 0.2s;
}

.hero__dots button[aria-current="true"]::before {
	background: var(--yellow);
	transform: scale(1.25);
}

/* ---------- Tiles grid (home) ---------- */

.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--gap);
	margin-top: var(--gap);
}

.tile {
	grid-column: span 2;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 1 / 1;
	background: #ddd;
}

.tile--wide {
	grid-column: span 4;
	aspect-ratio: auto;
}

.tile--half {
	grid-column: span 3;
	aspect-ratio: 3 / 2;
}

.tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.tile:hover img {
	transform: scale(1.04);
}

.tile--text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: clamp(24px, 3vw, 44px);
	background: var(--yellow);
	color: var(--ink);
}

.tile--text h2 {
	font-size: clamp(18px, 0.9vw + 12px, 26px);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tile--text .rule {
	width: 56px;
	height: 2px;
	background: var(--ink);
}

.tile--text ul {
	font-family: var(--font-display);
	font-size: clamp(13px, 0.3vw + 11px, 15px);
	letter-spacing: 0.06em;
	line-height: 1.7;
}

.tile__star {
	font-size: 28px;
	line-height: 1;
}

/* ---------- Generic sections ---------- */

.card {
	background: var(--card);
	border-radius: var(--radius);
	padding: clamp(24px, 5vw, 64px);
}

.prose {
	max-width: 68ch;
	margin: 0 auto;
	font-size: clamp(16px, 0.3vw + 15px, 18px);
	line-height: 1.75;
}

.prose p + p {
	margin-top: 1em;
}

.prose h2 {
	font-size: clamp(20px, 1vw + 14px, 28px);
	letter-spacing: 0.06em;
	text-align: center;
	margin-bottom: 24px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
	margin-top: var(--gap);
}

.gallery figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: #ddd;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 14px 10px;
	font-family: var(--font-display);
	font-size: 14px;
	letter-spacing: 0.08em;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* ---------- Menu page ---------- */

.menu-page {
	max-width: 920px;
}

.tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: 2px;
	margin-left: 6px;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}

.tag--veg {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	color: #fff;
	background: #4f7a3a;
	cursor: help;
}

.tag--sig {
	padding: 4px 7px;
	border-radius: 999px;
	color: var(--ink);
	background: var(--yellow);
}

/* signature dishes */
.signature {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
	margin-bottom: clamp(20px, 3vw, 32px);
}

.sig-card {
	position: relative;
	overflow: hidden;
	display: block;
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: #ddd;
	color: #fff;
}

.sig-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.sig-card:hover img {
	transform: scale(1.05);
}

.sig-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 40px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
	font-size: 14px;
}

.sig-card__body strong {
	font-family: var(--font-display);
	font-size: 18px;
	letter-spacing: 0.03em;
}

.sig-card__label {
	align-self: flex-start;
	margin-bottom: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--yellow);
}

/* sticky section navigation */
.menu-nav {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	margin: 0 calc(var(--pad-x) * -1) 8px;
	padding: 10px var(--pad-x);
	background: rgba(245, 243, 238, 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.menu-nav__inner {
	display: flex;
	align-items: center;
	gap: 10px;
}

.menu-nav__chips {
	flex: 1;
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	mask-image: linear-gradient(90deg, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.menu-nav__chips::-webkit-scrollbar {
	display: none;
}

.menu-nav__chips a,
.veg-toggle {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 14px;
	white-space: nowrap;
	color: var(--text);
	background: var(--card);
	border: 1px solid var(--line);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.menu-nav__chips a:hover {
	border-color: var(--ink);
}

.menu-nav__chips a[aria-current="true"] {
	color: var(--ink);
	background: var(--yellow);
	border-color: var(--yellow);
}

.menu-nav__chips a[hidden] {
	display: none;
}

.veg-toggle {
	gap: 2px;
}

.veg-toggle .tag {
	margin: 0 4px 0 0;
}

.veg-toggle[aria-pressed="true"] {
	color: #fff;
	background: #4f7a3a;
	border-color: #4f7a3a;
}

.veg-toggle[aria-pressed="true"] .tag {
	background: #fff;
	color: #4f7a3a;
}

/* sections and items */
.menu-group__title {
	margin: clamp(28px, 4vw, 44px) 0 12px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	text-align: center;
	color: var(--yellow-dark);
}

.menu-group__title::before,
.menu-group__title::after {
	content: '';
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 14px;
	vertical-align: middle;
	background: currentColor;
}

.menu-section {
	scroll-margin-top: calc(var(--header-h) + 72px);
	margin-bottom: var(--gap);
	padding: clamp(20px, 4vw, 40px);
	background: var(--card);
	border-radius: var(--radius);
}

.menu-section h2 {
	font-size: clamp(20px, 1vw + 15px, 26px);
	letter-spacing: 0.08em;
	margin-bottom: 6px;
}

.menu-section__note {
	margin-bottom: 4px;
	font-size: 15px;
	font-style: italic;
	color: var(--muted);
}

.menu-sub + .menu-sub {
	margin-top: 22px;
}

.menu-sub h3 {
	margin: 18px 0 2px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--yellow-dark);
}

.menu-items {
	display: flex;
	flex-direction: column;
}

.menu-item {
	padding: 12px 0;
	border-bottom: 1px dashed var(--line);
}

.menu-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.menu-item__head {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.menu-item__name {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.35;
}

.menu-item__dots {
	flex: 1;
	min-width: 16px;
	border-bottom: 1px dotted #c9c2b0;
	transform: translateY(-4px);
}

.menu-item__price {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
}

.menu-item__desc {
	margin-top: 2px;
	font-size: 15px;
	color: var(--muted);
}

.menu-item__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.menu-item__prices li {
	padding: 3px 10px;
	border-radius: 6px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	background: #f6f2e3;
}

.menu-item__prices li span {
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--muted);
}

/* vegetarian filter */
.veg-only .menu-item:not([data-veg]),
.veg-only [data-no-veg] {
	display: none;
}

.menu-notes {
	margin-top: clamp(24px, 4vw, 40px);
	text-align: center;
	font-size: 14px;
	color: var(--muted);
}

.menu-notes p + p {
	margin-top: 6px;
}

.classic-link {
	font-size: 15px;
}

.classic-link a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--yellow-dark);
	text-underline-offset: 3px;
}

/* the printed menu, as images + PDF */
.classic-menu {
	scroll-margin-top: calc(var(--header-h) + 72px);
	margin-top: clamp(32px, 5vw, 56px);
	padding: clamp(20px, 4vw, 40px);
	text-align: center;
	background: var(--card);
	border-radius: var(--radius);
}

.classic-menu h2 {
	font-size: clamp(20px, 1vw + 15px, 26px);
	letter-spacing: 0.08em;
}

.classic-menu > p {
	margin: 6px 0 20px;
	font-size: 15px;
	color: var(--muted);
}

.classic-menu__pages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	margin-bottom: 22px;
}

.classic-menu__pages a {
	display: block;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 6px;
	transition: box-shadow 0.2s, transform 0.2s;
}

.classic-menu__pages a:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.classic-menu__pages img {
	width: 100%;
	aspect-ratio: 800 / 566;
}

.classic-menu__pages span {
	display: block;
	padding: 8px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ink);
	border-top: 1px solid var(--line);
}

/* "Book a table" bar fixed to the bottom on phones/tablets */
.sticky-book {
	display: none;
}

/* ---------- Contact page ---------- */

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}

.info-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: clamp(22px, 3vw, 36px);
	text-align: center;
}

.info-card h2 {
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.info-card h2::after {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	margin: 10px auto 0;
	background: var(--yellow);
}

.info-card a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-cta {
	text-align: center;
	margin: clamp(24px, 4vw, 40px) 0;
}

.map {
	display: block;
	width: 100%;
	height: clamp(300px, 45vw, 460px);
	border: 0;
	border-radius: var(--radius);
	background: #e5e3df;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	padding: clamp(36px, 5vw, 56px) 0 calc(24px + env(safe-area-inset-bottom));
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 28px;
}

.footer-brand img {
	width: 120px;
	height: 120px;
}

.footer-brand p {
	margin-top: 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

.site-footer h3 {
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.site-footer a:hover {
	color: var(--yellow);
}

.site-footer .social a {
	opacity: 0.8;
	filter: invert(1);
}

.site-footer__bottom {
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

/* ---------- Booking modal ---------- */

body.modal-open {
	overflow: hidden;
}

.modal-container {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	animation: bk-fade 0.25s ease-out;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.modal-frame {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: 14px;
	box-shadow: inset 0 6px 0 var(--yellow), 0 24px 60px rgba(0, 0, 0, 0.25);
	animation: bk-rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-close {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 16px;
	line-height: 36px;
	color: var(--muted);
	transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
	background: #f3f1ea;
	color: var(--ink);
}

@keyframes bk-slide-up {
	from { transform: translateY(40px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
	.header-actions .social {
		display: none;
	}

	.nav {
		gap: 18px;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 66px;
	}

	.nav-desktop {
		display: none;
	}

	.burger {
		display: block;
	}

	.logo {
		padding-top: 4px;
	}

	.logo__emblem {
		width: 78px;
		height: 78px;
		padding: 4px;
	}

	.site-header.is-scrolled .logo__emblem {
		width: 58px;
		height: 58px;
		padding: 1px;
	}

	.header-actions .btn {
		min-height: 38px;
		padding: 8px 14px;
		font-size: 12px;
	}

	/* Tiles: 2 columns; "dense" fills gaps left by the full-width tile */
	.tiles {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-flow: dense;
	}

	.tile,
	.tile--half {
		grid-column: span 1;
		aspect-ratio: 1 / 1;
	}

	.tile--wide {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
	}

	.hero {
		aspect-ratio: 16 / 9;
	}

	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.has-sticky-book {
		padding-bottom: calc(76px + env(safe-area-inset-bottom));
	}

	.sticky-book {
		display: block;
		position: fixed;
		z-index: 40;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
		background: rgba(245, 243, 238, 0.95);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		border-top: 1px solid var(--line);
	}

	.sticky-book .btn {
		width: 100%;
		min-height: 50px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.header-actions .btn .long {
		display: none;
	}

	/* Tiles: one column, text tiles size to their content */
	.tiles {
		grid-template-columns: 1fr;
	}

	.tile,
	.tile--half,
	.tile--wide {
		grid-column: auto;
		aspect-ratio: 4 / 3;
	}

	.tile--text {
		aspect-ratio: auto;
	}

	.hero {
		aspect-ratio: 4 / 5;
		max-height: 70vh;
	}

	.hero::after {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
	}

	.hero__content {
		right: 20px;
		bottom: 52px;
	}

	.hero__dots {
		left: 0;
		right: 0;
		bottom: 12px;
		justify-content: center;
	}

	.signature {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin: 0 calc(var(--pad-x) * -1) 20px;
		padding: 0 var(--pad-x);
	}

	.signature::-webkit-scrollbar {
		display: none;
	}

	.sig-card {
		scroll-snap-align: center;
	}

	.menu-section {
		padding: 20px 18px;
	}

	.classic-menu__pages {
		grid-template-columns: 1fr;
	}

	.menu-item__name,
	.menu-item__price {
		font-size: 16px;
	}

	.veg-toggle {
		padding: 6px 10px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 22px;
		text-align: center;
	}

	.footer-brand img {
		margin: 0 auto;
	}

	.site-footer .social {
		justify-content: center;
	}

	/* Booking modal becomes a full-screen sheet */
	.modal-container {
		padding: 0;
		align-items: stretch;
	}

	.modal-frame {
		max-width: none;
		max-height: none;
		height: 100%;
		border-radius: 0;
		box-shadow: inset 0 5px 0 var(--yellow);
		animation-name: bk-slide-up;
	}

	.modal-close {
		position: fixed;
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-size: 18px;
		background: rgba(255, 255, 255, 0.92);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	}
}

@media (max-height: 500px) and (min-width: 561px) {
	.modal-container {
		padding: 8px;
	}

	.modal-frame {
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================
   Intro animation (first page of a visit, see <head> script)
   ========================================================= */

.intro .logo__emblem {
	animation: logo-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.intro .hero__content > * {
	animation: rise-in 0.7s ease-out backwards;
}

.intro .hero__content > :nth-child(1) { animation-delay: 0.7s; }
.intro .hero__content > :nth-child(2) { animation-delay: 0.85s; }
.intro .hero__content > :nth-child(3) { animation-delay: 1s; }

@keyframes logo-in {
	0% {
		opacity: 0;
		transform: translateY(-60px) rotate(-220deg) scale(0.5);
	}
	60% {
		opacity: 1;
		transform: translateY(6px) rotate(12deg) scale(1.06);
	}
	80% {
		transform: translateY(-2px) rotate(-4deg) scale(0.99);
	}
	100% {
		transform: none;
	}
}

@keyframes rise-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.intro .logo__emblem,
	.intro .hero__content > * {
		animation: none !important;
	}
}
