/*
Theme Name: Lazy Bones
Theme URI: https://lazybonespizza.com
Author: Lazy Bones Pizza
Description: Block theme for Lazy Bones Pizza. Retro slice shop with dive-bar grit: speckled dough paper, stamped type, checkerboard, torn paper edges. Pairs with the Lazy Bones Blocks plugin (Site Info, promo bar, menu sections).
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Version: 0.1.13
License: Proprietary
Text Domain: lazybones
*/

:root {
	--lb-muted: #655d50; /* small grey text: 5.7:1 on Pizza Dough (Shark is 4.3:1, below AA) */
}

/* ==========================================================================
   Paper: speckle on every light background
   ========================================================================== */
body {
	background-image: url("assets/images/speckle.png");
	background-size: 340px;
	/* Not "fixed": a fixed background repaints the whole page on every scroll
	   frame on phones, and the tiled speckle looks the same either way. */
}
.is-style-section-charcoal,
.is-style-section-basil,
.is-style-section-house-red {
	background-image: url("assets/images/speckle-light.png");
	background-size: 340px;
}
.is-style-section-floured,
.is-style-section-pea-shoot {
	background-image: url("assets/images/speckle.png");
	background-size: 340px;
}

/* Anchor links land below the sticky header (from the current site). */
html { scroll-behavior: smooth; }
/* The sticky header (with the promo bar) is ~150px on desktop, ~125px on phones. */
[id] { scroll-margin-top: 170px; }
@media (max-width: 781px) { [id] { scroll-margin-top: 140px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ==========================================================================
   Space between the header and the content
   The page used to start with 56px of padding, and a first section with its
   own top padding added another 56px on top of that, pushing content below
   the fold. Now: 24px from the template; a first section's own top padding
   is cut to 16px; a full-width first section (a colored hero) sits right
   under the header. !important so templates edited in the Site Editor
   follow along.
   ========================================================================== */
.wp-site-blocks > main { padding-top: var(--wp--preset--spacing--30) !important; }
.wp-site-blocks > main:has(> .wp-block-post-content > .alignfull:first-child),
.wp-site-blocks > main:has(> .alignfull:first-child) { padding-top: 0 !important; }
.wp-site-blocks > main > .wp-block-post-content > :first-child[style*="padding-top"]:not(.alignfull) { padding-top: var(--wp--preset--spacing--20) !important; }

/* ==========================================================================
   Header
   ========================================================================== */
.lb-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .lb-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
/* Under 600px the admin bar scrolls away with the page, so don't leave room for it. */
@media (max-width: 600px) { .admin-bar .lb-site-header { top: 0; } }
/* Phones: the header bar tucks away on scroll down and the promo bar stays
   pinned at the top (assets/js/header.js moves the sticky `top`). */
@media (max-width: 781px) {
	.lb-site-header { transition: top 0.25s ease; }
}
@media (prefers-reduced-motion: reduce) {
	.lb-site-header { transition: none; }
}
.lb-site-header .lb-header-bar {
	background-color: var(--wp--preset--color--pizza-dough);
	background-image: url("assets/images/speckle.png");
	background-size: 340px;
}
/* No promo bar on this page (switched off, or hidden for this page): the
   header gets a soft, frosted bottom edge instead of a hard line where the
   page scrolls under it. ("lb-no-promo" comes from the Lazy Bones Blocks
   plugin.) */
.lb-no-promo .lb-site-header .lb-header-bar { position: relative; }
.lb-no-promo .lb-site-header .lb-header-bar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 26px;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--wp--preset--color--pizza-dough) 92%, transparent),
		color-mix(in srgb, var(--wp--preset--color--pizza-dough) 0%, transparent)
	);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
	mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
/* The open phone menu covers the page, so no edge there. */
html.has-modal-open .lb-no-promo .lb-site-header .lb-header-bar::after { display: none; }
.lb-site-header .wp-block-site-logo img,
.lb-wordmark { display: block; height: auto; }
/* A logo image block given a fixed width in the Site Editor (flex-basis plus
   flex-shrink: 0) can't shrink, which pushed the page to 584px wide on phones.
   Let any header image shrink to fit next to the menu button. */
