/* ═══════════════════════════════════════════════════════════════
   Ferment Theme – theme.css
   Design tokens faithfully ported from the Lovable/React source.
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
	/* Core palette  (matches Tailwind hsl vars in index.css) */
	--bg:       hsl(45 100% 95%);
	--fg:       hsl(5 63% 30%);

	/* Foreground at opacity steps */
	--fg-80:    hsl(5 63% 30% / .80);
	--fg-70:    hsl(5 63% 30% / .70);
	--fg-65:    hsl(5 63% 30% / .65);
	--fg-60:    hsl(5 63% 30% / .60);
	--fg-55:    hsl(5 63% 30% / .55);
	--fg-50:    hsl(5 63% 30% / .50);
	--fg-45:    hsl(5 63% 30% / .45);
	--fg-40:    hsl(5 63% 30% / .40);
	--fg-35:    hsl(5 63% 30% / .35);
	--fg-30:    hsl(5 63% 30% / .30);
	--fg-25:    hsl(5 63% 30% / .25);
	--fg-15:    hsl(5 63% 30% / .15);
	--fg-10:    hsl(5 63% 30% / .10);
	--fg-08:    hsl(5 63% 30% / .08);

	/* Typography */
	--font-serif: 'Playfair Display', Georgia, serif;
	--font-sans:  'Inter', system-ui, -apple-system, sans-serif;

	/* Layout */
	--section-py:   7rem;
	--section-px:   1.5rem;
	--max-w-wide:   64rem;   /* ~5xl  */
	--max-w-narrow: 36rem;   /* ~xl   */
}

@media (min-width: 768px) {
	:root {
		--section-py: 10rem;
	}
}

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

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

body {
	background-color: var(--bg);
	color: var(--fg);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.15;
}

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

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

ul {
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

/* ─── ANCHOR SCROLL OFFSET (clear fixed nav) ─── */
:target,
[id] {
	scroll-margin-top: 5rem;
}

/* ─── SKIP LINK (accessibility) ─── */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
	z-index: 9999;
	background: var(--fg);
	color: var(--bg);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-family: var(--font-sans);
}
.skip-link:focus {
	left: 1rem;
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

.site-nav__inner {
	width: 100%;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media (min-width: 768px) {
	.site-nav__inner {
		padding: 1.25rem 2.5rem;
	}
}

/* Shared nav link style */
.site-nav__logo,
.site-nav__cta {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	color: var(--fg);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) {
	.site-nav__logo,
	.site-nav__cta {
		font-size: 2.25rem;
	}
}

.site-nav__cta {
	display: none;
}
@media (min-width: 768px) {
	.site-nav__cta {
		display: inline-flex;
	}
}

/* Right cluster: language switch + CTA (desktop only) */
.site-nav__right {
	display: none;
	align-items: center;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.site-nav__right {
		display: flex;
	}
}

/* Language switch (EN / ET) */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
}
.lang-switch__item {
	color: var(--fg-45);
	text-decoration: none;
	transition: color 0.2s;
}
.lang-switch__item:hover {
	color: var(--fg);
}
.lang-switch__item.is-active {
	color: var(--fg);
	font-weight: 500;
}
.lang-switch__item + .lang-switch__item {
	border-left: 1px solid var(--fg-25);
	padding-left: 0.55rem;
}

/* Language switch inside the mobile menu */
.site-nav__mobile-lang {
	margin-top: 1rem;
}
.lang-switch--mobile {
	justify-content: center;
	font-size: 1rem;
	gap: 0.75rem;
}
.lang-switch--mobile .lang-switch__item + .lang-switch__item {
	padding-left: 0.75rem;
}

/* Hamburger button */
.site-nav__toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 4px;
	background: none;
	border: none;
	cursor: pointer;
}
@media (min-width: 768px) {
	.site-nav__toggle {
		display: none;
	}
}

.site-nav__toggle span {
	display: block;
	width: 24px;
	height: 1.5px;
	background-color: var(--fg);
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

/* X state */
.site-nav__toggle.is-open span:nth-child(1) {
	transform: rotate(45deg) translate(0, 6.5px);
}
.site-nav__toggle.is-open span:nth-child(2) {
	opacity: 0;
}
.site-nav__toggle.is-open span:nth-child(3) {
	transform: rotate(-45deg) translate(0, -6.5px);
}

/* Mobile menu panel */
.site-nav__mobile {
	background: var(--bg);
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}
@media (min-width: 768px) {
	.site-nav__mobile {
		display: none;
	}
}
.site-nav__mobile.is-open {
	max-height: 460px;
}

.site-nav__mobile-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 2.5rem 0;
}

