/* La Casa Nostra
   1 alapok  2 gombok, apró elemek  3 fejléc  4 nyitó rész (a tálca)  5 heti menü
   6 kezdőlapi szakaszok  7 űrlap  8 lábléc  9 aloldalak  10 mozgás  11 nyomtatás

   Világ: erdőzöld színpad, zománcfehér olvasófelületek, tojássárga az egyetlen kiemelő szín.
   A sárga mindig ugyanazt jelenti: "ide nézzen" (teendő, mai nap, kijelölt allergén). */

/* ---------- 1. Alapok ---------- */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--forest: #1d3b2b;
	--forest-deep: #12291d;
	--forest-soft: #2a4d3a;
	--enamel: #f7f5ec;
	--enamel-2: #edeadb;
	--sheet: #fffefa;
	--yolk: #f5c43c;
	--yolk-deep: #e0aa14;
	--yolk-wash: #fbeebf;
	--ink: #13241a;
	--muted: #4f5e52;
	--bone: #f4f1e3;
	--bone-muted: #b5c4b1;
	--line: #dbd8c8;
	--line-strong: #85836f;
	--line-dark: rgba(244, 241, 227, 0.22);
	--error: #a3341c;
	--error-wash: #f8e5de;

	--display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 78rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(4.5rem, 10vw, 8.5rem);
	--radius: 4px;
	--header: 4.5rem;
	--ease: cubic-bezier(0.23, 1, 0.32, 1);
	--lift: 0 30px 60px -30px rgba(6, 18, 11, 0.55);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header) + 1rem);
	background: var(--forest-deep);
}

body {
	margin: 0;
	background: var(--enamel);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	caret-color: var(--forest);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Egyetlen, álló szemcseréteg az egész oldal fölött: a zöld színpad és a fehér lapok egy térben vannak. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	opacity: 0.35;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .14 0 0 0 0 .1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--yolk); color: var(--ink); }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--yolk); }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(46rem + 2 * var(--gutter)); }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--yolk);
	color: var(--ink);
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 700;
}
.skip:focus { top: 1rem; }

.section { padding-block: var(--section); }
.on-dark { background: var(--forest); color: var(--bone); }

.section__title {
	max-width: 14em;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	color: var(--forest);
	text-wrap: balance;
}
.on-dark .section__title { color: var(--bone); }
.section__lead {
	margin-top: 1.25rem;
	max-width: 54ch;
	font-size: 1.1875rem;
	line-height: 1.55;
	color: var(--muted);
	text-wrap: pretty;
}
.on-dark .section__lead { color: var(--bone-muted); }

.prose > * + * { margin-top: 1em; }
.prose p { max-width: 58ch; text-wrap: pretty; }

.icon { flex: none; width: 1.25em; height: 1.25em; }

/* A filctoll: sárga kiemelés a szöveg mögött, mint amikor valaki a kinyomtatott étlapon húz át egy sort. */
.hl {
	padding: 0 0.22em;
	margin: 0 -0.22em;
	border-radius: 0.5em 0.18em 0.55em 0.22em / 0.32em 0.5em 0.3em 0.5em;
	background-image: linear-gradient(var(--yolk), var(--yolk));
	background-repeat: no-repeat;
	background-position: 0 62%;
	background-size: 0% 74%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size 420ms var(--ease);
}
.is-flagged > .dish__name > .hl { background-size: 100% 74%; }