.lb-header-bar > .wp-block-image,
.lb-header-bar > .wp-block-site-logo { flex-shrink: 1 !important; min-width: 0; }
.lb-header-bar > .wp-block-image img { width: 100%; max-width: 100%; height: auto; }
.lb-logo-img { display: block; max-width: 100%; height: auto; }
/* Tablets and small laptops: a smaller logo and tighter menu so the menu
   stays on one line (it wrapped to two, making the header ~130px tall). */
@media (min-width: 782px) and (max-width: 1279px) {
	.lb-header-bar .lb-wordmark,
	.lb-header-bar .lb-wordmark img { width: clamp(240px, 28vw, 450px) !important; }
	.lb-header-bar .wp-block-navigation .wp-block-navigation__container { gap: 18px !important; }
}
.wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 4px; }
.wp-block-navigation__responsive-container.is-menu-open {
	/* !important: the Gutenberg plugin's navigation styles otherwise paint it white */
	background-color: var(--wp--preset--color--pizza-dough) !important;
	background-image: url("assets/images/speckle.png");
	color: var(--wp--preset--color--charcoal) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 28px; }
/* Sub-menu items (the Order Now links) line up with the rest, in the same voice. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-end !important;
	gap: 6px;
	padding: 6px 0 4px !important;
	background: transparent !important;
	border: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 6px 0 !important;
	text-transform: uppercase;
	color: var(--wp--preset--color--basil) !important;
}

/* ==========================================================================
   Stamped and script type
   ========================================================================== */
.is-style-stamped,
.lb-stamped {
	font-family: var(--wp--preset--font-family--cyprus-sunrise-sans);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	-webkit-mask-image: url("assets/images/stamp-mask.png");
	mask-image: url("assets/images/stamp-mask.png");
	-webkit-mask-size: 280px;
	mask-size: 280px;
}
h1.is-style-stamped, h2.is-style-stamped { line-height: 0.95; }
.is-style-script,
.lb-script {
	font-family: var(--wp--preset--font-family--cyprus-sunrise-script);
	text-transform: none;
	letter-spacing: 0.015em; /* brand rule: Cyprus Sunrise Script always 1.5% */
	line-height: 1.1;
	color: var(--wp--preset--color--charcoal);
}
/* Script picked from the editor's font list gets the same 1.5% (and beats
   the heading defaults, e.g. h6's 0.12em). */
.has-cyprus-sunrise-script-font-family,
h1.is-style-script, h2.is-style-script, h3.is-style-script,
h4.is-style-script, h5.is-style-script, h6.is-style-script,
h1.lb-script, h2.lb-script, h3.lb-script,
h4.lb-script, h5.lb-script, h6.lb-script { letter-spacing: 0.015em; }
.is-style-section-charcoal .is-style-script,
.is-style-section-basil .is-style-script,
.is-style-section-house-red .is-style-script { color: inherit; }

/* ==========================================================================
   Buttons: extra colorways (Fill and Outline come from theme.json)
   ========================================================================== */
.wp-block-button.is-style-floured .wp-block-button__link {
	background-color: var(--wp--preset--color--lightly-floured);
	border-color: var(--wp--preset--color--lightly-floured);
	color: var(--wp--preset--color--basil);
}
.wp-block-button.is-style-beer .wp-block-button__link {
	background-color: var(--wp--preset--color--warm-beer);
	border-color: var(--wp--preset--color--warm-beer);
	color: var(--wp--preset--color--charcoal);
}
.wp-block-button.is-style-floured .wp-block-button__link:hover,
.wp-block-button.is-style-beer .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--charcoal);
	border-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--lightly-floured);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--basil);
	color: var(--wp--preset--color--lightly-floured);
}

/* ==========================================================================
   Menu box (Warm Beer border) and checkered frame — from the current site
   ========================================================================== */
