/* ==========================================================================
   Deanatella's Italian Deli — global stylesheet
   Mobile-first. Tokens on :root; components below in page order.
   No framework: hand-tuned CSS keeps this ~10 KB gzipped (vs. a utility CDN
   that would block render and fail PageSpeed on mobile).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
/* Metric-matched fallback so the swap to Fraunces doesn't shift layout (CLS). */
@font-face {
	font-family: "Fraunces Fallback";
	src: local("Georgia");
	size-adjust: 104%;
	ascent-override: 92%;
	descent-override: 24%;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #1b1512;
	--ink-2: #2a221d;
	--ink-3: #3a2f28;
	--body: #3d332d;
	--muted: #75685e;
	--cream: #f6efe4;
	--paper: #fbf7f0;
	--flour: #fffdf9;
	--line: #e7dccb;
	--line-dark: rgba(246, 239, 228, .14);
	--red: #c8241c;
	--red-d: #a51d16;
	--red-dd: #8a1812;
	--basil: #1f6b3f;
	--basil-l: #e3efe5;
	--crust: #e0a458;
	--crust-d: #b7792f;

	--f-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
	--f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-hero: clamp(2.75rem, 1.4rem + 6.4vw, 7.25rem);
	--fs-page: clamp(2.5rem, 1.5rem + 4.6vw, 5.5rem);
	--fs-h2: clamp(2rem, 1.35rem + 2.9vw, 3.9rem);
	--fs-h3: clamp(1.2rem, 1.08rem + .55vw, 1.55rem);
	--fs-lead: clamp(1.07rem, 1rem + .35vw, 1.28rem);
	--fs-body: 1.0625rem;
	--fs-sm: .9375rem;
	--fs-xs: .8125rem;

	--gutter: clamp(16px, 4.2vw, 48px);
	--wrap: 1240px;
	--section: clamp(72px, 9vw, 140px);
	--radius: 20px;
	--radius-lg: 28px;
	--header-h: 84px;

	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--shadow: 0 1px 2px rgba(27, 21, 18, .06), 0 12px 32px -12px rgba(27, 21, 18, .22);
	--shadow-lg: 0 2px 4px rgba(27, 21, 18, .06), 0 30px 60px -20px rgba(27, 21, 18, .35);

	--grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (min-width: 1024px) {
	:root { --header-h: 104px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font: 400 var(--fs-body)/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 520; line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin-block: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
dl, dd { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[x-cloak] { display: none !important; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; }
/* SplitText line masks: give descenders (g, y, p) room so they aren't clipped. */
.split-line, .split-line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 20px; border-radius: 999px;
	background: var(--ink); color: var(--cream); font-weight: 700; transform: translateY(-160%);
	transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }
.site-main:focus { outline: none; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--paper { background: var(--cream); }
.section--dark { background: var(--ink); color: rgba(246, 239, 228, .78); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Type helpers ---------- */
.h2 { font-size: var(--fs-h2); margin-bottom: .5em; max-width: 18ch; }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--body); max-width: 56ch; }
.section--dark .lead { color: rgba(246, 239, 228, .78); }
.accent { font-style: italic; font-weight: 380; color: var(--crust); padding-right: .04em; }
.h2 .accent, .prose .accent { color: var(--red); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
	font: 700 var(--fs-xs)/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.eyebrow--light { color: var(--cream); }
.eyebrow__flag {
	width: 30px; height: 4px; border-radius: 2px; flex: none;
	background: linear-gradient(90deg, #1f8a4c 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%);
	box-shadow: 0 0 0 1px rgba(27, 21, 18, .08);
}

.prose { font-size: var(--fs-body); }
.prose--lead { font-size: var(--fs-lead); }
.prose--center { text-align: center; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-top: 1.4em; margin-bottom: .4em; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.3em; }
.prose a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; transition: color .2s; }
.prose a:hover { color: var(--red-dd); }
.prose em { font-family: var(--f-display); font-style: italic; color: var(--red); font-size: 1.08em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid var(--red); font-family: var(--f-display); font-size: 1.25em; font-style: italic; color: var(--ink); }

.link-underline { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; transition: color .2s; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); transition: gap .3s var(--ease), color .2s; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
@media (hover: hover) {
	.link-underline:hover { color: var(--red); }
	.link-arrow:hover { color: var(--red-dd); }
	.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translate(2px, -2px); }
}

/* ==========================================================================
   Buttons
   Every variant declares its own fg/bg for each state. The fill sweep is a
   ::before layer and text/icons use currentColor, so text, icon and border
   always change together — no stale-colour flashes on hover or tap.
   ========================================================================== */
.btn {
	--b-bg: var(--red); --b-fg: #fff; --b-bd: var(--red);
	--b-hbg: var(--ink); --b-hfg: var(--cream); --b-hbd: var(--ink);
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 1.45em; border-radius: 999px;
	border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
	font: 700 var(--fs-sm)/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
	text-decoration: none; cursor: pointer; user-select: none;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
	background: var(--b-hbg); transform: translateY(102%);
	transition: transform .5s var(--ease);
}
.btn > * { position: relative; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:focus-visible { color: var(--b-hfg); border-color: var(--b-hbd); outline-offset: 4px; }
.btn:focus-visible::before { transform: none; }
@media (hover: hover) {
	.btn:hover { color: var(--b-hfg); border-color: var(--b-hbd); }
	.btn:hover::before { transform: none; }
	.btn:hover .btn__arrow { transform: translateX(4px); }
}
.btn:active { transform: scale(.97); }

.btn--primary { box-shadow: 0 10px 24px -12px rgba(200, 36, 28, .7); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(27, 21, 18, .22); --b-hbg: var(--ink); --b-hfg: var(--cream); --b-hbd: var(--ink); }
.section--dark .btn--ghost { --b-fg: var(--cream); --b-bd: rgba(246, 239, 228, .3); --b-hbg: var(--cream); --b-hfg: var(--ink); --b-hbd: var(--cream); }
.btn--glass {
	--b-bg: rgba(255, 255, 255, .1); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35);
	--b-hbg: #fff; --b-hfg: var(--ink); --b-hbd: #fff;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--lg { min-height: 56px; padding: 0 1.75em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   Header
   Note: no transform/filter on .site-header itself — either would turn it into
   the containing block for the fixed mobile nav panel and clip it.
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	color: var(--cream);
	transition: top .45s var(--ease), color .35s var(--ease);
	top: 0;
}
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: rgba(251, 247, 240, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	box-shadow: 0 1px 0 rgba(27, 21, 18, .07);
	opacity: 0; transition: opacity .35s var(--ease);
}
.site-header::after { /* soft top scrim keeps light text readable on bright photos */
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -3; pointer-events: none;
	background: linear-gradient(rgba(14, 10, 8, .55), rgba(14, 10, 8, 0));
	transition: opacity .35s var(--ease);
}
.site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled::after { opacity: 0; }
.site-header.is-hidden { top: calc(-1 * var(--header-h) - 2px); }
.nav-open .site-header { top: 0; color: var(--cream); }
.nav-open .site-header::before { opacity: 0; }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; position: relative; z-index: 2; }
.brand__logo { width: 66px; height: 66px; border-radius: 50%; transition: transform .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18)); }
@media (min-width: 1024px) { .brand__logo { width: 84px; height: 84px; } }
@media (hover: hover) { .brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); } }
.brand__text { display: none; line-height: 1; }
.brand__name { display: block; font: 600 1.5rem/1 var(--f-display); letter-spacing: -.01em; }
.brand__sub { display: block; margin-top: 4px; font: 700 .65rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
@media (min-width: 1180px) { .brand__text { display: block; } }

.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; position: relative; z-index: 2; }
.btn--call { min-height: 44px; padding: 0 16px; font-size: .875rem; }
.btn--call .icon { width: 1.05em; height: 1.05em; }
@media (max-width: 380px) {
	.btn--call { padding: 0; width: 44px; }
	.btn--call__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (prefers-reduced-motion: no-preference) {
	.btn__ring { animation: ring 4.5s ease-in-out 2s infinite; transform-origin: 50% 50%; }
}
@keyframes ring {
	0%, 86%, 100% { transform: rotate(0); }
	88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); }
}