/* ---------- 2. Gombok, apró elemek ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3.1rem;
	padding: 0.7rem 1.45rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--yolk); color: var(--ink); }
.btn--primary:hover { background: var(--yolk-deep); }
.btn--dark { background: var(--forest); color: var(--bone); }
.btn--dark:hover { background: var(--forest-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--forest); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest); color: var(--bone); }
.on-dark .btn--ghost { border-color: rgba(244, 241, 227, 0.5); color: var(--bone); }
.on-dark .btn--ghost:hover { border-color: var(--bone); background: var(--bone); color: var(--forest-deep); }
.btn--quiet { min-height: 2.75rem; padding-inline: 0.9rem; border-color: var(--line-strong); background: transparent; color: var(--forest); font-size: 0.95rem; }
.btn--quiet:hover { border-color: var(--forest); background: var(--enamel); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--forest);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
	text-decoration-color: var(--yolk-deep);
	transition: text-decoration-color 160ms var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.on-dark .link { color: var(--bone); text-decoration-color: var(--yolk); }
.link .icon, .slip__link .icon, .btn .icon { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
	.link:hover .icon, .slip__link:hover .icon, .btn:hover .icon { transform: translateX(3px); }
}

.tag {
	display: inline-block;
	padding: 0.05rem 0.5rem;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: transparent;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.5;
	white-space: nowrap;
	transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.tag--btn {
	padding: 0.35rem 0.8rem;
	border-color: var(--line-strong);
	background: var(--sheet);
	color: var(--ink);
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background-color 140ms var(--ease), border-color 140ms var(--ease), transform 120ms var(--ease);
}
.tag--btn:hover { border-color: var(--forest); background: var(--enamel); }
.tag--btn:active { transform: scale(0.97); }
.tag--btn[aria-pressed="true"] { background: var(--yolk); border-color: var(--ink); color: var(--ink); font-weight: 700; }
.tag--absent { border-style: dashed; color: var(--muted); }
@media (pointer: coarse) { .tag--btn { min-height: 2.75rem; padding-inline: 1rem; } }

.notice {
	margin-top: 1.4rem;
	padding: 0.85rem 1.1rem;
	border-radius: var(--radius);
	background: var(--yolk-wash);
	color: var(--ink);
	font-weight: 600;
	max-width: 60ch;
}

/* ---------- 3. Fejléc ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--forest);
	color: var(--bone);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-dark); }
.site-header :focus-visible { outline-color: var(--yolk); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header); }

.brand { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; line-height: 1.05; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.015em; color: var(--bone); white-space: nowrap; }
.brand__tag { margin-top: 0.2rem; font-size: 0.8125rem; color: var(--bone-muted); white-space: nowrap; }
.brand__logo { width: auto; max-height: 2.75rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a { position: relative; display: block; padding: 0.5rem 0; font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.15rem;
	height: 3px;
	border-radius: 2px;
	background: var(--yolk);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 240ms var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current]::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__call { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--bone); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav__call .icon { color: var(--yolk); }
.nav__call:hover span { text-decoration: underline; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.site-header__menu, .nav-toggle { display: none; }

@media (max-width: 66rem) {
	:root { --header: 4rem; }
	.site-header__in { gap: 0.6rem; }
	.brand__name { font-size: 1.3rem; }
	.brand__tag { display: none; }

	.site-header__menu {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0 0.95rem;
		border-radius: var(--radius);
		background: var(--yolk);
		color: var(--ink);
		font-weight: 700;
		font-size: 0.95rem;
		text-decoration: none;
		white-space: nowrap;
	}
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
		min-height: 2.75rem;
		padding: 0 0.8rem;
		border: 1.5px solid rgba(244, 241, 227, 0.45);
		border-radius: var(--radius);
		background: transparent;
		color: var(--bone);
		font-weight: 700;
		font-size: 0.95rem;
		cursor: pointer;
	}
	.nav-toggle__bars { position: relative; width: 1.1rem; height: 2px; background: currentColor; transition: background-color 160ms var(--ease); }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--bone); transition: transform 200ms var(--ease); }
	.nav-toggle__bars::before { transform: translateY(-6px); }
	.nav-toggle__bars::after { transform: translateY(6px); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

	.nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - var(--header));
		max-height: calc(100dvh - var(--header));
		overflow-y: auto;
		padding: 0.5rem var(--gutter) 1.75rem;
		background: var(--forest);
		border-bottom: 1px solid var(--line-dark);
		box-shadow: 0 30px 50px -30px rgba(6, 18, 11, 0.8);
	}
	.js .nav { display: none; }
	.js .nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
	.nav__list a::after { display: none; }
	.nav__call { margin-top: 1.4rem; font-size: 1.2rem; }
}

/* ---------- 4. Nyitó rész: a tálca ----------
   Alaphelyzet (szkript nélkül, csökkentett mozgásnál, fektetett telefonon): az összeállt ebéd, rögzítés nélkül.
   Szkripttel a rész magasabb, a színpad a képernyőhöz tapad, és a --t értékek görgetésre futnak 0-ról 1-re. */

.hero { position: relative; background: var(--forest); color: var(--bone); }
.hero :focus-visible { outline-color: var(--yolk); }
.hero__stage {
	--tray-w: 132vw;
	--tray-x: 60%;
	--tray-y: 77%;
	--tray-r: -5deg;
	--tp: 1;
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: calc(100vh - var(--header));
	min-height: calc(100svh - var(--header));
	padding-bottom: 70vw;
	overflow: hidden;
}
/* Halvány fényfolt a tálca körül: ettől tér a zöld, nem színes háttér. */
.hero__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(62% 58% at var(--tray-x) var(--tray-y), rgba(150, 190, 140, 0.22), transparent 70%);
	pointer-events: none;
}