.is-style-menu-box,
.menu-callout-box {
	border: 5px solid var(--wp--preset--color--warm-beer);
	border-radius: 10px;
	padding: clamp(18px, 2.4vw, 28px);
}
.is-style-checkered,
.wp-block-columns.checkered-frame {
	--lb-checker: var(--wp--preset--color--jersey-fresh);
	position: relative;
	padding: 0 clamp(24px, 4.2vw, 60px) clamp(36px, 4.2vw, 60px) !important;
}
.is-style-checkered::before,
.wp-block-columns.checkered-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: conic-gradient(var(--lb-checker) 90deg, transparent 90deg 180deg, var(--lb-checker) 180deg 270deg, transparent 270deg);
	background-size: 20px 20px;
	-webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	-webkit-mask-size: 100% 100%, calc(100% - 60px) calc(100% - 30px);
	-webkit-mask-position: center, top center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-composite: xor;
	mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	mask-size: 100% 100%, calc(100% - 60px) calc(100% - 30px);
	mask-position: center, top center;
	mask-repeat: no-repeat;
	mask-composite: exclude;
}
.is-style-checkered > * { position: relative; z-index: 1; }
@media (max-width: 781px) {
	.is-style-checkered,
	.wp-block-columns.checkered-frame { padding: 0 22px 34px !important; }
	.is-style-checkered::before,
	.wp-block-columns.checkered-frame::before {
		background-size: 12px 12px;
		-webkit-mask-size: 100% 100%, calc(100% - 24px) calc(100% - 12px);
		mask-size: 100% 100%, calc(100% - 24px) calc(100% - 12px);
	}
}

/* Price row: name, leader dots, price (for catering packages and other lists) */
.is-style-price-row {
	display: grid !important;
	grid-template-columns: 1fr auto;
	column-gap: 6px;
	row-gap: 4px;
	padding-block: 14px;
	border-bottom: 1px solid var(--wp--preset--color--stone);
}
.is-style-price-row > * { margin: 0 !important; }
.is-style-price-row > :first-child {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-family: var(--wp--preset--font-family--fjalla-one);
	text-transform: uppercase;
	font-size: 16px;
}
.is-style-price-row > :first-child::after {
	content: "";
	flex: 1;
	border-bottom: 1px dotted var(--wp--preset--color--shark);
	transform: translateY(-4px);
}
.is-style-price-row > :nth-child(2) { font-size: 14px; align-self: baseline; }
.is-style-price-row > :nth-child(n+3) { grid-column: 1 / -1; font-size: 15px; line-height: 1.45; color: var(--lb-muted); }

/* ==========================================================================
   Butter Menus (rendered inside the Menu Section block)
   ========================================================================== */
.butter-menus { width: 100%; }
.butter-menu-name,
.butter-menu-group-name { display: none; }
.butter-menu-group { margin: 0; padding: 0; border: 0; background: none; }
.butter-menu-items { display: block; }
.butter-menu-item {
	background: none;
	border-radius: 0;
	box-shadow: none;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--stone);
}
.butter-menu-item:last-child { border-bottom: 0; }
.butter-menu-item-title { display: flex; align-items: baseline; gap: 6px; }
.butter-menu-item-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}
.butter-menu-price-leaders {
	flex: 1;
	border-bottom: 1px dotted var(--wp--preset--color--shark);
	margin: 0 4px;
	transform: translateY(-4px);
}
.butter-menu-item-price { font-size: 16px; white-space: nowrap; }
.butter-menu-item-desc {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--lb-muted);
	white-space: pre-line;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.wpcf7 form > p { margin: 0; display: flex; flex-wrap: wrap; gap: 18px 16px; }
.wpcf7 form > p > br { display: none; }
.wpcf7 label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 100%;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.wpcf7 label.is-half,
.lb-form-two-up .wpcf7 label:nth-of-type(1),
.lb-form-two-up .wpcf7 label:nth-of-type(2) { flex: 1 1 calc(50% - 8px); min-width: 200px; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 22px;
	border: 2px solid var(--wp--preset--color--stone);
	border-radius: 30px;
	background: var(--wp--preset--color--lightly-floured);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
}
.wpcf7 textarea { border-radius: 20px; min-height: 140px; resize: vertical; }
.wpcf7 ::placeholder { color: var(--lb-muted); opacity: 1; }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--basil);
	box-shadow: 0 0 0 4px var(--wp--preset--color--warm-beer);
}
.wpcf7 .wpcf7-not-valid { border-color: var(--wp--preset--color--jersey-fresh); }
.wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--wp--preset--color--jersey-fresh);
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
}
.wpcf7 input[type="submit"] {
	cursor: pointer;
	padding: 14px 26px;
	border: 2px solid var(--wp--preset--color--basil);
	border-radius: 30px;
	background: var(--wp--preset--color--basil);
	color: var(--wp--preset--color--lightly-floured);
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 18px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1;
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--charcoal); border-color: var(--wp--preset--color--charcoal); }
.wpcf7 input[type="submit"]:focus-visible { outline: 3px solid var(--wp--preset--color--warm-beer); outline-offset: 3px; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; align-self: center; }
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 16px 22px;
	border: 0;
	border-radius: 10px;
	background: var(--wp--preset--color--basil);
	color: var(--wp--preset--color--lightly-floured);
	font-size: 16px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	background: var(--wp--preset--color--lightly-floured);
	color: var(--wp--preset--color--jersey-fresh);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--jersey-fresh);
}
.wpcf7 form.sent .wpcf7-response-output::before {
	content: "thanks! ";
	font-family: var(--wp--preset--font-family--cyprus-sunrise-script);
	font-size: 30px;
	letter-spacing: 0.015em;
	color: var(--wp--preset--color--warm-beer);
	margin-right: 6px;
}