/* Hamburger → X */
.burger {
	width: 48px; height: 48px; padding: 0; border: 1.5px solid currentColor; border-color: rgba(255, 255, 255, .35);
	border-radius: 50%; background: transparent; display: grid; place-items: center;
	transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.is-scrolled .burger { border-color: rgba(27, 21, 18, .2); }
.nav-open .burger { border-color: rgba(246, 239, 228, .35); }
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__line {
	position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: currentColor;
	transition: transform .45s var(--ease), opacity .25s var(--ease), width .35s var(--ease), top .45s var(--ease);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 6px; width: 70%; }
.burger__line:nth-child(3) { top: 12px; }
@media (hover: hover) { .burger:hover .burger__line:nth-child(2) { width: 100%; } }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ----- Mobile nav panel ----- */
.nav-panel {
	position: fixed; inset: 0; z-index: -1;
	display: flex; flex-direction: column; gap: 32px;
	padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
	background: var(--ink) var(--grain); color: var(--cream);
	overflow-y: auto; overscroll-behavior: contain;
	visibility: hidden;
	clip-path: circle(0 at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2));
	transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.nav-open .nav-panel {
	visibility: visible;
	clip-path: circle(150% at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2));
	transition: clip-path .7s var(--ease-in-out), visibility 0s;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line-dark); }
.nav-list > li > a, .nav-row > a {
	display: flex; align-items: center; min-height: 64px; padding: 8px 0;
	font: 500 clamp(1.9rem, 1.4rem + 2.6vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.02em;
	transition: color .25s, transform .4s var(--ease);
}
.nav-list a[aria-current="page"], .nav-list .is-active-parent > .nav-row > a { color: var(--crust); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-row > a { flex: 1; }
.sub-toggle {
	width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-dark); background: none;
	display: grid; place-items: center; transition: transform .4s var(--ease), border-color .25s, background-color .25s, color .25s;
}
.sub-toggle .icon { width: 20px; height: 20px; }
.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); background: var(--cream); color: var(--ink); border-color: var(--cream); }