.hero__scene { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tray {
	position: absolute;
	left: var(--tray-x);
	top: var(--tray-y);
	width: var(--tray-w);
	aspect-ratio: 1680 / 1111;
	--u: calc(var(--tray-w) / 100);
	transform: translate(-50%, -50%) rotate(calc(var(--tray-r) * (0.4 + 0.6 * var(--tp)))) scale(calc(0.94 + 0.06 * var(--tp)));
	will-change: transform;
}
.tray__in { position: absolute; inset: 0; }
.tray__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.tray__shadow { position: absolute; inset: -25%; width: 150%; height: 150%; max-width: none; opacity: 0.8; transform: translate3d(calc(var(--u) * 2.2), calc(var(--u) * 3), 0); }

.item {
	position: absolute;
	left: calc(var(--cx) * 1%);
	top: calc(var(--cy) * 1%);
	width: calc(var(--w) * 1%);
	aspect-ratio: 1 / var(--ar);
	margin: calc(var(--w) * var(--ar) * var(--u) / -2) 0 0 calc(var(--w) * var(--u) / -2);
	--t: 1;
	--k: 1;
	--o: 1;
	--fx: 0;
	--fy: 0;
	--fs: 0;
	--fr: 0;
}
.item img { position: absolute; max-width: none; }
.item__fly {
	position: absolute;
	inset: 0;
	opacity: var(--o);
	transform:
		translate3d(calc((1 - var(--t)) * var(--fx) * var(--u)), calc((1 - var(--t)) * var(--fy) * var(--u)), 0)
		rotate(calc((1 - var(--t)) * var(--fr) * 1deg))
		scale(calc(1 + (1 - var(--t)) * var(--fs)));
	will-change: transform, opacity;
}
.item__img { inset: 0; width: 100%; height: 100%; }
.item__img--sharp { opacity: var(--k); }
.item__img--soft { opacity: calc(1 - var(--k)); }
/* Az árnyék a tálcán marad: amíg a tárgy magasan van, messzebb esik és elmosódik, leérkezéskor összehúzódik. */
.item__shadow { inset: -25%; width: 150%; height: 150%; }
.item__shadow--near { opacity: calc(var(--t) * var(--t) * 0.8); transform: translate3d(calc(var(--u) * 0.7), calc(var(--u) * 0.9), 0); }
.item__shadow--far {
	opacity: calc(var(--o) * (1 - var(--t) * var(--t)) * 0.55);
	transform:
		translate3d(calc((0.7 + (1 - var(--t)) * (var(--fx) * 0.35 + 9)) * var(--u)), calc((0.9 + (1 - var(--t)) * (var(--fy) * 0.35 + 12)) * var(--u)), 0)
		scale(calc(1 + (1 - var(--t)) * 0.45));
}

.steam { position: absolute; left: 12%; top: -52%; width: 76%; height: 100%; color: var(--bone); opacity: calc(var(--steam, 1) * 0.5); stroke-width: 2.4; filter: blur(calc(var(--u) * 0.35)); overflow: visible; }
.steam path { stroke-dasharray: 26 70; stroke-dashoffset: 96; }

.hero__copy { position: relative; padding-top: clamp(1.75rem, 5vh, 3.5rem); padding-bottom: 2rem; }
.hero__title {
	max-width: 8.6em;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(3rem, 1.1rem + 9.2vw, 6.6rem);
	line-height: 0.88;
	letter-spacing: -0.045em;
	color: var(--bone);
	text-wrap: balance;
}
/* Szkript nélkül a bevezető és a cédula egymás alatt áll; görgetett változatban ugyanazon a helyen váltják egymást. */
.hero__swap { display: grid; gap: 1.5rem; margin-top: clamp(1.25rem, 3vh, 2rem); }
.hero__lead { max-width: 40ch; font-size: clamp(1.0625rem, 0.95rem + 0.55vw, 1.3rem); line-height: 1.5; color: var(--bone); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.slip {
	position: relative;
	z-index: 4;
	align-self: start;
	justify-self: start;
	width: min(22rem, 100%);
	padding: 1.1rem 1.35rem 0.7rem;
	background: var(--sheet);
	color: var(--ink);
	border-top: 5px solid var(--yolk);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--lift);
}
.hero .slip :focus-visible { outline-color: var(--forest); }
.slip__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; }
.slip__when strong { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.015em; line-height: 1.1; color: var(--forest); }
.slip__when span { font-size: 0.875rem; color: var(--muted); }
.slip__dishes { margin-top: 0.55rem; }
.slip__dishes li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.slip__flag { display: inline-block; margin-left: 0.5rem; padding: 0 0.4rem; border-radius: 3px; background: var(--yolk); color: var(--ink); font-size: 0.75rem; font-weight: 700; line-height: 1.6; vertical-align: 0.1em; white-space: nowrap; }
.slip__text { margin-top: 0.4rem; color: var(--muted); }
.slip__link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--forest); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.slip__link:hover { text-decoration: underline; text-decoration-color: var(--yolk-deep); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

@media (min-width: 62rem) {
	.hero__stage {
		/* A tálca bal széle a szöveghasáb vége után kezdődik (bal margó + a címsor szélessége + köz),
		   így bármilyen széles ablakban tiszta marad a címsor. 0.536: az elforgatott tálca bal sarkának távolsága a közepétől. */
		--hero-fs: clamp(3.4rem, 0.4rem + 6.2vw, 6.25rem);
		--copy-left: calc(max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2) + var(--gutter));
		--tray-w: min(58vw, 122vh, 68rem);
		--tray-x: calc(var(--copy-left) + var(--hero-fs) * 5.25 + 2rem + var(--tray-w) * 0.536);
		--tray-y: 52%;
		--tray-r: -7deg;
		align-items: center;
		padding-bottom: 0;
	}
	.hero__copy { padding-block: 2rem 4rem; }
	.hero__title { max-width: 5.7em; font-size: var(--hero-fs); }
	.hero__swap { max-width: 27rem; }
}

/* Görgetéshez kötött változat. A hero-live osztályt a <head> elején futó rövid szkript teszi a <html> elemre,
   ha a mozgás engedélyezett (lásd inc/setup.php), így az első kirajzolás már az üres tálcát mutatja. */
.hero-live .hero { height: 230vh; height: 230svh; }
.hero-live .hero__stage { position: sticky; top: var(--header); height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); min-height: 0; padding-bottom: 0; --tp: 0; }
.hero-live .item[data-a] { --t: 0; --k: 0; --o: 0; }
.hero-live .steam { --steam: 0; }
.hero-live .hero__swap { gap: 0; }
.hero-live .hero__swap > * { grid-area: 1 / 1; }
.hero-live .hero__aux { opacity: var(--aux, 1); transform: translate3d(0, calc((1 - var(--aux, 1)) * -14px), 0); }
.hero-live .hero .slip { opacity: var(--slip, 0); transform: translate3d(0, calc((1 - var(--slip, 0)) * 22px), 0) rotate(calc((1 - var(--slip, 0)) * 2deg)); transform-origin: 0 0; }
.hero-live .hero .slip:not(.is-on), .hero-live .hero__aux.is-off { visibility: hidden; pointer-events: none; }
@media (min-width: 62rem) { .hero-live .hero { height: 260vh; } }