/* ==========================================================================
   FAQ — core Details block
   ========================================================================== */
.wp-block-details {
	border-bottom: 2px solid var(--wp--preset--color--stone);
	padding: 20px 0;
	margin: 0 !important;
}
.wp-block-details:first-of-type { border-top: 2px solid var(--wp--preset--color--stone); }
.wp-block-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 24px;
	line-height: 1.2;
	text-transform: uppercase;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 2px solid var(--wp--preset--color--basil);
	border-radius: 50%;
	color: var(--wp--preset--color--basil);
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 22px;
	line-height: 1;
}
.wp-block-details[open] summary::after {
	content: "–";
	background: var(--wp--preset--color--basil);
	color: var(--wp--preset--color--lightly-floured);
}
.wp-block-details summary:focus-visible { outline: 3px solid var(--wp--preset--color--warm-beer); outline-offset: 4px; }
.wp-block-details > :not(summary) { margin-top: 12px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.lb-post-card {
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
	border: 5px solid var(--wp--preset--color--warm-beer);
	border-radius: 10px;
	background: var(--wp--preset--color--lightly-floured);
}
.lb-post-card .wp-block-post-featured-image { margin: 0; }
.lb-post-card .wp-block-post-featured-image img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.lb-post-card .wp-block-post-title { font-size: 26px; line-height: 1.1; }
.wp-block-post-template.is-layout-grid > li { display: flex; }
.wp-block-post-template.is-layout-grid > li > * { flex: 1; }

.taxonomy-category.wp-block-post-terms a,
.wp-block-post-terms.is-style-tags a,
.lb-tag {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 4px;
	background: var(--wp--preset--color--pea-shoot);
	color: var(--wp--preset--color--basil);
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
}
.taxonomy-category.wp-block-post-terms .wp-block-post-terms__separator,
.wp-block-post-terms.is-style-tags .wp-block-post-terms__separator { display: none; }
.taxonomy-category.wp-block-post-terms a + a,
.wp-block-post-terms.is-style-tags a + a { margin-left: 6px; }

.lb-post-nav a {
	display: block;
	padding: 20px 24px;
	border: 5px solid var(--wp--preset--color--warm-beer);
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 22px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}
.lb-post-nav .post-navigation-link-next a { text-align: right; }

/* ==========================================================================
   Images
   ========================================================================== */
.wp-block-image.is-style-snapshot img {
	border: 10px solid var(--wp--preset--color--lightly-floured);
	box-shadow: var(--wp--preset--shadow--snapshot);
	transform: rotate(-1deg);
}
.wp-block-image.is-style-snapshot:nth-of-type(even) img { transform: rotate(1.2deg); }
@media (prefers-reduced-motion: no-preference) {
	.wp-block-image.is-style-snapshot img { transition: transform 0.2s ease; }
	.wp-block-image.is-style-snapshot a:hover img { transform: rotate(0deg) scale(1.02); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lb-site-footer a { font-weight: 400; }
.lb-site-footer a:hover,
.lb-site-footer a:focus { text-decoration: underline; }
.lb-site-footer .lb-info-heading { font-size: 22px; }
.lb-site-footer .lb-hours__row dd { font-weight: 700; }
/* One body size for all footer copy: the "how to find us" blurb, hours and
   address. (The blurb used to pick up the 17-20px "Body" preset and sat a
   touch bigger than the hours and address at 18px.) */
.lb-site-footer { --lb-footer-text: 18px; }
.lb-site-footer .lb-location,
.lb-site-footer .lb-location__blurb,
.lb-site-footer .lb-location__address,
.lb-site-footer .lb-hours__list,
.lb-site-footer .lb-hours__note { font-size: var(--lb-footer-text) !important; line-height: 1.6; }
/* Footer buttons (Directions): slimmer than the page buttons. */
.lb-site-footer .wp-block-button__link {
	padding: 9px 18px;
	border-width: 1.5px;
	font-size: 15px;
	letter-spacing: 0.06em;
}
.lb-site-footer .lb-location .wp-block-buttons { margin-top: 1em; }
/* Old footer headings (Lazy Boys Catering, Terms & Privacy) and the new
   Footer Links block line up the same way. */
.lb-site-footer h5.wp-block-heading { font-size: var(--wp--preset--font-size--medium); }
/* Back to top: a drawn arrow, so it can't turn into "?" if a character is
   lost when the footer is saved. */
.lb-back-to-top { display: inline-flex; align-items: center; gap: 0.4em; }
.lb-back-to-top svg { width: 0.85em; height: 0.85em; flex: none; }

/* ==========================================================================
   Compatibility with content made under the old theme
   ========================================================================== */
.hide-on-desktop { display: none; }
@media (max-width: 781px) {
	.hide-on-mobile { display: none !important; }
	.hide-on-desktop { display: revert; }
}
.has-custom-charcoal-color { color: var(--wp--preset--color--charcoal) !important; }
.has-custom-pizza-dough-color { color: var(--wp--preset--color--pizza-dough) !important; }
.has-custom-jersey-fresh-color { color: var(--wp--preset--color--jersey-fresh) !important; }
.has-custom-warm-beer-color { color: var(--wp--preset--color--warm-beer) !important; }
.has-custom-basil-color { color: var(--wp--preset--color--basil) !important; }
.has-custom-ramp-pesto-1-color { color: var(--wp--preset--color--ramp-pesto) !important; }
.has-custom-shark-color { color: var(--wp--preset--color--shark) !important; }
.has-custom-stone-color { color: var(--wp--preset--color--stone) !important; }
.has-custom-lightly-floured-color { color: var(--wp--preset--color--lightly-floured) !important; }
.has-custom-charcoal-background-color { background-color: var(--wp--preset--color--charcoal) !important; }
.has-custom-pizza-dough-background-color { background-color: var(--wp--preset--color--pizza-dough) !important; }
.has-custom-jersey-fresh-background-color { background-color: var(--wp--preset--color--jersey-fresh) !important; }
.has-custom-warm-beer-background-color { background-color: var(--wp--preset--color--warm-beer) !important; }
.has-custom-basil-background-color { background-color: var(--wp--preset--color--basil) !important; }
.has-custom-ramp-pesto-1-background-color { background-color: var(--wp--preset--color--ramp-pesto) !important; }
.has-custom-shark-background-color { background-color: var(--wp--preset--color--shark) !important; }
.has-custom-stone-background-color { background-color: var(--wp--preset--color--stone) !important; }
.has-custom-lightly-floured-background-color { background-color: var(--wp--preset--color--lightly-floured) !important; }

/* ==========================================================================
   Page frame
   ========================================================================== */
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group:where(main) { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }
.wp-block-post-author { align-items: center; gap: 20px; }
.wp-block-post-author__avatar img { border-radius: 50%; border: 4px solid var(--wp--preset--color--pea-shoot); }
.wp-block-post-author__byline { font-family: var(--wp--preset--font-family--fjalla-one); text-transform: uppercase; font-size: 14px; letter-spacing: 0.06em; }
.wp-block-post-author__name { font-family: var(--wp--preset--font-family--fjalla-one); text-transform: uppercase; font-size: 24px; }
.wp-block-post-author__bio { color: var(--wp--preset--color--pea-shoot); font-size: 16px; }
.wp-block-post-excerpt__more-link {
	font-family: var(--wp--preset--font-family--fjalla-one);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 400;
}
.wp-block-query-pagination a,
.wp-block-query-pagination .current { font-family: var(--wp--preset--font-family--fjalla-one); font-size: 20px; }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output,
.wpcf7-response-output:empty { display: none; }
.lb-site-footer { font-size: 18px; }
.is-style-menu-box > .is-style-price-row { margin-block-start: 0; }
.is-style-menu-box > .is-style-price-row:last-child { border-bottom: 0; }
.is-style-script { padding-inline: 0.12em; }
.single .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--xx-large); }
.single .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--x-large); }
.wp-block-post-title.is-style-stamped { max-width: 960px; text-align: center; }
/* On phones, the special and pizzas come first in the menu frame. */
@media (max-width: 781px) {
	.is-style-checkered > .wp-block-column:has(.lb-special) { order: -1; }
}