.site-nav__mobile-list a {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	color: var(--fg-80);
	transition: color 0.2s;
}
.site-nav__mobile-list a:hover {
	color: var(--fg);
}

/* ════════════════════════════════════════
   JAR HOVER LINK
════════════════════════════════════════ */
.jar-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.jar-link__jar {
	position: absolute;
	inset: 0;
	margin: auto;
	width: auto;
	height: 3em;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.22s ease-out, transform 0.22s ease-out;
	pointer-events: none;
}

.jar-link:hover .jar-link__text {
	visibility: hidden;
}
.jar-link:hover .jar-link__jar {
	opacity: 1;
	transform: scale(1);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/* 100svh with vh fallback for older browsers */
	height: 100vh;
	height: 100svh;
}

.hero__center {
	position: relative;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero__wordmark-link {
	display: inline-block;
	line-height: 0;
}

.hero__wordmark {
	width: 95vw;
	max-width: 1400px;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	animation: hero-fade-up 1.2s 0.1s ease-out both;
}

.hero__tagline {
	font-family: var(--font-serif);
	font-size: 0.875rem;
	letter-spacing: 0.25em;
	color: var(--fg-50);
	margin-top: 0.75rem;
	font-style: italic;
	animation: hero-fade-in 0.8s 0.6s ease-out both;
}
@media (min-width: 768px) {
	.hero__tagline {
		font-size: 1rem;
	}
}

.hero__bottom-nav {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 2rem;
	z-index: 20;
	animation: hero-fade-in 0.6s 1s ease-out both;
}
@media (min-width: 768px) {
	.hero__bottom-nav {
		padding: 1.5rem 2.5rem;
		gap: 0.5rem 3rem;
	}
}

.hero__section-link {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg);
	transition: color 0.2s;
}
@media (min-width: 768px) {
	.hero__section-link {
		font-size: 1rem;
	}
}

/* Hero entry keyframes */
@keyframes hero-fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Floating jar elements (position & animation injected by JS) */
.hero-jar-x {
	position: absolute;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}
.hero-jar-y {
	display: block;
}

/* ════════════════════════════════════════
   SECTION REVEAL (IntersectionObserver)
════════════════════════════════════════ */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ════════════════════════════════════════
   SECTION BASE
════════════════════════════════════════ */
.ferment-section {
	padding: var(--section-py) var(--section-px);
	border-top: 1px solid var(--fg-10);
}

.section-inner {
	margin: 0 auto;
}
.section-inner--wide   { max-width: var(--max-w-wide); }
.section-inner--narrow { max-width: var(--max-w-narrow); }
.section-inner--centered {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section-heading {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 300;
	letter-spacing: 0.03em;
	text-align: center;
	margin-bottom: 3.5rem;
}

/* Footnote asterisk (e.g. "Menu*") — small + raised */
.section-heading__note {
	font-size: 0.3em;
	vertical-align: super;
	color: var(--fg-50);
	margin-left: 0.1em;
}

.section-body {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	line-height: 1.9;
	color: var(--fg-60);
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.section-body { font-size: 1rem; }
}

.section-note {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	color: var(--fg-40);
	line-height: 1.6;
	max-width: 24rem;
	margin: 1.5rem auto 0;
}

/* ════════════════════════════════════════
   STORY SECTION
════════════════════════════════════════ */
.story-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) {
	.story-grid {
		grid-template-columns: 7fr 4fr;
		gap: 3.5rem;
		align-items: end;
	}
}

.story-body p {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	line-height: 1.9;
	color: var(--fg-70);
}
@media (min-width: 768px) {
	.story-body p { font-size: 1rem; }
}
.story-body p + p {
	margin-top: 1.25rem;
}

.story-quote {
	border-left: 2px solid var(--fg-15);
	padding-left: 1.5rem;
	margin-bottom: 2.5rem;
}
.story-quote p {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	line-height: 1.6;
	font-style: italic;
	color: var(--fg-70);
}
@media (min-width: 768px) {
	.story-quote p { font-size: 1.5rem; }
}