/* ---------- 5. Heti menü: fehér lap a zöld színpadon ---------- */

.menuband { background: var(--forest); padding-top: clamp(1rem, 3vw, 2.5rem); }

.week {
	--pad: clamp(1.25rem, 3.4vw, 3rem);
	background: var(--sheet);
	color: var(--ink);
	border-radius: 6px;
	padding: var(--pad);
	box-shadow: var(--lift);
}
.week :focus-visible { outline-color: var(--forest); }
.week__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.week__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	color: var(--forest);
}
.week__range { margin-top: 0.6rem; font-size: 1.125rem; font-weight: 600; font-variant-numeric: lining-nums; }
.week__no { margin-left: 0.6rem; padding-left: 0.7rem; border-left: 1px solid var(--line-strong); color: var(--muted); font-weight: 400; }
.week__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.week__stale { margin-top: 1.1rem; padding: 0.7rem 1rem; border-radius: var(--radius); background: var(--yolk-wash); font-weight: 600; }
.week__nomenu { margin-top: 1rem; max-width: 60ch; }
.week__printbrand { display: none; }

.viewswitch { display: none; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.viewswitch__btn { min-height: 2.75rem; padding: 0 1rem; border: 0; background: transparent; font-weight: 700; font-size: 0.95rem; color: var(--muted); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.viewswitch__btn + .viewswitch__btn { border-left: 1px solid var(--line-strong); }
.viewswitch__btn[aria-pressed="true"] { background: var(--forest); color: var(--bone); }
.viewswitch__btn:focus-visible { outline-offset: -3px; }

.week__body { margin-top: clamp(1.25rem, 3vw, 2.5rem); }

/* Napfülek: telefonon öt egyforma gomb a képernyő tetejéhez tapadva, asztali nézetben oldalsó lista az ebéd előnézetével. */
.week__tabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.35rem;
	position: sticky;
	top: var(--header);
	z-index: 5;
	margin-inline: calc(-1 * var(--pad));
	padding: 0.7rem var(--pad) 0.6rem;
	background: var(--sheet);
	border-block: 1px solid var(--line);
}
.daytab {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 3.7rem;
	padding: 0.35rem 0.2rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--ink);
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.daytab__short { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.daytab__name, .daytab__teaser { display: none; }
.daytab__date { margin-top: 0.05rem; font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.daytab__today, .daytab__flag { position: absolute; top: -0.55rem; padding: 0 0.35rem; border-radius: 3px; font-size: 0.6875rem; font-weight: 700; line-height: 1.55; }
.daytab__today { display: none; right: -0.15rem; background: var(--yolk); color: var(--ink); }
.daytab.is-today .daytab__today { display: block; }
.daytab__flag { left: -0.15rem; min-width: 1.2rem; border: 1px solid var(--ink); background: var(--yolk); color: var(--ink); font-variant-numeric: tabular-nums; }
.daytab:hover { border-color: var(--forest); background: var(--enamel); }
.daytab.is-active { background: var(--forest); border-color: var(--forest); color: var(--bone); }
.daytab.is-active .daytab__date { color: var(--bone-muted); }
.daytab:focus-visible { outline-offset: 2px; }

.week__panels { padding-top: 1.5rem; }
.js .week[data-view="day"] .day:not(.is-active) { display: none; }
.day + .day { margin-top: 2.5rem; }
.js .week[data-view="day"] .day + .day { margin-top: 0; }

.day__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.75rem;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--forest);
}
.day__date { font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; letter-spacing: 0; color: var(--muted); }
.day__today { display: none; align-self: center; padding: 0.05rem 0.5rem; border-radius: 3px; background: var(--yolk); color: var(--ink); font-family: var(--sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; }
.day.is-today .day__today { display: inline-block; }
.day__closed { margin-top: 1rem; padding: 1.1rem 1.25rem; background: var(--enamel); border-radius: var(--radius); color: var(--muted); }
.day__closed span { display: block; color: var(--ink); font-weight: 700; }
.day__note { margin-top: 0.6rem; color: var(--muted); }

.meals { margin-top: 1rem; }
.meal { padding: 1rem 0; border-top: 1px solid var(--line); }
.meal__label { font-size: 0.9375rem; font-weight: 700; color: var(--forest); line-height: 1.3; }
.meal__who { display: inline-block; margin-left: 0.4rem; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.dishes { margin-top: 0.4rem; }
.dish { padding: 0.35rem 0; }
.dish__name { display: block; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.dish__allergens { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.tag.is-flagged { background: var(--yolk); border-color: var(--ink); color: var(--ink); font-weight: 700; }

.week__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.week__notes { max-width: 60ch; font-size: 0.9375rem; color: var(--muted); }
.week__notes p + p { margin-top: 0.3rem; }

/* Allergénfigyelő: a honlap saját eszköze. A kiválasztott allergének minden napon filctollal húzzák ki az érintett ételeket. */
.watch { flex-basis: 100%; display: grid; gap: 0.9rem 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.watch__title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.1; color: var(--forest); }
.watch__help { margin-top: 0.3rem; max-width: 52ch; font-size: 0.9375rem; color: var(--muted); }
.watch__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; align-content: start; }
.watch__rest { display: contents; }
.watch__more, .watch__clear { min-height: 2.25rem; margin-left: 0.35rem; padding: 0; border: 0; background: none; color: var(--forest); font-weight: 700; font-size: 0.9375rem; text-decoration: underline; text-decoration-color: var(--yolk-deep); text-decoration-thickness: 2px; text-underline-offset: 0.3em; cursor: pointer; }
.watch__status { grid-column: 1 / -1; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.watch__status:empty { display: none; }

@media (min-width: 56rem) {
	.week__body { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
	.week__tabs { position: static; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); background: none; }
	.daytab {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: baseline;
		justify-content: stretch;
		gap: 0.1rem 0.75rem;
		min-height: 0;
		padding: 0.9rem 1rem;
		border: 0;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
		text-align: left;
	}
	.daytab__short { display: none; }
	.daytab__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.15; }
	.daytab__date { grid-column: 2; grid-row: 1; margin: 0; font-size: 0.875rem; }
	.daytab__teaser { display: block; grid-column: 1 / -1; font-size: 0.9375rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.daytab__today { position: static; grid-column: 2; grid-row: 1; justify-self: end; font-size: 0.75rem; }
	.daytab.is-today .daytab__date { display: none; }
	.daytab__flag { position: static; grid-column: 2; grid-row: 2; justify-self: end; align-self: center; font-size: 0.75rem; text-align: center; }
	.daytab:has(.daytab__flag:not([hidden])) .daytab__teaser { grid-column: 1; }
	.daytab:hover { background: var(--enamel); }
	.daytab.is-active, .daytab.is-active:hover { background: var(--forest); color: var(--bone); border-color: var(--forest); }
	.daytab.is-active .daytab__teaser { color: var(--bone-muted); }
	.daytab:focus-visible { outline-offset: -3px; }

	.week__panels { padding-top: 0; }
	.meal { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.25rem 2rem; padding: 1.15rem 0; }
	.meal__who { display: block; margin: 0.15rem 0 0; }
	.dishes { margin-top: 0; }
	.dish:first-child { padding-top: 0; }
	.week--page .viewswitch { display: inline-flex; }
	.watch { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

	/* Heti nézet: az öt nap egymás mellett. */
	.week[data-view="week"] .week__body { display: block; }
	.week[data-view="week"] .week__tabs { display: none; }
	.week[data-view="week"] .week__panels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
	.week[data-view="week"] .day { margin: 0; padding: 1.25rem 1rem 0.5rem; border-left: 1px solid var(--line); }
	.week[data-view="week"] .day:first-child { border-left: 0; }
	.week[data-view="week"] .day.is-today { background: var(--yolk-wash); }
	.week[data-view="week"] .day__title { font-size: 1.6rem; letter-spacing: -0.015em; }
	.week[data-view="week"] .day__date { flex-basis: 100%; font-size: 0.9375rem; }
	.week[data-view="week"] .day__today { order: -1; }
	.week[data-view="week"] .day.is-today .meal { border-top-color: var(--line-strong); }
	.week[data-view="week"] .meal { display: block; padding: 0.9rem 0; }
	.week[data-view="week"] .meal__who { display: inline-block; margin: 0 0 0 0.4rem; font-size: 0.8125rem; }
	.week[data-view="week"] .dishes { margin-top: 0.4rem; }
	.week[data-view="week"] .dish:first-child { padding-top: 0.35rem; }
	.week[data-view="week"] .dish__name { font-size: 1rem; }
}

/* ---------- 6. Kezdőlapi szakaszok ---------- */

/* Rólunk: szöveg és a jobb szélig kifutó fotó, alatta az idővonal, amelynek vonala görgetésre húzódik ki. */
.about { overflow-x: clip; }
.about__grid { display: grid; gap: 2.25rem; }
.about__photo, .events__photo { overflow: hidden; border-radius: var(--radius); background: var(--enamel-2); }
.about__photo picture, .events__photo picture { display: block; width: 100%; height: 100%; }
.about__photo img, .events__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo { aspect-ratio: 3 / 2; }
.about__copy .prose { margin-top: 1.5rem; font-size: 1.1875rem; line-height: 1.55; }

.timeline { position: relative; --p: 1; margin-top: clamp(3rem, 6vw, 5rem); padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0.4rem; bottom: 0.4rem; width: 3px; border-radius: 2px; background: var(--forest); transform-origin: top; transform: scaleY(var(--p)); }
.timeline__item { position: relative; padding-bottom: 2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: calc(-1.75rem - 5.5px); top: 1rem; width: 14px; height: 14px; border: 3px solid var(--forest); border-radius: 50%; background: var(--yolk); }
.timeline__year { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2rem + 5vw, 5.5rem); letter-spacing: -0.05em; line-height: 0.9; color: var(--forest); font-variant-numeric: lining-nums; }
.timeline__item p { margin-top: 0.7rem; max-width: 32ch; }

/* Közétkeztetés: jegyzék a zöld sávon. Kinek, mit, hogyan. */
.ledger { margin-top: clamp(2.25rem, 5vw, 4rem); border-bottom: 1px solid var(--line-dark); }
.ledger__row { position: relative; display: grid; gap: 0.35rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.ledger__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem); letter-spacing: -0.035em; line-height: 1; transition: transform 260ms var(--ease), color 200ms var(--ease); }
.ledger__meals { font-weight: 700; color: var(--yolk); }
.ledger__meals:empty { display: none; }
.ledger__text { color: var(--bone-muted); }
.services__cta { margin-top: 2.5rem; }
@media (hover: hover) and (pointer: fine) {
	.ledger__row:hover .ledger__title { transform: translate3d(0.75rem, 0, 0); color: var(--yolk); }
}

/* Rendezvények: nagy teremfotó, rajta átfedésben a szöveges lap. */
.events { overflow-x: clip; }
.events__stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; --p: 0.5; }
.events__photo--a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.events__side { display: contents; }
.events__photo--b, .events__photo--c { aspect-ratio: 1 / 1; }
.events__panel { grid-column: 1 / -1; margin-top: 1.75rem; }
.events__panel .prose { margin-top: 1.25rem; font-size: 1.125rem; }
.facts { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.facts .icon { margin-top: 0.15em; color: var(--forest); }
.events__panel .btn { margin-top: 1.9rem; }

/* Konyhánk: teljes szélességű fotósáv, alatta cím és négy pont. */
.quality { background: var(--enamel-2); }
.quality__strip { position: relative; height: clamp(13rem, 38vw, 30rem); overflow: hidden; --p: 0.5; }
.quality__strip picture, .quality__strip img { width: 100%; height: 100%; }
.quality__strip img { object-fit: cover; object-position: 50% 55%; transform: translate3d(0, calc((var(--p) - 0.5) * -16%), 0) scale(1.2); will-change: transform; }
.quality__grid { display: grid; gap: 2.25rem; padding-block: clamp(3rem, 7vw, 6rem) var(--section); }
.quality__head .link { margin-top: 1.75rem; }
.points { display: grid; border-bottom: 1px solid var(--line-strong); }
.point { padding: 1.3rem 0 1.4rem; border-top: 1px solid var(--line-strong); }
.point dt { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.015em; line-height: 1.1; color: var(--forest); }
.point dd { margin-top: 0.5rem; max-width: 42ch; color: var(--muted); }

/* Kapcsolat: vissza a zöld színpadra. Nagy telefonszámok, mellettük az űrlap fehér lapon: az oldal egy beviteli mezőnél ér véget. */
.contact__grid { display: grid; gap: 2.75rem; }
.reach { margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.reach__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.reach dt { font-size: 0.9375rem; color: var(--bone-muted); }
.reach dd a { text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; overflow-wrap: anywhere; }
.reach dd a:hover { text-decoration-color: currentColor; }
.reach__big { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.05; white-space: nowrap; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; }
.reach__big:hover { text-decoration: underline; }
.reach .link { margin-top: 0.35rem; font-size: 0.9375rem; }
.contact__social { margin-top: 1.5rem; }
.contact__form { padding: clamp(1.25rem, 3.4vw, 2.75rem); background: var(--sheet); color: var(--ink); border-radius: 6px; box-shadow: var(--lift); }
.contact .contact__form :focus-visible { outline-color: var(--forest); }
.contact__formtitle { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.05; color: var(--forest); }

@media (min-width: 62rem) {
	.about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
	.about__photo { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2))); border-radius: var(--radius) 0 0 var(--radius); aspect-ratio: 16 / 10; }

	.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; padding: 2.25rem 0 0; }
	.timeline::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; transform-origin: left; transform: scaleX(var(--p)); }
	.timeline__item { padding-bottom: 0; }
	.timeline__item::before { left: 0; top: calc(-2.25rem - 5.5px); }

	.ledger__row { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2rem; align-items: baseline; padding: 1.5rem 0; }
	.ledger__meals:empty { display: block; }

	/* A középső sor magassága az az érték, amennyivel a szöveges lap rálóg a nagy fotóra. */
	.events__stage { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto clamp(7rem, 10vw, 9.5rem) auto; gap: 1rem; }
	.events__photo--a { grid-column: 1 / 9; grid-row: 1 / 3; aspect-ratio: auto; height: 100%; }
	.events__photo--b { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 4 / 3; transform: translate3d(0, calc((var(--p) - 0.5) * -2.5rem), 0); }
	.events__photo--c { grid-column: 2 / 5; grid-row: 3; aspect-ratio: 4 / 3; align-self: start; margin-top: 0.5rem; transform: translate3d(0, calc((var(--p) - 0.5) * -4rem), 0); }
	.events__panel {
		grid-column: 6 / 13;
		grid-row: 2 / 4;
		position: relative;
		z-index: 2;
		margin-top: 0;
		padding: clamp(2rem, 3.5vw, 3.25rem);
		background: var(--sheet);
		border-radius: 6px;
		box-shadow: var(--lift);
	}

	.quality__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
	.points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-bottom: 0; }
	.contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------- 7. Űrlap ---------- */