/* ==========================================================================
   Catering page
   ========================================================================== */
.lb-eyebrow {
	margin-block-end: 0;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 16px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lb-muted);
}
.lb-eyebrow + .wp-block-heading { margin-block-start: 8px; }
.lb-offer { font-weight: 700; color: var(--wp--preset--color--jersey-fresh); }
.lb-stat-label {
	margin-block-end: 0;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.lb-stat {
	margin-block-start: 2px !important;
	font-family: var(--wp--preset--font-family--cyprus-sunrise-sans);
	font-size: clamp(38px, 4.6vw, 54px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--jersey-fresh);
	font-variant-ligatures: none; /* Cyprus Sans joins L+I and L+A by default */
	font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0;
}
.lb-fineprint { max-width: 900px; font-size: 15px; color: var(--lb-muted); }
.lb-catering-form .is-style-menu-box { background: var(--wp--preset--color--lightly-floured); }

/* Contact Form 7: radio and checkbox choices as pills */
.wpcf7 fieldset.lb-choice { flex: 1 1 100%; min-width: 0; margin: 22px 0; padding: 0; border: 0; }
.wpcf7 fieldset.lb-choice > p { margin: 0; }
.wpcf7 fieldset.lb-choice legend {
	margin-bottom: 10px;
	padding: 0;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label {
	flex: none;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 2px solid var(--wp--preset--color--stone);
	border-radius: 30px;
	background: var(--wp--preset--color--lightly-floured);
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
.wpcf7 .wpcf7-list-item label:has(input:checked) { border-color: var(--wp--preset--color--basil); background: var(--wp--preset--color--pea-shoot); }
.wpcf7 .wpcf7-list-item label:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--wp--preset--color--warm-beer); }
.wpcf7 .wpcf7-list-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--wp--preset--color--basil); }
.wpcf7 .lb-form-note { flex: 1 1 100%; margin: -6px 0 0; font-size: 15px; color: var(--lb-muted); }
/* Help text under a choice's question (utensils, newsletter). */
.wpcf7 .lb-choice__help {
	display: block;
	width: 100%; /* full width of the form, so it reads as one or two lines */
	margin: -4px 0 12px;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lb-muted);
}
.wpcf7 .lb-choice__help a { color: inherit; text-decoration: underline; }
/* Newsletter: the question and its note on the left, the checkbox on the
   right, so it doesn't leave a row of empty space. Stacks on phones.
   (The legend is floated so it can sit in the grid like the other parts;
   Contact Form 7 wraps the note and checkbox in a <p>, which is flattened.) */