.story-lines {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.story-lines p {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-style: italic;
	color: var(--fg-60);
}

/* ════════════════════════════════════════
   FOOD SECTION
════════════════════════════════════════ */
.food-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}
@media (min-width: 768px) {
	.food-grid {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

.food-lead {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	line-height: 1.5;
	color: var(--fg-80);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.food-lead { font-size: 1.875rem; }
}

.food-body {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	line-height: 1.9;
	color: var(--fg-65);
}
@media (min-width: 768px) {
	.food-body { font-size: 1rem; }
}

.food-expect__label {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-40);
	margin-bottom: 1.25rem;
}

.food-expect__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	color: var(--fg-70);
	margin-bottom: 0.875rem;
}
@media (min-width: 768px) {
	.food-expect__list li { font-size: 1rem; }
}

/* Bullet dot */
.food-expect__list li::before {
	content: '';
	flex-shrink: 0;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background-color: var(--fg-25);
	margin-top: 0.5rem;
}

/* ════════════════════════════════════════
   BUTTON
════════════════════════════════════════ */
.ferment-btn {
	display: inline-block;
	padding: 0.875rem 2.5rem;
	background-color: var(--fg);
	color: var(--bg);
	font-family: var(--font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: opacity 0.2s;
	text-decoration: none;
	line-height: 1;
}
.ferment-btn:hover  { opacity: 0.9; }
.ferment-btn:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: 3px;
}
.ferment-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ════════════════════════════════════════
   BOOKING FORM
════════════════════════════════════════ */
/* Reservations uses a slightly wider container than other narrow sections,
   so the booking form has room to breathe. The centered section shrink-wraps
   its inner block, so stretch it to the full container width here. */
#reservations .section-inner {
	max-width: 42rem;
}
#reservations .reveal {
	width: 100%;
}

.booking-form {
	width: 100%;
	max-width: 42rem;
	margin: 0 auto;
	text-align: left;
}

.booking-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}
@media (min-width: 600px) {
	.booking-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.booking-field {
	display: flex;
	flex-direction: column;
}
.booking-field--full {
	margin-bottom: 1.5rem;
}

.booking-field label {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg-50);
	margin-bottom: 0.5rem;
}
.booking-field label span {
	text-transform: none;
	letter-spacing: 0;
	color: var(--fg-35);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	color: var(--fg);
	background-color: transparent;
	border: 1px solid var(--fg-25);
	border-radius: 0;
	padding: 0.7rem 0.85rem;
	width: 100%;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.booking-field textarea {
	resize: vertical;
	min-height: 4.5rem;
	line-height: 1.6;
}
.booking-field input::placeholder,
.booking-field textarea::placeholder {
	color: var(--fg-45);
	opacity: 1;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
	outline: none;
	border-color: var(--fg);
}
.booking-field input:-webkit-autofill {
	-webkit-text-fill-color: var(--fg);
	transition: background-color 5000s ease-in-out 0s;
}

/* Native-control chevron for selects */
.booking-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b1a15' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 0.7rem;
	padding-right: 2.25rem;
	cursor: pointer;
}

/* Honeypot – kept out of view and the tab order */
.booking-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.booking-form__submit {
	display: block;
	margin: 0.5rem auto 0;
}

.booking-form__status {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	line-height: 1.6;
	text-align: center;
	margin-top: 1.25rem;
	min-height: 1.2em;
}
.booking-form__status.is-success { color: var(--fg); }
.booking-form__status.is-error   { color: #b3261e; }

/* ════════════════════════════════════════
   DATE PICKER (custom, brand-styled)
════════════════════════════════════════ */
.datepicker {
	position: relative;
}

.datepicker__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	color: var(--fg);
	background-color: transparent;
	border: 1px solid var(--fg-25);
	border-radius: 0;
	padding: 0.7rem 0.85rem;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s;
}
.datepicker__trigger:focus-visible,
.datepicker.is-open .datepicker__trigger {
	outline: none;
	border-color: var(--fg);
}
.datepicker.has-error .datepicker__trigger {
	border-color: #b3261e;
}
.datepicker__value.is-placeholder {
	color: var(--fg-45);
}
.datepicker__icon {
	flex-shrink: 0;
	color: var(--fg-50);
}

/* Popup */
.datepicker__pop {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	width: 19rem;
	max-width: calc(100vw - 3rem);
	background-color: #fffdf6;
	border: 1px solid var(--fg-25);
	box-shadow: 0 14px 40px hsl(5 63% 30% / 0.16);
	padding: 1rem;
}
.datepicker__pop[hidden] {
	display: none;
}