.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

.field label { display: block; margin-bottom: 0.35rem; font-weight: 700; font-size: 0.9375rem; }
.field__opt { margin-left: 0.3rem; font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.85rem;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--enamel);
	font-size: 1.0625rem;
	line-height: 1.4;
	transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease), background-color 140ms var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231d3b2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.75rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--forest); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--forest); background-color: var(--sheet); box-shadow: 0 0 0 3px var(--yolk); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { margin-top: 0.3rem; font-size: 0.9375rem; font-weight: 700; color: var(--error); }
.field__error:empty { display: none; }

.field--check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.7rem; align-items: start; }
.field--check input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--forest); }
.field--check label { margin: 0; font-weight: 400; font-size: 0.9375rem; color: var(--muted); }
.field--check a { color: var(--forest); font-weight: 700; }
.field--check .field__error { grid-column: 2; }

.form__status { padding: 0.9rem 1.1rem; border-radius: var(--radius); font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-ok { background: var(--yolk-wash); color: var(--ink); }
.form__status.is-error { background: var(--error-wash); color: var(--error); }
.form .btn { justify-self: start; }
.form.is-sent > :not(.form__status) { display: none; }

/* ---------- 8. Lábléc ---------- */

.site-footer { background: var(--forest-deep); color: var(--bone); padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.site-footer :focus-visible { outline-color: var(--yolk); }
.site-footer__grid { display: grid; gap: 2.25rem; }
.site-footer__name { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); letter-spacing: -0.045em; line-height: 0.9; }
.site-footer__tag { margin-top: 0.8rem; color: var(--bone-muted); }
.site-footer__h { margin-bottom: 0.7rem; font-size: 0.9375rem; font-weight: 400; color: var(--bone-muted); }
.site-footer__col li + li { margin-top: 0.35rem; }
.site-footer address { line-height: 1.75; font-variant-numeric: tabular-nums; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.4rem; border-top: 1px solid var(--line-dark); font-size: 0.9375rem; color: var(--bone-muted); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.site-footer__note { margin-left: auto; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 3rem; align-items: start; } }
@media (max-width: 47.99rem) { .site-footer__note { margin-left: 0; flex-basis: 100%; } }

/* ---------- 9. Aloldalak ---------- */

.menupage { background: var(--forest); color: var(--bone); padding-block: clamp(1.25rem, 3vw, 2.5rem) var(--section); }
.weeknav :focus-visible, .menuhelp :focus-visible, .pastweeks :focus-visible { outline-color: var(--yolk); }
.weeknav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.weeknav__link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; font-weight: 700; text-decoration: none; }
.weeknav__link:hover span { text-decoration: underline; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.weeknav__link.is-off { visibility: hidden; }
.weeknav__now { font-weight: 700; color: var(--yolk); text-underline-offset: 0.3em; }

.menuhelp { margin-top: 2.5rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); border-radius: 6px; background: var(--forest-soft); }
.menuhelp__title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.015em; line-height: 1.1; }
.menuhelp p { margin-top: 0.6rem; max-width: 70ch; color: var(--bone); }
.menuhelp a { font-weight: 700; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.pastweeks { margin-top: 3.5rem; }
.pastweeks__title { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
.pastweeks__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; margin-top: 1rem; border-top: 1px solid var(--line-dark); }
.pastweeks__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-weight: 600; }
.pastweeks__list a:hover span { text-decoration: underline; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.pastweeks__list small { font-size: 0.875rem; color: var(--bone-muted); }

/* Nem lehet a neve ".page": azt a WordPress minden oldal <body> elemére ráteszi. */
.pagewrap { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.page__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); line-height: 0.92; letter-spacing: -0.045em; color: var(--forest); text-wrap: balance; }
.page__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.prose--page { margin-top: 2.25rem; font-size: 1.125rem; line-height: 1.65; }
.prose--page > * + * { margin-top: 1.1em; }
.prose--page p, .prose--page li { max-width: none; }
.prose--page h2, .prose--page h3, .prose--page h4 { margin-top: 1.8em; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--forest); }
.prose--page h2 { font-size: 2rem; }
.prose--page h3 { font-size: 1.55rem; }
.prose--page h4 { font-size: 1.25rem; }
.prose--page a { color: var(--forest); font-weight: 700; text-decoration-color: var(--yolk-deep); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.prose--page ul, .prose--page ol { padding-left: 1.3rem; }
.prose--page ul { list-style: disc; }
.prose--page ol { list-style: decimal; }
.prose--page li + li { margin-top: 0.35em; }
.prose--page img { border-radius: var(--radius); height: auto; }
.prose--page figure { margin-block: 1.75rem; }
.prose--page figcaption { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--muted); }
.prose--page table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose--page th, .prose--page td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--page .week { margin-block: 2rem; font-size: 1.0625rem; border: 1px solid var(--line); box-shadow: none; }
.prose--page .week a { font-weight: inherit; }
.prose--page .week ul { padding-left: 0; list-style: none; }
.prose--page .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.prose--page .wp-block-file__button { padding: 0.35rem 0.85rem; border-radius: var(--radius); background: var(--forest); color: var(--bone); font-size: 0.9375rem; text-decoration: none; }