.wpcf7 fieldset.lb-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 24px;
	align-items: center;
}
.wpcf7 fieldset.lb-newsletter > legend { float: left; grid-column: 1; grid-row: 1; margin-bottom: 4px; }
.wpcf7 fieldset.lb-newsletter > p { display: contents; }
.wpcf7 fieldset.lb-newsletter br { display: none; }
.wpcf7 fieldset.lb-newsletter .lb-choice__help { grid-column: 1; grid-row: 2; margin: 0; }
.wpcf7 fieldset.lb-newsletter .wpcf7-form-control-wrap { grid-column: 2; grid-row: 1 / span 2; width: auto; }
@media (max-width: 600px) {
	.wpcf7 fieldset.lb-newsletter { grid-template-columns: minmax(0, 1fr); }
	.wpcf7 fieldset.lb-newsletter .wpcf7-form-control-wrap { grid-column: 1; grid-row: 3; margin-top: 12px; }
}
/* Spam trap: hidden from people, filled in only by bots. */
.wpcf7 .lb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer: comfortable tap targets for the small links row
   ========================================================================== */
.lb-site-footer .has-small-font-size a { display: inline-block; padding-block: 12px; }

/* ==========================================================================
   Menu page: two-ink matchbook (Jersey Fresh + Basil on Pizza Dough)
   Pattern "Menu page" (lazybones/menu-page). The logo speckle is cut out of
   the big type like the wordmark (Speckle / Tile 512 at 85% = 435px).
   ========================================================================== */