.datepicker__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.85rem;
}
.datepicker__title {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	color: var(--fg);
}
.datepicker__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: none;
	border: 1px solid var(--fg-15);
	color: var(--fg);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.datepicker__nav:hover:not(:disabled) {
	background: var(--fg-08);
	border-color: var(--fg-30);
}
.datepicker__nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.datepicker__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.datepicker__dow {
	font-family: var(--font-sans);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fg-40);
	text-align: center;
	padding: 0.35rem 0;
}
.datepicker__day {
	font-family: var(--font-sans);
	font-size: 0.85rem;
	color: var(--fg);
	background: none;
	border: none;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.15s, color 0.15s;
}
.datepicker__day:hover:not(:disabled) {
	background: var(--fg-10);
}
.datepicker__day:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: -2px;
}
.datepicker__day.is-today {
	box-shadow: inset 0 0 0 1px var(--fg-30);
}
.datepicker__day.is-selected {
	background-color: var(--fg);
	color: var(--bg);
}
.datepicker__day:disabled {
	color: var(--fg-25);
	cursor: not-allowed;
}
.datepicker__day--empty {
	visibility: hidden;
	cursor: default;
}

.datepicker__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.75rem;
}
.datepicker__clear {
	background: none;
	border: none;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--fg-50);
	cursor: pointer;
	padding: 0.25rem;
	transition: color 0.15s;
}
.datepicker__clear:hover {
	color: var(--fg);
}

/* ════════════════════════════════════════
   FOOTER / CONTACT
════════════════════════════════════════ */
.site-footer {
	padding: 6rem var(--section-px);
	border-top: 1px solid var(--fg-10);
}
@media (min-width: 768px) {
	.site-footer { padding: 9rem var(--section-px); }
}

.footer-inner {
	max-width: var(--max-w-wide);
	margin: 0 auto;
}

/* Newsletter signup band (Klaviyo embed renders its own form here) */
.footer-newsletter {
	max-width: 34rem;
	margin: 0 auto 3.5rem;
	padding-bottom: 3.5rem;
	border-bottom: 1px solid var(--fg-10);
	text-align: center;
}
@media (min-width: 768px) {
	.footer-newsletter {
		margin-bottom: 4.5rem;
		padding-bottom: 4.5rem;
	}
}
/* Until Klaviyo injects the form, the div is empty — hide the band/divider */
.footer-newsletter:has(.klaviyo-form-SAfL9R:empty) {
	display: none;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

.footer-wordmark-link {
	display: inline-block;
	line-height: 0;
	transition: opacity 0.2s;
}
.footer-wordmark-link:hover {
	opacity: 0.75;
}

.footer-wordmark {
	display: block;
	width: 10rem;
	height: auto;
	margin-bottom: 1.25rem;
}

.footer-label {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-35);
	margin-bottom: 0.75rem;
}

.footer-text {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	color: var(--fg-55);
	line-height: 1.7;
}
.footer-text a {
	transition: color 0.2s;
}
.footer-text a:hover {
	color: var(--fg);
}

.footer-bottom {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--fg-08);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

.footer-copy {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	color: var(--fg-25);
}

.footer-tagline {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	color: var(--fg-30);
	font-style: italic;
}

/* ════════════════════════════════════════
   MENU MODAL
════════════════════════════════════════ */
.menu-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	background: hsl(0 0% 0% / .75);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s;
}
.menu-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.menu-modal__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: min(90vw, 720px);
}

.menu-modal__close {
	position: absolute;
	top: -2.75rem;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 1.875rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	opacity: 0.8;
	transition: opacity 0.2s;
}
.menu-modal__close:hover { opacity: 1; }

.menu-modal__img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.menu-modal__nav {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.menu-modal__prev,
.menu-modal__next {
	background: none;
	border: 1px solid rgba(255,255,255,.4);
	color: #fff;
	padding: 0.45rem 1.25rem;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.menu-modal__prev:hover,
.menu-modal__next:hover {
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.7);
}

/* ════════════════════════════════════════
   404 PAGE
════════════════════════════════════════ */
.error-page {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.error-page__inner {
	max-width: 28rem;
	text-align: center;
	padding: 2rem var(--section-px);
}
.error-page__code {
	font-family: var(--font-serif);
	font-size: clamp(4rem, 10vw, 7rem);
	color: var(--fg-15);
	line-height: 1;
	margin-bottom: 1rem;
}
.error-page__heading {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.error-page__body {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	color: var(--fg-60);
	margin-bottom: 2rem;
	line-height: 1.7;
}
