/* the public holding page (app/index.php), black and white like the stamp logo. Not loaded on the dashboard */
:root {
	--ink: #111;
	--paper: #fff;
	--muted: #5c5c5c;
	--line: #e2e2e2;
	--soft: #f4f4f4;
	--display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	letter-spacing: .02em;
	line-height: 1.05;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------------------------------------------------------------- logo, coming soon and sign up */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--paper);
}
/* a faint grid, like a sandwich shop's tiles or a notepad, fading out towards the edges */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(0, 0, 0, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px);
	background-size: 28px 28px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 40%, transparent 100%);
	mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 40%, transparent 100%);
	pointer-events: none;
}
.hero-inner {
	position: relative;
	max-width: 680px;
	margin: 0 auto;
	padding: 40px 16px 64px;
	text-align: center;
}
.hero-logo-link {
	display: block;
	width: min(300px, 75vw);
	margin: 0 auto 8px;
	border-radius: 50%;
}
.hero-logo-link:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 4px;
}
.hero-logo {
	display: block;
	width: 100%;
	height: auto;
	/* the logo is a JPG on white: multiply lets the grid show through the white and keeps the black */
	mix-blend-mode: multiply;
}
.hero-kicker {
	margin: 0 0 20px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.hero h1 {
	font-size: clamp(40px, 8vw, 64px);
}
.hero-text {
	max-width: 540px;
	margin: 16px auto 28px;
	color: #333;
	font-size: 17px;
}

.signup {
	max-width: 520px;
	margin: 0 auto;
}
.signup-form {
	display: flex;
	gap: 8px;
}
.signup-form input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 16px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.signup-form input:focus {
	outline: 3px solid #bbb;
	outline-offset: 1px;
}
.signup-form input[aria-invalid="true"] {
	border-color: #b00020;
}
.signup-form button {
	flex: 0 0 auto;
	padding: 14px 22px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background: var(--ink);
	color: var(--paper);
	font: 600 16px/1 Inter, system-ui, sans-serif;
	cursor: pointer;
}
.signup-form button:hover,
.signup-form button:focus-visible {
	background: #333;
	border-color: #333;
}
.signup-trap {
	position: absolute;
	left: -9999px;
}
.signup .g-recaptcha {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}
.signup-note {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 13px;
}
.signup-problem {
	margin: 10px 0 0;
	color: #b00020;
	font-weight: 500;
}
.signup-done {
	margin: 0;
	padding: 16px 20px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	font-weight: 600;
}

/* ---------------------------------------------------------------- the menu grid */
.menu {
	padding: 56px 16px 72px;
	background: var(--soft);
	border-top: 1px solid var(--line);
}
.menu-head {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}
.menu-head h2 {
	font-size: clamp(40px, 7vw, 56px);
}
.menu-head p {
	margin: 8px 0 0;
	color: var(--muted);
}
.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	max-width: 1160px;
	margin: 0 auto;
}
.menu-item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
}
.menu-photo {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
/* until the photos arrive: a plain panel with the bap's place held */
.menu-photo-soon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(-45deg, #ececec 0 12px, #e4e4e4 12px 24px);
}
.menu-photo-soon span {
	padding: 6px 12px;
	background: var(--paper);
	border: 1px solid #cfcfcf;
	border-radius: 999px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.menu-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px 20px 20px;
}
.menu-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #cfcfcf;
}
.menu-title h3 {
	font-size: 26px;
}
.menu-price {
	flex: 0 0 auto;
	padding: 3px 10px;
	background: var(--ink);
	color: var(--paper);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.menu-body p {
	margin: 0 0 14px;
	font-size: 15px;
}
.menu-body .menu-ingredients {
	margin: auto 0 0;
	padding: 10px 12px;
	background: var(--soft);
	border-radius: 6px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}
.menu-ingredients strong {
	color: var(--ink);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
	padding: 28px 16px;
	background: var(--ink);
	color: #cfcfcf;
	font-size: 14px;
	text-align: center;
}
.site-footer p {
	margin: 0;
}
.site-footer p + p {
	margin-top: 4px;
	color: #8f8f8f;
	font-size: 13px;
}

@media (max-width: 520px) {
	.signup-form {
		flex-direction: column;
	}
	.hero-inner {
		padding-top: 24px;
	}
}