.lb-matchbook {
	--lb-mb-red: var(--wp--preset--color--jersey-fresh, #c8391a);
	--lb-mb-ink: var(--wp--preset--color--basil, #3b4a2f);
	--lb-mb-cutout: url("assets/images/speckle-cutout-mask.png");
	--lb-mb-sq: 16px;
	position: relative;
	color: var(--lb-mb-ink);
}
/* Checkerboard bands, top and bottom */
.lb-matchbook::before,
.lb-matchbook::after {
	content: "";
	display: block;
	height: calc(var(--lb-mb-sq) * 2);
	background: conic-gradient(var(--lb-mb-red) 90deg, transparent 90deg 180deg, var(--lb-mb-red) 180deg 270deg, transparent 270deg) 0 0 / calc(var(--lb-mb-sq) * 2) calc(var(--lb-mb-sq) * 2);
	-webkit-mask-image: var(--lb-mb-cutout);
	mask-image: var(--lb-mb-cutout);
	-webkit-mask-size: 435px;
	mask-size: 435px;
}
.lb-matchbook::before { margin-bottom: clamp(32px, 4vw, 56px); }
.lb-matchbook::after { margin-top: clamp(40px, 5vw, 72px); }
.lb-matchbook .lb-speckle,
.lb-matchbook__title,
.lb-matchbook__tagline,
.lb-matchbook .lb-menu-section__title {
	-webkit-mask-image: var(--lb-mb-cutout);
	mask-image: var(--lb-mb-cutout);
	-webkit-mask-size: 435px;
	mask-size: 435px;
}

/* Masthead */
.lb-matchbook__mast { gap: 0 !important; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.lb-matchbook__eyebrow {
	margin: 0 0 6px;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: clamp(15px, 1.5vw, 20px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lb-mb-ink);
}
.lb-matchbook__title {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--cyprus-sunrise-sans);
	font-size: clamp(104px, 17vw, 240px) !important;
	font-weight: 400;
	line-height: 0.82 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--lb-mb-red) !important;
}
.lb-matchbook__tagline {
	margin: -0.42em 0 0 0.6em !important; /* overprints the foot of MENU */
	font-family: var(--wp--preset--font-family--cyprus-sunrise-script);
	font-size: clamp(44px, 6.2vw, 84px);
	line-height: 1;
	letter-spacing: 0.015em; /* brand rule */
	color: var(--lb-mb-ink);
	position: relative;
}
.lb-matchbook__pill {
	margin: clamp(18px, 2vw, 26px) 0 12px !important;
	padding: 9px 26px;
	border: 3px solid var(--lb-mb-red);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: clamp(14px, 1.35vw, 18px);
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lb-mb-ink);
}
.lb-matchbook__pill a { color: inherit; text-decoration-color: var(--lb-mb-red); text-underline-offset: 3px; }
.lb-matchbook__hours { margin: 0 !important; color: var(--lb-mb-ink); }
.lb-matchbook__hours .lb-hours__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	font-size: 16px;
	font-style: italic;
}
.lb-matchbook__hours .lb-hours__row { display: flex; gap: 0.35em; margin: 0; padding: 0; border: 0; }
.lb-matchbook__hours .lb-hours__row + .lb-hours__row::before { content: "·"; margin: 0 0.7em; font-style: normal; }
.lb-matchbook__hours dt,
.lb-matchbook__hours dd { margin: 0; font-weight: 400; }
.lb-matchbook__hours .lb-hours__row dt::after { content: none; }
.lb-matchbook__hours .lb-hours__note { margin: 4px 0 0; font-size: 14px; }

/* Section headings: Basil script between two short red rules */
.lb-matchbook .lb-menu-section__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 14px;
	font-size: clamp(38px, 3.6vw, 54px);
	color: var(--lb-mb-ink);
}
.lb-matchbook .lb-menu-section__title::before,
.lb-matchbook .lb-menu-section__title::after {
	content: "";
	flex: none;
	width: 44px;
	height: 3px;
	background: var(--lb-mb-red);
}