.sub-menu { list-style: none; margin: 0; padding: 0 0 16px; display: none; }
.is-open > .sub-menu { display: grid; gap: 2px; animation: subIn .4s var(--ease) both; }
@keyframes subIn { from { opacity: 0; transform: translateY(-6px); } }
.sub-link {
	display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; min-height: 52px;
	transition: background-color .25s, color .25s;
}
.sub-link__icon { width: 22px; height: 22px; color: var(--crust); }
.sub-link__body { display: grid; gap: 2px; }
.sub-link .nav-link__text { font-weight: 650; font-size: 1.05rem; }
.sub-link__desc { font-size: var(--fs-xs); opacity: .65; line-height: 1.3; }
.sub-link[aria-current="page"] { background: rgba(246, 239, 228, .08); }
@media (hover: hover) { .sub-link:hover { background: rgba(246, 239, 228, .08); } }

.nav-panel__extra { display: grid; gap: 14px; margin-top: auto; }
.nav-panel__meta { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: var(--fs-sm); color: rgba(246, 239, 228, .72); }
.nav-panel__meta .icon { color: var(--crust); margin-top: 2px; }
.nav-panel .btn--primary { --b-hbg: var(--cream); --b-hfg: var(--ink); --b-hbd: var(--cream); }

/* staggered entrance of panel links */
@media (prefers-reduced-motion: no-preference) {
	.nav-panel .nav-list > li, .nav-panel__extra > * { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
	.nav-open .nav-panel .nav-list > li, .nav-open .nav-panel__extra > * { opacity: 1; transform: none; }
	.nav-open .nav-list > li:nth-child(1) { transition-delay: .18s; }
	.nav-open .nav-list > li:nth-child(2) { transition-delay: .24s; }
	.nav-open .nav-list > li:nth-child(3) { transition-delay: .30s; }
	.nav-open .nav-list > li:nth-child(4) { transition-delay: .36s; }
	.nav-open .nav-list > li:nth-child(5) { transition-delay: .42s; }
	.nav-open .nav-list > li:nth-child(6) { transition-delay: .48s; }
	.nav-open .nav-panel__extra > * { transition-delay: .5s; }
}
html.nav-open, html.nav-open body { overflow: hidden; }

/* ----- Desktop nav ----- */
@media (min-width: 1024px) {
	.burger { display: none; }
	.nav-panel {
		position: static; z-index: auto; visibility: visible; clip-path: none; overflow: visible;
		flex-direction: row; padding: 0; background: none; color: inherit; margin-inline: auto; transition: none;
	}
	.nav-panel__extra { display: none; }
	.nav-panel .nav-list > li { opacity: 1; transform: none; }
	.nav-list { display: flex; align-items: center; gap: 4px; }
	.nav-list > li { position: relative; border: 0; }
	.nav-list > li > a, .nav-row > a {
		min-height: 44px; padding: 0 14px; font: 650 .95rem/1 var(--f-body); letter-spacing: .01em; position: relative;
	}
	.nav-list > li > a::after, .nav-row > a::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px;
		background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
	}
	.nav-list a[aria-current="page"]::after, .nav-list .is-active-parent > .nav-row > a::after { transform: scaleX(1); }
	.nav-list a[aria-current="page"], .nav-list .is-active-parent > .nav-row > a { color: inherit; }
	.nav-row { gap: 0; }
	.nav-row > a { padding-right: 4px; }
	.sub-toggle { width: 28px; height: 28px; border: 0; margin-right: 6px; }
	.sub-toggle .icon { width: 16px; height: 16px; }
	.sub-toggle[aria-expanded="true"] { background: none; color: inherit; }

	.sub-menu {
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
		position: absolute; top: calc(100% + 14px); left: 50%; width: min(560px, 80vw);
		padding: 12px; border-radius: var(--radius); background: var(--flour); color: var(--ink);
		box-shadow: var(--shadow-lg); border: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
	}
	.sub-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
	.is-open > .sub-menu, .has-sub:focus-within > .sub-menu {
		opacity: 1; visibility: visible; transform: translate(-50%, 0); animation: none;
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s;
	}
	.sub-link { min-height: 60px; }
	.sub-link__icon { color: var(--red); }
	.sub-link[aria-current="page"] { background: var(--cream); }
	.site-header .nav-list .sub-menu .sub-link:hover { background: var(--cream); color: var(--ink); }
}
@media (min-width: 1024px) and (hover: hover) {
	.nav-list > li > a:hover::after, .nav-row > a:hover::after { transform: scaleX(1); transform-origin: left; }
	.has-sub:hover > .sub-menu {
		opacity: 1; visibility: visible; transform: translate(-50%, 0);
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s;
	}
	.has-sub:hover .sub-toggle { transform: rotate(180deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(460px, 72svh, 760px);
	padding: calc(var(--header-h) + 48px) 0 clamp(48px, 7vw, 96px);
	background: var(--ink);
}
.hero--full { min-height: max(640px, 100svh); padding-bottom: clamp(32px, 5vw, 64px); }
.hero__media, .hero__shade, .hero__grain { position: absolute; inset: 0; }
.hero__media { z-index: -3; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.hero__media picture { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.hero.is-video-playing .hero__video { opacity: 1; }
.video-toggle {
	position: relative; width: 46px; height: 46px; margin-left: auto; flex: none; border-radius: 50%; display: grid; place-items: center;
	border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.video-toggle[hidden] { display: none; }
.video-toggle__pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.video-toggle[aria-pressed="true"] .video-toggle__pause { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (hover: hover) { .video-toggle:hover { background: #fff; color: var(--ink); border-color: #fff; } }
.video-toggle:focus-visible { background: #fff; color: var(--ink); }
.hero__shade {
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(14, 10, 8, .45) 0%, rgba(14, 10, 8, 0) 28%),
		linear-gradient(0deg, rgba(14, 10, 8, .92) 0%, rgba(14, 10, 8, .55) 42%, rgba(14, 10, 8, .12) 75%),
		linear-gradient(90deg, rgba(14, 10, 8, .55) 0%, rgba(14, 10, 8, 0) 65%);
}
.hero__grain { z-index: -1; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.hero__content { position: relative; }
.hero__title {
	color: #fff; font-size: var(--fs-page); font-weight: 480; line-height: .98; letter-spacing: -.03em;
	max-width: 13ch; margin-bottom: .3em;
}
.hero--full .hero__title { font-size: var(--fs-hero); max-width: 11ch; }
.hero__title .accent { color: var(--crust); }
.hero__lead { max-width: 52ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__aside {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin-top: clamp(32px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16);
}

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { transition: color .2s; }
@media (hover: hover) { .crumbs a:hover { color: #fff; } }
.crumbs [aria-current] { color: #fff; }

.scroll-cue { display: none; position: relative; margin-left: 12px; width: 28px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 20px; flex: none; }
.scroll-cue__line { position: absolute; left: 50%; top: 9px; width: 2px; height: 9px; margin-left: -1px; border-radius: 2px; background: #fff; }
@media (min-width: 768px) { .scroll-cue { display: block; } }
@media (prefers-reduced-motion: no-preference) {
	.scroll-cue__line { animation: cue 2s var(--ease) infinite; }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Live open/closed pill */
.open-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--flour); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 650; color: var(--ink); }
.open-status--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.open-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--crust); position: relative; flex: none; }
.open-status.is-open .open-status__dot { background: #2fbf63; }
.open-status.is-closed .open-status__dot { background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
	.open-status.is-open .open-status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
}
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { display: flex; overflow: hidden; background: var(--red); color: #fff; padding: 16px 0; user-select: none; }
.marquee__track { display: flex; align-items: center; flex: none; gap: 28px; padding-right: 28px; animation: marquee 38s linear infinite; }
.marquee__item { font: italic 450 clamp(1.15rem, 1rem + .8vw, 1.6rem)/1 var(--f-display); white-space: nowrap; }
.marquee__star { color: var(--crust); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
/* GSAP drives the ticker when available (smooth speed changes with scroll); CSS is the fallback. */
.marquee.is-js .marquee__track { animation: none; will-change: transform; }

/* ==========================================================================
   Home — story
   ========================================================================== */
.story .h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.25rem); max-width: 20ch; }
.story__inner { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 1024px) { .story__inner { grid-template-columns: 1.05fr 1fr; } }
.story .prose p:last-child { font-family: var(--f-display); font-size: 1.15em; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats__item { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .02em; color: var(--muted); line-height: 1.3; }
.stats dd { font: 500 clamp(1.9rem, 1.4rem + 2vw, 3rem)/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }

.story__media { position: relative; padding: 0 0 18% 0; }
.story__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); width: 88%; }
.story__main .story__img, .story__inset .story__img { width: 100%; height: 100%; object-fit: cover; }
.story__inset {
	position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
	border: 6px solid var(--paper); box-shadow: var(--shadow-lg);
}
.seal { position: absolute; left: -2%; bottom: 6%; width: clamp(110px, 18vw, 150px); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--crust); box-shadow: var(--shadow); }
.seal__logo { position: relative; width: 46%; height: auto; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .seal__ring { animation: spin 26s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Home — category rail
   ========================================================================== */
.cats__rail { scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cats__rail::-webkit-scrollbar { display: none; }
.cats__list { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 16px; padding-bottom: 8px; }
.cats__list > li { scroll-snap-align: start; }
@media (min-width: 1024px) {
	.cats__rail { overflow: visible; }
	.cats__list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 20px; }
}
.cat-card {
	position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden;
	background: var(--flour); border: 1px solid var(--line); color: var(--ink);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.cat-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.cat-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-card__glyph { width: 56px; height: 56px; color: var(--red); stroke-width: 1.3; transition: transform .6s var(--ease); }
.cat-card--type .cat-card__media { background: var(--cream) var(--grain); }
.cat-card__body { display: grid; gap: 4px; padding: 18px 56px 20px 20px; }
.cat-card__name { font: 560 1.3rem/1.15 var(--f-display); letter-spacing: -.01em; }
.cat-card__meta { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.cat-card__go {
	position: absolute; right: 16px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
	background: var(--cream); color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.cat-card__go .icon { width: 18px; height: 18px; }
@media (hover: hover) {
	.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
	.cat-card:hover .cat-card__img { transform: scale(1.06); }
	.cat-card:hover .cat-card__glyph { transform: rotate(-10deg) scale(1.1); }
	.cat-card:hover .cat-card__go { background: var(--red); color: #fff; transform: rotate(45deg); }
}
.cat-card:focus-visible .cat-card__go { background: var(--red); color: #fff; }

/* ==========================================================================
   Home — favourites (dark, horizontal)
   ========================================================================== */
.faves { overflow: hidden; padding-bottom: clamp(56px, 7vw, 100px); }
.faves__head .h2 { max-width: 16ch; }
.faves__viewport { scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); margin-top: clamp(32px, 4vw, 56px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.faves__viewport::-webkit-scrollbar { display: none; }
.faves__viewport:focus-visible { outline-offset: -4px; }
.faves__track {
	display: flex; gap: 16px; width: max-content;
	padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
}
.fave { width: min(78vw, 360px); flex: none; scroll-snap-align: start; }
@media (min-width: 1024px) { .fave { width: clamp(300px, 25vw, 380px); } }
.fave__link { display: block; color: var(--cream); }
.fave__media { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); }
.fave__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fave__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 10, 8, .55), rgba(14, 10, 8, 0) 45%); }
.fave__num { position: absolute; left: 18px; top: 14px; z-index: 1; font: italic 400 2.2rem/1 var(--f-display); color: rgba(255, 255, 255, .9); }
.fave__body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 4px 0; align-items: baseline; }
.fave__cat { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--crust); }
.fave__name { font: 500 1.45rem/1.15 var(--f-display); color: var(--cream); }
.fave__price { font-weight: 700; color: var(--cream); white-space: nowrap; }
@media (hover: hover) { .fave__link:hover .fave__img { transform: scale(1.06); } }
.fave--end { width: min(60vw, 260px); display: grid; }
.fave__more {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 28px;
	aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); border: 1.5px dashed rgba(246, 239, 228, .3); color: var(--cream);
	font: 500 1.6rem/1.15 var(--f-display); transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.fave__more .icon { width: 32px; height: 32px; transition: transform .4s var(--ease); }
@media (hover: hover) {
	.fave__more:hover { background: var(--red); border-color: var(--red); color: #fff; }
	.fave__more:hover .icon { transform: translateX(6px); }
}
.faves__progress { height: 2px; margin-top: 32px; background: rgba(246, 239, 228, .14); border-radius: 2px; overflow: hidden; }
.faves__progress span { display: block; height: 100%; width: 100%; background: var(--crust); transform: scaleX(0); transform-origin: left; }
/* When GSAP pins the section, the native scroller is replaced by a transform. */
.faves.is-pinned .faves__pin { padding-top: clamp(24px, 6vh, 64px); }
.faves.is-pinned .faves__viewport { overflow: visible; scroll-snap-type: none; }

/* ==========================================================================
   Home — pasta special
   ========================================================================== */
.special { background: var(--paper); }
.special__inner { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 1024px) { .special__inner { grid-template-columns: 1fr 1fr; } .special__media { order: -1; } }
.special__media { position: relative; }
.special__plate { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 560px; margin-inline: auto; box-shadow: var(--shadow-lg); border: 10px solid var(--flour); }
.special__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.special__today { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 10px 16px; border-radius: 999px; background: var(--basil-l); color: var(--basil); font-weight: 700; font-size: var(--fs-sm); }
.special__today[hidden] { display: none; }


/* ==========================================================================
   CTA band (catering)
   ========================================================================== */
.cta-band { background: var(--cream); overflow: hidden; }
.cta-band__inner { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1fr 1.05fr; } }
.cta-band__media { position: relative; }
.cta-band__media > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--ink); }
.ticks .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--basil); color: #fff; stroke-width: 3; margin-top: 1px; }

/* ==========================================================================
   Visit / info cards
   ========================================================================== */
.visit__inner { display: grid; gap: 40px; }
@media (min-width: 1024px) { .visit__inner { grid-template-columns: .8fr 1.6fr; align-items: start; } .visit__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.visit__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .visit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info-card {
	display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
	background: var(--flour); border: 1px solid var(--line); color: var(--body);
}
.info-card__title { display: flex; align-items: center; gap: 10px; font: 700 var(--fs-xs)/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.info-card__title .icon { color: var(--red); }
.info-card__title--plain { letter-spacing: 0; text-transform: none; font: 560 1.35rem/1.2 var(--f-display); }
.info-card__big { font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--f-display); color: var(--ink); margin: 0; }
.info-card__big a { transition: color .2s; }
@media (hover: hover) { .info-card__big a:hover { color: var(--red); } }
.info-card__address { font-size: 1.1rem; color: var(--ink); line-height: 1.5; }
.info-card .link-arrow { margin-top: auto; }
.info-card--review { background: var(--ink); border-color: var(--ink); color: rgba(246, 239, 228, .75); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.info-card--review .info-card__title--plain { color: var(--cream); }
.info-card--review .link-arrow { color: var(--crust); }
@media (hover: hover) { .info-card--review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .info-card--review:hover .link-arrow { color: #fff; } }
.stars { display: flex; gap: 3px; color: var(--crust); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }

.hours-list { display: grid; gap: 0; }
.hours-list__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.hours-list__row:last-child { border-bottom: 0; }
.hours-list dt { color: var(--muted); }
.hours-list dd { font-weight: 700; color: var(--ink); text-align: right; }
.hours-list__row.is-closed dd { color: var(--muted); font-weight: 600; }
.hours-list__row.is-today dt, .hours-list__row.is-today dd { color: var(--red); }
.hours-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   Menu page
   ========================================================================== */
.menu-tools {
	position: sticky; top: var(--header-h); z-index: 30;
	background: rgba(251, 247, 240, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line); transition: top .45s var(--ease);
}
html.header-hidden .menu-tools { top: 0; }
.menu-tools__inner { display: flex; flex-direction: column; gap: 10px; padding-block: 12px; }
@media (min-width: 1024px) { .menu-tools__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.chips-wrap { position: relative; min-width: 0; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 1024px) { .chips-wrap { margin: 0; flex: 1; } }
.chips { overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); scroll-behavior: smooth; overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .chips { padding-inline: 0; } }
/* Scroll affordance: fading edge + arrow that tells phone users there are more categories. */
.chips__nav {
	position: absolute; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 4px; border: 0; padding: 0 12px;
	color: var(--ink); font: 700 .75rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase;
	opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.chips__nav .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--cream); flex: none; }
.chips__nav--next { right: 0; padding-left: 36px; background: linear-gradient(90deg, rgba(251, 247, 240, 0), rgba(251, 247, 240, .96) 38%); }
.chips__nav--prev { left: 0; padding-right: 30px; background: linear-gradient(270deg, rgba(251, 247, 240, 0), rgba(251, 247, 240, .96) 45%); }
.chips-wrap.can-right .chips__nav--next, .chips-wrap.can-left .chips__nav--prev { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.chips__hint { display: none; }
@media (max-width: 1023px) { .chips__hint { display: inline; } }
@media (prefers-reduced-motion: no-preference) {
	.chips-wrap.can-right:not(.was-scrolled) .chips__nav--next .icon { animation: nudge 1.6s var(--ease) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.chips ul { display: flex; gap: 8px; width: max-content; }
.chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
	border: 1.5px solid var(--line); background: var(--flour); color: var(--ink); font-size: var(--fs-sm); font-weight: 650;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
@media (hover: hover) { .chip:hover { border-color: var(--ink); } }
.chip.is-active, .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.menu-search { display: flex; align-items: center; gap: 10px; position: relative; }
html:not(.js) .menu-search { display: none; }
.menu-search__icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.menu-search__input {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px 0 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--flour);
	font-size: 1rem; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
@media (min-width: 1024px) { .menu-search__input { width: 240px; flex: none; } }
.menu-search__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(27, 21, 18, .08); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-sm); font-weight: 650; color: var(--ink); white-space: nowrap; min-height: 44px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .3s var(--ease); }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--basil); }
.toggle input:checked + .toggle__ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__ui { outline: 2.5px solid var(--red); outline-offset: 3px; }

.menu-page__list { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.menu-cat { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px); }
.menu-cat:first-child { border-top: 0; padding-top: 0; }
.menu-cat[hidden] { display: none; }
@media (min-width: 1024px) {
	.menu-cat--media { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
	.menu-cat__aside { position: relative; }
	.menu-cat__figure { position: sticky; top: calc(var(--header-h) + 96px); }
}
.menu-cat__figure { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
@media (min-width: 1024px) { .menu-cat__figure { aspect-ratio: 4 / 4.6; } }
.menu-cat__img { width: 100%; height: 100%; object-fit: cover; }
.menu-cat__head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 20px; }
.menu-cat__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.menu-cat__icon .icon { width: 26px; height: 26px; }
.menu-cat__title { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 3rem); }
.menu-cat__title a { transition: color .2s; }
@media (hover: hover) { .menu-cat__title a:hover { color: var(--red); } }
.menu-cat__tagline { margin: 4px 0 0; font: italic 400 1.05rem/1.3 var(--f-display); color: var(--muted); }
.menu-cat__count { align-self: start; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; white-space: nowrap; }
@media (max-width: 479px) { .menu-cat__count { display: none; } .menu-cat__head { grid-template-columns: auto 1fr; } }

.menu-group + .menu-group { margin-top: 32px; }
.menu-group[hidden] { display: none; }
.menu-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; font: 700 var(--fs-xs)/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.menu-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dish-list { display: grid; }
.dish { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish[hidden] { display: none; }
.dish__thumb { flex: none; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--cream); }
.dish__img { width: 100%; height: 100%; object-fit: cover; }
.dish__body { flex: 1; min-width: 0; }
.dish__head { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font: 560 1.18rem/1.25 var(--f-display); letter-spacing: -.005em; color: var(--ink); }
.dish__leader { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(27, 21, 18, .25); transform: translateY(-4px); }
.dish__price { font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish__desc { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.tag--red { background: #fbe6e3; color: var(--red-d); }
.tag--green { background: var(--basil-l); color: var(--basil); }

/* Compact group (name + price only, e.g. pizza toppings) */
.menu-group--compact .dish-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.menu-group--compact .dish { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--flour); }
.menu-group--compact .dish__name { font: 650 var(--fs-sm)/1.25 var(--f-body); }
.menu-group--compact .dish__leader { display: none; }
.menu-group--compact .dish__head { justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.menu-group--compact .dish__price { font-size: var(--fs-sm); color: var(--red); }
.menu-group--compact .dish { gap: 10px; align-items: center; }
.menu-group--compact .dish__thumb { width: 40px; height: 40px; border-radius: 50%; }
.menu-group--compact .dish__head { flex-direction: column; align-items: flex-start; }

.menu-notes { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream); border-left: 4px solid var(--crust); }
.menu-notes ul { display: grid; gap: 6px; }
.menu-notes li { font-size: var(--fs-sm); color: var(--ink-3); padding-left: 18px; position: relative; }
.menu-notes li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: .7rem; line-height: 2; color: var(--crust-d); }
.menu-empty { padding: 48px 0; text-align: center; font-size: var(--fs-lead); }
.menu-footnote { margin-top: 32px; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.menu-page__all { text-align: center; margin-top: 24px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-intro__inner { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 1024px) { .about-intro__inner { grid-template-columns: 1.1fr .9fr; } }
.about-intro__text h2:first-child { margin-top: 0; }
.about-intro__media { position: relative; padding-bottom: 22%; }
.about-intro__a { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; width: 82%; margin-left: auto; box-shadow: var(--shadow-lg); }
.about-intro__b { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.cover { width: 100%; height: 100%; object-fit: cover; }

.values__grid { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 768px) { .values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(246, 239, 228, .03); overflow: hidden; }
.value__num { position: absolute; right: 20px; top: 12px; font: italic 300 4rem/1 var(--f-display); color: rgba(246, 239, 228, .08); }
.value__icon { width: 40px; height: 40px; color: var(--crust); margin-bottom: 24px; }
.value__title { font-size: 1.5rem; margin-bottom: 10px; }
.value p { font-size: var(--fs-sm); }

.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mosaic__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
@media (min-width: 768px) {
	.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
	.mosaic__item:nth-child(4) { grid-column: span 2; aspect-ratio: auto; }
}
.mosaic__item img { transition: transform 1s var(--ease); }
@media (hover: hover) { .mosaic__item:hover img { transform: scale(1.05); } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__inner { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact__inner { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 48px; } }
.contact__cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card--primary { grid-column: 1 / -1; } }
.contact-card {
	position: relative; display: grid; gap: 6px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
	background: var(--flour); border: 1px solid var(--line); color: var(--ink); overflow: hidden; isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--red); margin-bottom: 14px; transition: background-color .4s var(--ease), color .4s var(--ease); }
.contact-card__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.contact-card__value { font: 500 clamp(1.7rem, 1.3rem + 1.8vw, 2.8rem)/1.08 var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-card__value--sm { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
.contact-card__hint { font-size: var(--fs-sm); color: var(--muted); transition: color .4s; }
.contact-card--primary { background: var(--red); border-color: var(--red); color: #fff; }
.contact-card--primary .contact-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.contact-card--primary .contact-card__label, .contact-card--primary .contact-card__hint { color: rgba(255, 255, 255, .8); }
@media (hover: hover) {
	.contact-card:hover { color: var(--cream); border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
	.contact-card:hover::before { transform: none; }
	.contact-card:hover .contact-card__icon { background: var(--red); color: #fff; }
	.contact-card:hover .contact-card__label, .contact-card:hover .contact-card__hint { color: rgba(246, 239, 228, .7); }
}
.contact__side { display: grid; gap: 24px; }
.contact__side .open-status { align-self: flex-start; }

.map__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
@media (max-width: 639px) { .map__frame { aspect-ratio: 4 / 5; } }
.map__poster { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.4); }
.map__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; }
.map__addr { display: flex; gap: 10px; align-items: center; font: 500 clamp(1.3rem, 1rem + 1.2vw, 2rem)/1.2 var(--f-display); margin: 0 0 8px; }
.map__addr .icon { color: var(--crust); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Social links + floating dock
   ========================================================================== */
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; height: 44px; border-radius: 999px;
	border: 1.5px solid currentColor; border-color: rgba(246, 239, 228, .25); color: inherit;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social-links__link .icon { width: 19px; height: 19px; }
@media (hover: hover) {
	.social-links__link:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-2px); }
}
.social-links__link:focus-visible { background: var(--cream); color: var(--ink); }
.social-links--labelled .social-links__link { padding: 0 18px; border-color: var(--line); color: var(--ink); font-weight: 650; font-size: var(--fs-sm); }
@media (hover: hover) { .social-links--labelled .social-links__link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); } }

.social-dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.social-dock__toggle {
	position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream);
	display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.social-dock__toggle .icon { grid-area: 1 / 1; width: 22px; height: 22px; transition: transform .45s var(--ease), opacity .3s; }
.social-dock__icon-close { opacity: 0; transform: rotate(-90deg); }
.social-dock.is-open .social-dock__toggle { background: var(--red); }
.social-dock.is-open .social-dock__icon-open { opacity: 0; transform: rotate(90deg); }
.social-dock.is-open .social-dock__icon-close { opacity: 1; transform: none; }
@media (hover: hover) { .social-dock__toggle:hover { transform: scale(1.06); } }
.social-dock__list { visibility: hidden; }
.social-links--dock { flex-direction: column; gap: 10px; }
.social-links--dock .social-links__link {
	width: 46px; height: 46px; background: var(--flour); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
	opacity: 0; transform: translateY(14px) scale(.8);
	transition: opacity .3s var(--ease), transform .45s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social-dock.is-open .social-dock__list { visibility: visible; }
.social-dock.is-open .social-links--dock .social-links__link { opacity: 1; transform: none; }
.social-dock.is-open .social-links--dock li:nth-last-child(2) .social-links__link { transition-delay: .05s; }
.social-dock.is-open .social-links--dock li:nth-last-child(3) .social-links__link { transition-delay: .1s; }
@media (hover: hover) {
	.social-links--dock .social-links__link:hover { background: var(--red); color: #fff; border-color: var(--red); transform: none; }
}
.social-links--dock .social-links__link:focus-visible { background: var(--red); color: #fff; }
.nav-open .social-dock { opacity: 0; pointer-events: none; }
/* Wide screens: permanent vertical rail, no toggle. */
@media (min-width: 1400px) {
	.social-dock { top: 50%; bottom: auto; right: 20px; transform: translateY(-50%); }
	.social-dock__toggle { display: none; }
	.social-dock__list { visibility: visible; }
	.social-links--dock .social-links__link { opacity: 1; transform: none; width: 44px; height: 44px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink) var(--grain); color: rgba(246, 239, 228, .7); padding-top: clamp(64px, 8vw, 112px); }
.site-footer__flag { position: absolute; inset: 0 0 auto; display: flex; height: 6px; }
.site-footer__flag span { flex: 1; }
.site-footer__flag span:nth-child(1) { background: #1f8a4c; }
.site-footer__flag span:nth-child(2) { background: var(--cream); }
.site-footer__flag span:nth-child(3) { background: var(--red); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__logo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 20px; }
.site-footer__title { color: var(--cream); font-size: 1.8rem; margin-bottom: 6px; }
.site-footer__tag { font: italic 400 1.1rem/1.4 var(--f-display); color: var(--crust); margin-bottom: 24px; }
.site-footer__h { font: 700 var(--fs-xs)/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-contact a { display: inline-flex; min-height: 36px; align-items: center; transition: color .25s; }
@media (hover: hover) { .footer-links a:hover, .footer-contact a:hover { color: var(--cream); } }
.footer-contact { display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--crust); margin-top: 8px; width: 18px; height: 18px; }
.site-footer .hours-list__row { border-color: var(--line-dark); }
.site-footer .hours-list dt { color: rgba(246, 239, 228, .6); }
.site-footer .hours-list dd { color: var(--cream); }
.site-footer .hours-list__row.is-today dt, .site-footer .hours-list__row.is-today dd { color: var(--crust); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { color: var(--cream); text-decoration: underline; text-underline-offset: .2em; transition: color .2s; }
@media (hover: hover) { .site-footer__credit a:hover { color: var(--crust); } }
@media (max-width: 1399px) { .site-footer__bottom { padding-right: 76px; } } /* clear the dock button */

/* ---------- Misc / WP core ---------- */
.post-list { display: grid; gap: 32px; }
.post-list__item h2 a { transition: color .2s; }
@media (hover: hover) { .post-list__item h2 a:hover { color: var(--red); } }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); }
.page-numbers.current { background: var(--ink); color: var(--cream); }

/* ==========================================================================
   Motion
   `html.anim` is set in <head> only when motion is allowed; GSAP then reveals.
   Without JS, or with reduced motion, nothing is ever hidden.
   ========================================================================== */
html.anim [data-reveal],
html.anim [data-reveal-stagger] > *,
html.anim [data-split] { opacity: 0; }
html.anim [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }

/*
 * Hero entrance is pure CSS so it starts on first paint instead of waiting for
 * JS — the hero text is usually the LCP element, and hiding it until GSAP
 * loaded cost seconds of LCP on throttled mobile.
 */
@media (prefers-reduced-motion: no-preference) {
	.hero__media { animation: heroZoom 2.4s cubic-bezier(.2, .7, .2, 1) both; }
	.hero__title, .hero [data-hero-item] { animation: heroIn 1.1s var(--ease) both; }
	.hero .crumbs { animation: heroIn .9s var(--ease) both; }
	.hero .eyebrow { animation-delay: .05s; }
	.hero__title { animation-delay: .12s; }
	.hero__lead { animation-delay: .24s; }
	.hero__actions { animation-delay: .34s; }
	.hero__aside { animation-delay: .5s; }
}
@keyframes heroZoom { from { transform: scale(1.14); } }
@keyframes heroIn { from { opacity: .01; transform: translateY(28px); } }

/* Smooth cross-page fade in supporting browsers (zero JS). */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
	::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
}
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important; animation-iteration-count: 1 !important;
		transition-duration: .001ms !important; scroll-behavior: auto !important;
	}
	.nav-panel { clip-path: none; opacity: 0; }
	.nav-open .nav-panel { opacity: 1; }
}

@media print {
	.site-header, .social-dock, .marquee, .menu-tools, .hero__media, .hero__shade, .site-footer__flag { display: none !important; }
	.hero { min-height: 0; padding: 24px 0; color: #000; background: none; }
	.hero__title { color: #000; }
	body { background: #fff; }
}

/* Mobile rail: let the list run edge-to-edge with gutter padding on both ends. */
@media (max-width: 1023px) {
	.cats__list.wrap { width: max-content; margin: 0; padding-inline: var(--gutter); }
}

/* Google's G is multicolour — keep its button light on hover so the logo stays legible. */
@media (hover: hover) {
	.social-links--dock .social-links__link--review:hover { background: #fff; border-color: var(--ink); transform: none; }
}
.social-links--dock .social-links__link--review:focus-visible { background: #fff; }