/* ---------- 10. Mozgás ----------
   A csúcspont a nyitó rész: görgetésre áll össze az ebéd. Betöltéskor egyetlen összehangolt belépő fut.
   Lejjebb minden mozgás vagy a görgetést követi (felfedés, vonal, fotósáv), vagy a látogató műveletére válaszol. */

@media (prefers-reduced-motion: no-preference) {
	.hero__title { animation: lcn-rise 800ms var(--ease) backwards; }
	.hero__aux { animation: lcn-rise 800ms var(--ease) 120ms backwards; }
	.tray__in { animation: lcn-tray 1100ms var(--ease) 80ms backwards; }

	.steam path { animation: lcn-steam 5.5s linear infinite; }
	.steam path:nth-child(2) { animation-delay: -1.8s; animation-duration: 6.5s; }
	.steam path:nth-child(3) { animation-delay: -3.4s; animation-duration: 5s; }

	/* A figyelt elem (figure) doboza érintetlen marad, a kivágás a benne lévő képen fut. */
	.js [data-reveal] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease); }
	.js [data-reveal] img { scale: 1.1; transition: scale 1500ms var(--ease), clip-path 1000ms var(--ease); }
	.js [data-reveal].is-in > * { clip-path: inset(0 0 0 0); }
	.js [data-reveal].is-in img { scale: 1; }

	.js [data-stagger] > * { opacity: 0; }
	.js [data-stagger].is-in > * { opacity: 1; }
}