/* Items: red Fjalla name + price, dotted Basil leader, Basil description.
   Scoped to menu sections so the guest check keeps its own item styles. */
.lb-matchbook .lb-menu-section .butter-menu-item { padding: 9px 0; border-bottom: 0; }
.lb-matchbook .lb-menu-section .butter-menu-item-name {
	font-size: clamp(19px, 1.7vw, 23px);
	letter-spacing: 0.03em;
	color: var(--lb-mb-red);
}
.lb-matchbook .lb-menu-section .butter-menu-price-leaders {
	border-bottom: 3px dotted var(--lb-mb-ink);
	transform: translateY(-6px);
}
.lb-matchbook .lb-menu-section .butter-menu-item-price {
	font-family: var(--wp--preset--font-family--fjalla-one);
	font-size: clamp(19px, 1.7vw, 23px);
	color: var(--lb-mb-red);
}
.lb-matchbook .lb-menu-section .butter-menu-item-desc { margin-top: 2px; font-size: 15px; color: var(--lb-mb-ink); }

/* Special of the Week: the riso card is the button that opens the guest check */
.lb-matchbook .lb-special--button .lb-special__trigger,
.lb-matchbook .lb-special--button .lb-special__trigger:hover {
	position: relative;
	display: block;
	aspect-ratio: 1600 / 1000;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: url("assets/images/sotw-card-art.webp?v=0.1.13") center / 100% 100% no-repeat;
	color: transparent;
}
.lb-matchbook .lb-special--button .lb-special__trigger::after {
	content: "";
	position: absolute;
	left: 7.62%;
	top: 62.3%;
	width: 31%;
	height: 35.6%;
	background: url("assets/images/sotw-card-burst.webp") center / 100% 100% no-repeat;
	transition: transform 0.18s ease;
}
.lb-matchbook .lb-special--button .lb-special__trigger:hover::after { transform: scale(1.05) rotate(-3deg); }
.lb-matchbook .lb-special--button .lb-special__trigger:active::after { transform: scale(0.98); }
.lb-matchbook .lb-special--button .lb-special__trigger:focus-visible { outline: 3px solid var(--wp--preset--color--charcoal); outline-offset: 4px; border-radius: 18px; }
/* The arched title stays in the button for screen readers; the card shows it. */
.lb-matchbook .lb-special__trigger .lb-special__arch,
.lb-matchbook .lb-special__trigger .lb-special__arrow {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
	.lb-matchbook .lb-special--button .lb-special__trigger::after { transition: none; }
}

@media (max-width: 781px) {
	.lb-matchbook { --lb-mb-sq: 10px; }
	.lb-matchbook__cols > .wp-block-column:has(.lb-special) { order: -1; } /* special + pizzas first on phones */
	.lb-matchbook__hours .lb-hours__list { flex-direction: column; align-items: center; }
	.lb-matchbook__hours .lb-hours__row + .lb-hours__row::before { content: none; }
	.lb-matchbook .lb-menu-section__title::before,
	.lb-matchbook .lb-menu-section__title::after { width: 28px; }
}

/* ==========================================================================
   Guest check popup: riso pass with the logo speckle
   The wordmark's speckle is cut out of the printed ink; Basil at 90% so a
   little paper shows through; a Warm Beer second pass a hair out of register
   on the title and check numbers. Layout unchanged.
   ========================================================================== */
.lb-special .lb-check { --lb-ink: rgba(59, 74, 47, 0.9); }
.lb-special .lb-check__title,
.lb-special .lb-check__fields,
.lb-special .lb-check__courses,
.lb-special .lb-check__lines,
.lb-special .lb-check__receipt {
	-webkit-mask-image: url("assets/images/speckle-cutout-mask.png");
	mask-image: url("assets/images/speckle-cutout-mask.png");
	-webkit-mask-size: 435px; /* 85% of the 512px tile, as on the logo */
	mask-size: 435px;
}
.lb-special .lb-check__title { text-shadow: 2px 2px 0 rgba(232, 160, 32, 0.5); }
.lb-special .lb-check__no { text-shadow: -1.5px 1.5px 0 rgba(232, 160, 32, 0.45); }