/* A nyitó rész két "álló" kapuja: ugyanez a két feltétel szerepel a site.js HERO_GATES tömbjében. */
@media (prefers-reduced-motion: reduce), (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
	.steam { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
	.events__stage, .quality__strip { --p: 0.5 !important; }
	.timeline { --p: 1 !important; }
}

@keyframes lcn-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
@keyframes lcn-tray { from { opacity: 0; transform: translate3d(6%, 8%, 0) rotate(5deg) scale(1.12); } }
@keyframes lcn-steam { from { stroke-dashoffset: 96; opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } to { stroke-dashoffset: -96; opacity: 0; } }

/* ---------- 11. Nyomtatás: a heti menü egy fekvő A4-es lapon ---------- */

@media print {
	@page { size: A4 landscape; margin: 10mm; }
	html { font-size: 9.5pt; background: #fff; }
	body { background: #fff; color: #000; }
	body::after { display: none; }
	.site-header, .site-footer, .skip, .weeknav, .week__tools, .week__tabs, .week__stale, .watch, .menuhelp, .pastweeks, .week__foot .btn, .hero, .about, .services, .events, .quality, .contact { display: none !important; }
	.menupage, .menuband, .pagewrap { padding: 0; background: none; color: #000; }
	.wrap { max-width: none; padding: 0; }
	.week { border: 0; padding: 0; background: none; box-shadow: none; }
	.week__printbrand { display: block; margin-bottom: 2mm; font-weight: 700; }
	.week__title { font-size: 20pt; color: #000; }
	.week__range { font-size: 12pt; }
	.week__body { display: block !important; margin-top: 4mm; }
	.week__panels { display: grid !important; grid-template-columns: repeat(5, 1fr); padding: 0; border-top: 1.5pt solid #000; }
	.week .day { display: block !important; margin: 0 !important; padding: 3mm 2.5mm 0; border-left: 0.5pt solid #999; background: none !important; break-inside: avoid; opacity: 1 !important; transform: none !important; }
	.week .day:first-child { border-left: 0; padding-left: 0; }
	.day__title { font-size: 13pt; color: #000; }
	.day__date { flex-basis: 100%; font-size: 9pt; color: #333; }
	.day__today { display: none !important; }
	.meal { display: block !important; padding: 2.5mm 0; border-top: 0.5pt solid #999; opacity: 1 !important; transform: none !important; }
	.meal__label { color: #000; font-size: 8.5pt; }
	.meal__who { display: inline !important; margin: 0 0 0 1mm !important; font-size: 8pt; color: #333; }
	.dishes { margin-top: 1mm; }
	.dish { padding: 0 0 1mm !important; }
	.dish__name { font-size: 10pt; }
	.hl { background: none !important; padding: 0; margin: 0; }
	.dish__allergens { display: block; margin-top: 0; font-size: 7.5pt; color: #333; }
	.dish__allergens .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; }
	.tag { display: inline; padding: 0; border: 0; background: none !important; color: #333 !important; font-size: inherit; font-weight: 400 !important; }
	.tag + .tag::before { content: ", "; }
	.week__foot { display: block; margin-top: 4mm; padding-top: 2mm; border-top: 0.5pt solid #999; }
	.week__notes { max-width: none; font-size: 8pt; color: #333; }
}

/* ---------- 12. Pályázati infoblokk ----------
   Az infoblokk a bal felső sarokban van, a fejléc része, így a fejléccel együtt tapad a képernyő tetejéhez,
   és görgetés közben is látszik. Fehér alapon áll, hivatkozásként a projekt aloldalára visz.
   Keskenyebb képernyőn saját sort kap a menüsor fölött (telefonon mellette a telefonszám),
   széles képernyőn a menüsor bal sarkában ül, és a név mellé húzódik.
   A --header a teljes tapadó magasság: ehhez igazodik a nyitó rész és a napfülek tapadása is. */

:root.has-eu { --row: 4.5rem; --eu-h: 3.25rem; --header: calc(var(--row) + var(--eu-h)); }
@media (max-width: 66rem) { :root.has-eu { --row: 4rem; --eu-h: 3rem; } }
.has-eu .site-header__in { min-height: var(--row); }
.eu-bar { display: flex; align-items: center; justify-content: space-between; height: var(--eu-h); padding-right: var(--gutter); background: var(--forest-deep); }
.eu-bar__block { display: block; height: 100%; background: #fff; }
.eu-bar__block img { display: block; width: auto; height: 100%; max-width: none; }
.site-header .eu-bar__block:focus-visible { outline-color: var(--yolk); outline-offset: -4px; }
.eu-bar__call { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--bone); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eu-bar__call .icon { color: var(--yolk); }
@media (min-width: 66.01rem) { .eu-bar__call { display: none; } }

@media (min-width: 78rem) {
	:root.has-eu { --eu-h: 0rem; }
	.has-eu .eu-bar { position: absolute; left: 0; top: 0; height: var(--row); padding: 0; background: none; }
	/* A név az infoblokk után kezdődik, a menü jobb széle a tartalom szélével egy vonalban marad. */
	.has-eu .site-header__in { padding-left: max(var(--gutter), calc(var(--row) * 3.788 + 1.75rem - max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2))); }
}
@media (min-width: 78rem) and (max-width: 86rem) {
	.has-eu .nav { gap: 1.25rem; }
	.has-eu .nav__list { gap: 1.4rem; }
	.has-eu .nav__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.eu-figure { margin: 0 0 2rem; max-width: 39.5rem; }
.eu-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 0; }
@media print { .eu-bar { display: none; } }
