/* ==========================================================================
   L.E.V & Co – "Fåran". Identity notes in ../../style.css.
   ========================================================================== */

:root {
	--lev-soil: #2B211A;
	--lev-soil-2: #3A2D23;
	--lev-soil-3: #221A14;
	--lev-loam: #6B5644;
	--lev-skin: #C9955A;
	--lev-skin-ink: #8A5A2C;      /* ochre dark enough for text on light grounds */
	--lev-butter: #F2CF6B;
	--lev-butter-2: #E7BC4A;
	--lev-clay: #E9DCC6;
	--lev-clay-2: #DECDB1;
	--lev-paper: #F5EFE6;
	--lev-cream: #F4ECDD;
	--lev-leaf: #5E6B3A;
	--lev-lake: #A9BDC0;
	--lev-text: #3B2F26;
	--lev-muted: #6E5D4F;

	--lev-display: "Fraunces", Georgia, serif;
	--lev-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

	--lev-fs-hero: clamp(2.7rem, 1.5rem + 5vw, 6.4rem);
	--lev-fs-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem);
	--lev-fs-h2: clamp(2rem, 1.35rem + 2.5vw, 3.5rem);
	--lev-fs-h3: clamp(1.4rem, 1.15rem + .9vw, 1.9rem);
	--lev-fs-lead: clamp(1.12rem, 1.02rem + .4vw, 1.32rem);
	--lev-fs-small: .875rem;

	--lev-wrap: 1240px;
	--lev-gutter: clamp(16px, 4vw, 48px);
	--lev-section: clamp(72px, 9vw, 140px);
	--lev-gap: clamp(28px, 4.5vw, 72px);
	--lev-radius: 18px;
	--lev-ridge-h: clamp(26px, 4.2vw, 62px);
	--lev-ease: cubic-bezier(.22, .8, .24, 1);
}

/* Rebind Themify's palette so nothing falls back to its red. */
html:root {
	--theme_accent: var(--lev-soil);
	--theme_accent_hover: var(--lev-soil-2);
	--theme_accent_semi: rgba(43, 33, 26, .5);
	--theme_accent_contrast: var(--lev-cream);
	--tb_pr_bg: var(--lev-butter);
	--tb_pr_color: var(--lev-soil);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--lev-paper);
	color: var(--lev-text);
	font-family: var(--lev-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body, #pagewrap, #body, #layout { background-color: var(--lev-paper); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--lev-display);
	font-weight: 450;
	font-variation-settings: "SOFT" 50;
	color: inherit;
	line-height: 1.08;
	letter-spacing: -.012em;
	text-wrap: balance;
	text-transform: none;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--lev-skin-ink); }
a:focus, a:focus-visible, button:focus, button:focus-visible, input:focus, .builder_button:focus { outline: none; }
::selection { background: var(--lev-butter); color: var(--lev-soil); }
address { font-style: normal; }
em { font-style: italic; }
img { border-radius: 0; }

body.full_width #layout, body.full_width #content { max-width: none; width: 100%; padding: 0; }
.page #content, .single #content { padding-top: 0; padding-bottom: 0; }

.lev-lead { font-size: var(--lev-fs-lead); line-height: 1.55; }
.lev-h3 { font-size: var(--lev-fs-h3); margin: 0 0 .8em; }
.lev-empty { color: var(--lev-muted); }

/* Ultra spaces every list item; our lists set their own rhythm. */
[class^="lev-"] > li, [class*=" lev-"] > li { margin: 0; }

/* ---------- Layout: rows ---------- */
.themify_builder .module_row { position: relative; }
.themify_builder .module_row > .row_inner {
	max-width: var(--lev-wrap);
	width: calc(100% - 2 * var(--lev-gutter));
	margin-inline: auto;
	column-gap: var(--lev-gap);
	row-gap: 40px;
}
.themify_builder .module_column { padding: 0; }
.themify_builder .module { margin-bottom: 0; }
.themify_builder .module + .module { margin-top: 1.5rem; }
.themify_builder .module_subrow { column-gap: var(--lev-gap); row-gap: 28px; margin-bottom: 0; }
.lev-align-end { align-self: end; }

.themify_builder .module_row.lev-paper,
.themify_builder .module_row.lev-clay,
.themify_builder .module_row.lev-soil,
.themify_builder .module_row.lev-butter { padding-block: var(--lev-section); }
body .themify_builder .module_row.lev-paper { background-color: var(--lev-paper); }
body .themify_builder .module_row.lev-clay { background-color: var(--lev-clay); }
body .themify_builder .module_row.lev-soil { background-color: var(--lev-soil); color: var(--lev-cream); }
body .themify_builder .module_row.lev-butter { background-color: var(--lev-butter); color: var(--lev-soil); }
.lev-soil a:hover { color: var(--lev-butter); }

.lev-section-head { margin-bottom: clamp(40px, 5vw, 72px) !important; align-items: end; }
.lev-section-head p { max-width: 46ch; margin-left: auto; }
.lev-section-head--more { margin-top: calc(-1 * clamp(16px, 2vw, 36px)) !important; align-items: start; }
.lev-section-head--more p { max-width: 58ch; margin-left: 0; color: var(--lev-muted); }

/* ---------- Headings (fancy-heading) ---------- */
.module-fancy-heading.lev-heading .fancy-heading { margin: 0; text-align: inherit; }
.lev-heading .main-head {
	display: flex !important;
	align-items: center;
	gap: 12px;
	font-family: var(--lev-sans);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--lev-skin-ink);
	margin-bottom: 1.1rem;
}
.lev-heading .main-head::before {
	content: "";
	flex: 0 0 36px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cpath d='M1 11c3 0 4-8 5.5-8S9 11 12 11s4-8 5.5-8S20 11 23 11s4-8 5.5-8S31 11 35 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cpath d='M1 11c3 0 4-8 5.5-8S9 11 12 11s4-8 5.5-8S20 11 23 11s4-8 5.5-8S31 11 35 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lev-heading--plain .main-head { display: none !important; }
.themify-text-center.lev-heading .main-head { justify-content: center; }
.lev-heading .sub-head {
	font-family: var(--lev-display);
	font-size: var(--lev-fs-h2);
	font-weight: 420;
	line-height: 1.04;
	letter-spacing: -.02em;
	max-width: 17ch;
	text-wrap: balance;
}
.lev-heading .sub-head em { font-style: italic; font-weight: 340; color: var(--lev-skin-ink); }
.lev-soil .lev-heading .main-head, .lev-hero .lev-heading .main-head, .lev-splithero .lev-heading .main-head { color: var(--lev-butter); }
.lev-soil .lev-heading .sub-head em, .lev-hero .lev-heading .sub-head em, .lev-splithero .lev-heading .sub-head em { color: var(--lev-butter); }
.lev-butter .lev-heading .main-head, .lev-butter .lev-heading .sub-head em { color: var(--lev-soil); }

/* ---------- Buttons & links ---------- */
.lev-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lev-btns .module-buttons-item { margin: 0 !important; }
.lev-btns .builder_button,
.lev-btn,
.lev-form button[type=submit],
.lev-login-status .lev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	box-sizing: border-box; /* Themify's buttons are content-box: min-height + padding stacked to ~78px */
	min-height: 50px;
	padding: .8em 1.6em;
	border-radius: 999px !important;
	border: 1.5px solid var(--lev-butter);
	background: var(--lev-butter) !important;
	color: var(--lev-soil) !important;
	font-family: var(--lev-sans);
	font-size: .98rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none !important;
	transform: none !important;
	transition: background-color .25s var(--lev-ease), color .25s, border-color .25s;
}
.lev-btns .module-buttons-item:not(:first-child) .builder_button {
	background: transparent !important;
	border-color: currentColor;
	color: var(--lev-soil) !important;
}
.lev-btns .builder_button:hover, .lev-btn:hover, .lev-form button[type=submit]:hover {
	background: var(--lev-soil) !important;
	border-color: var(--lev-soil);
	color: var(--lev-cream) !important;
}
/* On dark grounds and photos */
.lev-btns--light .module-buttons-item:not(:first-child) .builder_button { color: var(--lev-cream) !important; border-color: rgba(244, 236, 221, .6); }
.lev-btns--light .builder_button:hover { background: var(--lev-cream) !important; border-color: var(--lev-cream); color: var(--lev-soil) !important; }
/* On butter */
.lev-btns--dark .builder_button { background: var(--lev-soil) !important; border-color: var(--lev-soil); color: var(--lev-cream) !important; }
.lev-btns--dark .module-buttons-item:not(:first-child) .builder_button { color: var(--lev-soil) !important; border-color: var(--lev-soil); }
.lev-btns--dark .builder_button:hover { background: var(--lev-paper) !important; border-color: var(--lev-paper); color: var(--lev-soil) !important; }
.lev-btns--stack { flex-direction: column; align-items: flex-start; }

.lev-link {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: .3em;
	text-decoration-color: var(--lev-skin);
}
.lev-link .lev-icon { transition: transform .25s var(--lev-ease); }
.lev-link:hover .lev-icon { transform: translateX(4px); }
.lev-soil .lev-link { text-decoration-color: var(--lev-butter); }

/* ---------- Header ---------- */
#headerwrap { background: transparent; transition: background-color .3s, box-shadow .3s, padding .3s; }
#headerwrap #header { max-width: var(--lev-wrap); width: calc(100% - 2 * var(--lev-gutter)); padding-inline: 0; display: flex; align-items: center; }
#site-logo { margin: 0; }
#site-logo a { display: block; }
#site-logo img { width: clamp(150px, 14vw, 196px); height: auto; display: block; transition: filter .3s; }
/* Light logo over photos and dark heroes */
body.transparent-header:not(.lev-light-hero) #headerwrap:not(.fixed-header) #site-logo img { filter: brightness(0) invert(.94) sepia(.12); }

#header > .sidemenu-off { margin-left: auto; }
#header > .sidemenu-off .navbar-wrapper { display: flex; align-items: center; }
#main-nav-wrap { margin-left: auto; }
.sidemenu-off #main-nav { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.sidemenu-off #main-nav > li > a {
	position: relative;
	padding: .55em .4em;
	font-family: var(--lev-sans);
	font-size: .97rem;
	font-weight: 550;
	letter-spacing: .01em;
	color: var(--lev-cream);
	text-transform: none;
}
.lev-light-hero .sidemenu-off #main-nav > li > a,
#headerwrap.fixed-header .sidemenu-off #main-nav > li > a { color: var(--lev-soil); }
.sidemenu-off #main-nav > li:not(.lev-nav-cta) > a::after {
	content: "";
	position: absolute;
	left: .4em; right: .4em; bottom: .2em;
	height: 2px;
	border-radius: 2px;
	background: var(--lev-butter);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--lev-ease);
}
.lev-light-hero .sidemenu-off #main-nav > li:not(.lev-nav-cta) > a::after,
#headerwrap.fixed-header .sidemenu-off #main-nav > li:not(.lev-nav-cta) > a::after { background: var(--lev-skin); }
.sidemenu-off #main-nav > li > a:hover::after,
#headerwrap #main-nav > li.current-menu-item > a::after,
#headerwrap #main-nav > li.current_page_item > a::after,
#headerwrap #main-nav > li.current-menu-ancestor > a::after { transform: scaleX(1); }
#headerwrap #main-nav > li > a:hover { color: inherit; }
.sidemenu-off #main-nav > li > a:hover { color: var(--lev-butter); }
.lev-light-hero .sidemenu-off #main-nav > li > a:hover, #headerwrap.fixed-header .sidemenu-off #main-nav > li > a:hover { color: var(--lev-skin-ink); }

/* CTA last in the nav */
#headerwrap #main-nav > li.lev-nav-cta { margin-left: 8px; }
#headerwrap #main-nav > li.lev-nav-cta > a {
	padding: .6em 1.25em;
	border-radius: 999px;
	background: var(--lev-butter);
	color: var(--lev-soil) !important;
	font-weight: 600;
	transition: background-color .25s, color .25s;
}
#headerwrap #main-nav > li.lev-nav-cta > a:hover { background: var(--lev-cream); color: var(--lev-soil) !important; }
.lev-light-hero #headerwrap #main-nav > li.lev-nav-cta > a:hover, #headerwrap.fixed-header #main-nav > li.lev-nav-cta > a:hover { background: var(--lev-soil); color: var(--lev-cream) !important; }
#headerwrap #main-nav > li.lev-nav-admin > a { font-size: .85rem; opacity: .8; }
.sidemenu-off #main-nav > li.lev-nav-admin { order: -1; margin-right: 6px; }

/* Dropdowns (arrow + styled panel) */
#main-nav .menu-item-has-children > a { padding-right: 1.3em; }
#main-nav .menu-item-has-children > a .child-arrow, #main-nav .sub-arrow { color: inherit; }
.sidemenu-off #main-nav .sub-menu {
	background: var(--lev-paper);
	border-radius: 14px;
	padding: 10px;
	box-shadow: 0 20px 40px rgba(43, 33, 26, .18);
	min-width: 230px;
}
.sidemenu-off #main-nav .sub-menu a { color: var(--lev-soil); padding: .55em .8em; border-radius: 8px; font-weight: 500; }
.sidemenu-off #main-nav .sub-menu a:hover, .sidemenu-off #main-nav .sub-menu .current-menu-item > a { background: var(--lev-clay); color: var(--lev-soil); }

/* Sticky state */
#headerwrap.fixed-header, body.transparent-header #headerwrap.fixed-header { background: rgba(245, 239, 230, .96); box-shadow: 0 1px 0 rgba(43, 33, 26, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.admin-bar #headerwrap.fixed-header { top: var(--wp-admin--admin-bar--height, 32px); }

/* Mobile menu */
#menu-icon { color: var(--lev-cream); }
.lev-light-hero #menu-icon, #headerwrap.fixed-header #menu-icon { color: var(--lev-soil); }
#menu-icon .menu-icon-inner { overflow: visible; }
.sidemenu-on {
	background: var(--lev-soil) !important;
	color: var(--lev-cream);
	padding-top: 76px !important;
}
.sidemenu-on #main-nav { display: block; }
.sidemenu-on #main-nav > li { border-bottom: 1px solid rgba(244, 236, 221, .12); }
.sidemenu-on #main-nav li a { color: var(--lev-cream) !important; font-family: var(--lev-display); font-size: 1.35rem; font-weight: 420; padding: .7em 0; background: transparent; }
.sidemenu-on #main-nav li.current-menu-item > a { color: var(--lev-butter) !important; }
.sidemenu-on #main-nav li.lev-nav-cta { border: 0; margin: 24px 0 0 !important; }
.sidemenu-on #main-nav li a, .sidemenu-on #main-nav li a:focus { outline: none !important; box-shadow: none !important; border: 0 !important; }
.sidemenu-on #main-nav li.lev-nav-cta > a { display: inline-block !important; width: auto !important; margin: 0 !important; }
.sidemenu-on #main-nav li.lev-nav-cta > a { display: inline-block; font-family: var(--lev-sans); font-size: 1rem; font-weight: 600; padding: .8em 1.5em; border-radius: 999px; background: var(--lev-butter); color: var(--lev-soil) !important; }
/* Administration (logged-in only): its own quiet row under the CTA, not a nav item. */
.sidemenu-on #main-nav li.lev-nav-admin { border: 0; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(244, 236, 221, .12); }
.sidemenu-on #main-nav li.lev-nav-admin > a { display: inline-flex; align-items: center; gap: 8px; padding: .3em 0; font-family: var(--lev-sans); font-size: .9rem; font-weight: 550; letter-spacing: .02em; opacity: .75; }
.sidemenu-on #main-nav li.lev-nav-admin > a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lev-butter); }
.sidemenu-on #main-nav .sub-menu a { font-family: var(--lev-sans); font-size: 1rem; }
.sidemenu-on li.toggle-on > .sub-menu { display: block; }
#menu-icon-close { color: var(--lev-cream); }
#menu-icon-close::before, #menu-icon-close::after { background-color: var(--lev-cream) !important; }

/* ---------- Ridge edge (the signature) ---------- */
.lev-hero::after, .lev-typehero::after, .lev-splithero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: var(--lev-ridge-h);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23F5EFE6' d='M0 90V58C40 58 60 26 120 26s80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32V90z'/%3E%3Cellipse fill='%23C9955A' cx='840' cy='47' rx='15' ry='10' transform='rotate(-14 840 47)'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	pointer-events: none;
	z-index: 2;
}
.lev-edge--clay::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23E9DCC6' d='M0 90V58C40 58 60 26 120 26s80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32V90z'/%3E%3Cellipse fill='%23C9955A' cx='840' cy='47' rx='15' ry='10' transform='rotate(-14 840 47)'/%3E%3C/svg%3E") !important; }

/* -2px: at fractional heights a -1px overlap still left a hairline of the hero showing. */
.lev-ridges { display: block; position: relative; width: 100%; height: var(--lev-ridge-h); color: var(--lev-paper); margin-bottom: -2px; }
.lev-ridges__tuber { fill: var(--lev-skin); }

/* ---------- Hero (full-bleed photo) ---------- */
body .themify_builder .module_row.lev-hero {
	min-height: 82svh;
	display: flex;
	align-items: flex-end;
	padding: clamp(150px, 18vh, 220px) 0 calc(var(--lev-ridge-h) + clamp(48px, 7vw, 96px));
	background-color: var(--lev-soil);
	background-size: cover;
	color: var(--lev-cream);
	overflow: hidden;
}
body .themify_builder .module_row.lev-hero.lev-hero--home { min-height: 100svh; }
.lev-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(25, 18, 12, .5) 0%, rgba(25, 18, 12, 0) 62%),
		linear-gradient(180deg, rgba(25, 18, 12, .62) 0%, rgba(25, 18, 12, .08) 34%, rgba(25, 18, 12, .2) 60%, rgba(25, 18, 12, .72) 100%);
	z-index: 1;
	pointer-events: none;
}
.lev-hero > .row_inner { position: relative; z-index: 3; align-items: end; width: calc(100% - 2 * var(--lev-gutter)); }
.lev-hero .lev-heading .main-head { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.lev-hero .lev-hero__head .sub-head { font-size: var(--lev-fs-hero); max-width: 12ch; line-height: .98; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.lev-hero__card {
	padding: clamp(22px, 2.4vw, 32px) !important;
	border-radius: 20px;
	background: rgba(43, 33, 26, .38);
	border: 1px solid rgba(244, 236, 221, .2);
	-webkit-backdrop-filter: blur(14px) saturate(1.1);
	backdrop-filter: blur(14px) saturate(1.1);
}
.lev-hero__card .lev-lead { font-size: 1.08rem; line-height: 1.6; margin: 0; }
.lev-hero__card .lev-btns { margin-top: 1.4rem !important; }

/* Type-led hero (Recept) */
body .themify_builder .module_row.lev-typehero {
	padding: clamp(150px, 18vh, 210px) 0 calc(var(--lev-ridge-h) + clamp(56px, 7vw, 110px));
	overflow: hidden;
}
.lev-typehero > .row_inner { align-items: center; }
.lev-typehero .lev-hero__head .sub-head { font-size: var(--lev-fs-h1); max-width: 13ch; }
.lev-plates { position: relative; height: clamp(300px, 34vw, 440px); }
.lev-plates .lev-plate { position: absolute; }
.lev-plates .lev-plate:nth-child(1) { width: 46%; left: 6%; top: 4%; }
.lev-plates .lev-plate:nth-child(2) { width: 36%; right: 4%; top: 0; }
.lev-plates .lev-plate:nth-child(3) { width: 30%; left: 0; bottom: 2%; }
.lev-plates .lev-plate:nth-child(4) { width: 40%; left: 34%; bottom: 0; }
.lev-plates .lev-plate:nth-child(5) { width: 22%; right: 0; bottom: 30%; }

/* Split hero (Kontakta oss) */
body .themify_builder .module_row.lev-splithero {
	padding: clamp(150px, 18vh, 210px) 0 calc(var(--lev-ridge-h) + clamp(56px, 7vw, 110px));
	overflow: hidden;
}
.lev-splithero > .row_inner { align-items: center; }
.lev-splithero .lev-hero__head .sub-head { font-size: var(--lev-fs-h1); max-width: 12ch; }
.lev-splithero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--lev-radius); }
.lev-splithero__media { position: relative; }
.lev-splithero__media::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1.5px solid rgba(242, 207, 107, .45);
	border-radius: var(--lev-radius);
}

/* ---------- Images ---------- */
.lev-img img { border-radius: var(--lev-radius); width: 100%; display: block; }
.lev-img--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.lev-img--wide img { aspect-ratio: 4 / 3; object-fit: cover; }
.module-image.lev-img .image-wrap { display: block; }

/* Intro split */
.lev-intro > .row_inner { align-items: center; }
.lev-intro__copy .lev-lead { margin-top: 0; }
.lev-intro__media { position: relative; }
.lev-intro__media::after {
	content: "";
	position: absolute;
	right: -18px; bottom: -18px;
	width: 46%; height: 34%;
	border-radius: var(--lev-radius);
	background: var(--lev-butter);
	z-index: -1;
}

/* Mosaic: one tall photo, two stacked */
.themify_builder .module_subrow.lev-mosaic { display: grid !important; grid-template-columns: 1.15fr 1fr !important; grid-template-rows: 1fr 1fr !important; grid-template-areas: none !important; gap: 14px; height: clamp(360px, 40vw, 520px); }
.themify_builder .module_subrow.lev-mosaic > .module_column { grid-area: auto !important; min-height: 0; width: auto !important; margin: 0 !important; }
.themify_builder .module_subrow.lev-mosaic > .module_column:first-child { grid-row: 1 / 3 !important; }
.lev-mosaic .module + .module { margin-top: 0; }
.themify_builder .module_subrow.lev-mosaic > .module_column { display: block !important; }
.lev-mosaic .module, .lev-mosaic .image-wrap, .lev-mosaic a { height: 100%; display: block; }
.lev-mosaic img { width: 100%; height: 100% !important; object-fit: cover; border-radius: var(--lev-radius); }
.lev-growers-row > .row_inner, .lev-restaurant > .row_inner, .lev-quality > .row_inner, .lev-story > .row_inner { align-items: center; }

/* ---------- Sorting table (start page) ---------- */
.lev-table {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 48px) clamp(16px, 2.6vw, 40px);
}
.lev-table__item a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--lev-soil); }
/* Potato photos are shown whole, on the white they were shot on. Many are framed
   tight (a tuber touches the edge), so they are never blended, masked or cropped. */
.lev-tuber { display: block; background: #fff; border-radius: 16px; object-fit: contain; }
.lev-table__img { width: min(100%, 280px); height: auto; aspect-ratio: 1; box-shadow: 0 14px 30px rgba(43, 33, 26, .1); transition: transform .5s var(--lev-ease), box-shadow .5s; }
.lev-table__item a:hover .lev-table__img { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(43, 33, 26, .16); }
.lev-table__name { font-family: var(--lev-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 400; margin-top: .9rem; }
.lev-table__note { font-size: var(--lev-fs-small); color: var(--lev-muted); max-width: 26ch; }
.lev-table-row { padding-bottom: calc(var(--lev-section) + 40px) !important; }

/* ---------- Chain: field to bag ---------- */
.lev-chain { position: relative; }
.lev-chain__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; position: relative; }
.lev-chain__step { display: flex; flex-direction: column; gap: 6px; padding-top: 58px; position: relative; }
.lev-chain__seed {
	position: absolute;
	z-index: 1;
	top: 18px; left: 0;
	width: 30px; height: 22px;
	border-radius: 50% 46% 52% 44% / 56% 50% 48% 44%;
	background: var(--lev-butter);
	box-shadow: inset -4px -4px 0 rgba(138, 90, 44, .35);
	transform: rotate(-12deg);
}
.lev-chain__step:nth-child(even) .lev-chain__seed { transform: rotate(14deg); }
/* Furrow: one arc from this seed's centre to the next (step width + gap), alternating
   up and down so the whole line reads as a wave through every seed. */
.lev-chain__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 15px; left: 15px;
	width: calc(100% + 20px); height: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath d='M0 14Q50 -6 100 14' fill='none' stroke='%23C9955A' stroke-width='2' stroke-dasharray='2 8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}
.lev-chain__step:nth-child(even):not(:last-child)::after { transform: scaleY(-1); }
.lev-chain__step strong { font-family: var(--lev-display); font-size: 1.3rem; font-weight: 450; color: var(--lev-cream); line-height: 1.15; }
.lev-chain__step span:not(.lev-chain__seed) { font-size: .9rem; line-height: 1.5; color: rgba(244, 236, 221, .72); }

/* ---------- Climate band ---------- */
.lev-climate > .row_inner, .lev-climate-goal > .row_inner { align-items: center; }
.lev-climate .sub-head { max-width: 20ch !important; }
.lev-climate__badge img { background: #fff; padding: 18px; border-radius: var(--lev-radius); box-shadow: 0 20px 40px rgba(43, 33, 26, .12); }

/* ---------- Recipes: the menu card ---------- */
.lev-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--lev-gap); }
.lev-menu__item { border-top: 1px solid rgba(43, 33, 26, .14); }
.lev-menu__item a { display: grid; grid-template-columns: clamp(96px, 11vw, 136px) 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; text-decoration: none; color: inherit; }
.lev-menu__body { display: flex; flex-direction: column; gap: 4px; }
.lev-menu__type { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lev-skin-ink); }
.lev-menu__title { font-family: var(--lev-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 450; line-height: 1.15; transition: color .2s; }
.lev-menu__item a:hover .lev-menu__title { color: var(--lev-skin-ink); }
.lev-menu__lead { font-size: .95rem; color: var(--lev-muted); line-height: 1.5; }
.lev-menu__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--lev-muted); margin-top: 4px; }
.lev-menu__item.is-hidden { display: none; }
.lev-menu--compact { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.lev-menu--compact .lev-menu__item a { grid-template-columns: 96px 1fr; }

.lev-plate {
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(43, 33, 26, .08), 0 18px 30px rgba(43, 33, 26, .14);
	transition: transform .5s var(--lev-ease);
}
.lev-plate img, .lev-plate__img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.lev-menu__item a:hover .lev-plate { transform: rotate(-8deg) scale(1.04); }

/* ---------- Filters ---------- */
.lev-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.lev-filter__btn,
body .lev-filter__btn {
	appearance: none;
	padding: .6em 1.15em;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 33, 26, .25);
	background: transparent !important;
	color: var(--lev-soil) !important;
	font-family: var(--lev-sans);
	font-size: .95rem;
	font-weight: 550;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none !important;
	transform: none !important;
	transition: background-color .2s, border-color .2s, color .2s;
}
.lev-filter__btn span { font-weight: 400; opacity: .6; margin-left: 2px; }
.lev-filter__btn:hover { border-color: var(--lev-soil); }
.lev-filter__btn.is-active { background: var(--lev-soil) !important; border-color: var(--lev-soil); color: var(--lev-cream) !important; }

/* ---------- Products: the range ---------- */
.lev-range__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 40px); }
.lev-range__item.is-hidden { display: none; }
.lev-range__item a { display: flex; flex-direction: column; gap: 4px; height: 100%; text-decoration: none; color: inherit; }
.lev-range__tray {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 16px;
	background: #fff;
	margin-bottom: 14px;
	box-shadow: 0 1px 0 rgba(43, 33, 26, .06);
	transition: box-shadow .3s, transform .4s var(--lev-ease);
}
/* Absolute so a non-square photo can't stretch the card: every tray stays square. */
.lev-range__tray .lev-tuber { position: absolute; inset: 0; width: 100%; height: 100%; }
.lev-range__item a:hover .lev-range__tray { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(43, 33, 26, .14); }
.lev-range__name { font-family: var(--lev-display); font-size: 1.4rem; font-weight: 450; line-height: 1.15; }
.lev-range__kok { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lev-skin-ink); }
.lev-range__note { font-size: .95rem; color: var(--lev-muted); line-height: 1.45; margin-bottom: 8px; }
/* Pushed to the bottom so the pack lines align across a row. */
.lev-range__packs { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(43, 33, 26, .12); font-size: .85rem; }
.lev-range__packs b { font-weight: 600; margin-right: 4px; }

.lev-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lev-single .lev-badges { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 1.2rem; }
.lev-badge { display: inline-block; padding: .3em .75em; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: var(--lev-soil); color: var(--lev-cream); }
.lev-badge--ekologisk { background: var(--lev-leaf); }
.lev-badge--klass-2 { background: var(--lev-skin-ink); }
.lev-badge--rosa-bandet { background: #B4536F; }

/* ---------- Spec sheet ---------- */
.lev-spec { margin: 0; }
.lev-spec > div { display: grid; grid-template-columns: minmax(130px, 30%) 1fr; gap: 8px 28px; padding: 18px 0; border-top: 1px solid rgba(43, 33, 26, .16); }
.lev-spec > div:last-child { border-bottom: 1px solid rgba(43, 33, 26, .16); }
.lev-spec dt { font-family: var(--lev-display); font-style: italic; font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.lev-spec dd { margin: 0; }
.lev-spec--light > div, .lev-soil .lev-spec > div { border-color: rgba(244, 236, 221, .18); }
.lev-soil .lev-spec dt { color: var(--lev-butter); }
.lev-spec-row > .row_inner { align-items: start; }

/* ---------- Quote ---------- */
.lev-quote { margin: 2.2rem 0 0; padding: 0; border: 0; }
/* The ridge mark (signature) introduces a quote instead of a side rule. */
.lev-quote::before { content: ""; display: block; width: 36px; height: 12px; margin-bottom: .9rem; background: var(--lev-skin);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cpath d='M1 11c3 0 4-8 5.5-8S9 11 12 11s4-8 5.5-8S20 11 23 11s4-8 5.5-8S31 11 35 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cpath d='M1 11c3 0 4-8 5.5-8S9 11 12 11s4-8 5.5-8S20 11 23 11s4-8 5.5-8S31 11 35 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.lev-soil .lev-quote::before { background: var(--lev-butter); }
.lev-quote p { font-family: var(--lev-display); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.4; margin: 0 0 .6rem; }
.lev-quote cite { font-style: normal; font-size: .9rem; color: var(--lev-muted); }
.lev-quote--light cite, .lev-soil .lev-quote cite { color: rgba(244, 236, 221, .7); }
.lev-soil .lev-quote p { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }

/* ---------- Growers ---------- */
.lev-growers { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); margin-top: clamp(36px, 4vw, 60px); }
.lev-grower { display: grid; grid-template-columns: 5fr 7fr; gap: var(--lev-gap); align-items: center; }
.lev-grower:nth-child(even) { grid-template-columns: 7fr 5fr; }
.lev-grower:nth-child(even) .lev-grower__photo { order: 2; }
.lev-grower__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--lev-radius); display: block; transition: transform .6s var(--lev-ease); }
.lev-grower__photo { display: block; overflow: hidden; border-radius: var(--lev-radius); }
.lev-grower__photo:hover img { transform: scale(1.04); }
.lev-grower__people { margin: 0 0 .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lev-skin-ink); }
.lev-grower__name { font-size: var(--lev-fs-h3); margin: 0 0 .6rem; }
.lev-grower__name a { text-decoration: none; }
.lev-grower__lead { margin: 0 0 1.2rem; max-width: 52ch; }
.lev-facts { margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 24px; }
.lev-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lev-muted); }
.lev-facts dd { margin: 2px 0 0; font-family: var(--lev-display); font-size: 1.12rem; line-height: 1.3; }
.lev-facts--stack { display: flex; flex-direction: column; gap: 0; }
.lev-facts--stack > div { padding: 14px 0; border-top: 1px solid rgba(43, 33, 26, .14); }
.lev-growers-list .lev-heading .sub-head { max-width: 22ch; }

/* ---------- Map ---------- */
.lev-map-row > .row_inner { align-items: start; }
/* The map and grower list run long: the copy stays in view beside them. */
@media (min-width: 901px) {
	.lev-map-row__copy { position: sticky !important; top: 120px; }
}
.lev-map { display: grid; grid-template-columns: 1fr; gap: 28px; }
.lev-map__canvas { max-width: 460px; }
.lev-map__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.lev-map__list .lev-map__group + .lev-map__group { margin-top: 0; }
.lev-map__svg { width: 100%; height: auto; display: block; overflow: visible; }
.lev-map__region { fill: var(--lev-clay); }
.lev-map__region--og { fill: var(--lev-clay-2); }
.lev-map__water { fill: var(--lev-lake); }
.lev-map__route { fill: none; stroke: var(--lev-skin); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; }
.lev-map__dot { fill: var(--lev-soil); stroke: var(--lev-butter); stroke-width: 2.5; transition: r .2s; }
.lev-map__dot.is-active { r: 8; fill: var(--lev-skin-ink); }
.lev-map__home circle:first-child { fill: var(--lev-butter); stroke: var(--lev-soil); stroke-width: 2; }
.lev-map__home circle:last-child { fill: var(--lev-soil); }
.lev-map__town { fill: var(--lev-muted); }
.lev-map__label { font-family: var(--lev-sans); font-size: 11px; fill: var(--lev-muted); }
.lev-map__label--home { font-size: 13px; font-weight: 700; fill: var(--lev-soil); }
.lev-map__area { font-family: var(--lev-display); font-style: italic; font-size: 22px; fill: var(--lev-loam); }
.lev-map__lake { font-family: var(--lev-display); font-style: italic; font-size: 13px; fill: #56707A; }
.lev-map__note { font-size: .78rem; color: var(--lev-muted); margin: 6px 0 0; }
.lev-map__group + .lev-map__group { margin-top: 22px; }
.lev-map__group-title { font-family: var(--lev-display); font-style: italic; font-size: 1.3rem; margin: 0 0 6px; }
.lev-map__list ul { list-style: none; margin: 0; padding: 0; }
.lev-map__list li { display: flex; flex-direction: column; padding: 7px 0; border-top: 1px solid rgba(43, 33, 26, .12); }
.lev-map__list li a { font-weight: 600; text-decoration: none; }
.lev-map__list li a:hover, .lev-map__list li a.is-active { color: var(--lev-skin-ink); }
.lev-map__list li span { font-size: .82rem; color: var(--lev-muted); }

/* ---------- Single views ---------- */
.lev-single__wrap { max-width: var(--lev-wrap); width: calc(100% - 2 * var(--lev-gutter)); margin-inline: auto; }
.lev-single__hero { position: relative; background: var(--lev-clay); padding-top: clamp(140px, 16vh, 190px); }
.lev-single__hero--dark { background: var(--lev-soil); color: var(--lev-cream); }
.lev-single__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--lev-gap); align-items: center; padding-bottom: clamp(32px, 4vw, 56px); }
.lev-single__title { font-size: var(--lev-fs-h1); margin: 0 0 .4em; font-weight: 420; letter-spacing: -.025em; }
.lev-single--produkt .lev-single__title, .lev-single--recept .lev-single__title { font-style: italic; font-weight: 380; }
.lev-single__lead { font-size: var(--lev-fs-lead); max-width: 44ch; margin: 0; }
.lev-single__meta { display: flex; align-items: center; gap: 8px; color: var(--lev-muted); margin: 1rem 0 0; }
.lev-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lev-skin-ink); }
.lev-single__hero--dark .lev-eyebrow { color: var(--lev-butter); }
.lev-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.6rem; font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .8; }
.lev-back::before { content: "←"; transition: transform .25s var(--lev-ease); }
.lev-back:hover { opacity: 1; }
.lev-back:hover::before { transform: translateX(-4px); }
.lev-single__media--tuber { display: grid; place-items: center; }
.lev-single__tuber { width: min(100%, 460px); height: auto; aspect-ratio: 1; border-radius: var(--lev-radius); box-shadow: 0 24px 50px rgba(43, 33, 26, .14); }
.lev-single__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--lev-radius); display: block; }
.lev-single__cols { display: grid; grid-template-columns: 2fr 1fr; gap: var(--lev-gap); padding-block: clamp(56px, 7vw, 100px); }
.lev-single__main p { max-width: 64ch; }
.lev-single__main > p:first-of-type { font-size: var(--lev-fs-lead); }
.lev-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lev-chips li { padding: .25em .75em; border-radius: 999px; background: var(--lev-clay); font-family: var(--lev-sans); font-size: .85rem; }
.lev-single__more { padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid rgba(43, 33, 26, .1); }
.lev-single__more--table { background: var(--lev-clay); border: 0; }
.lev-single__more--table .lev-table { grid-template-columns: repeat(5, 1fr); }
.lev-single__more--table .lev-table__item { margin-top: 0 !important; }
.lev-single__more--table .lev-table__name { font-size: 1.3rem; }
.lev-namelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; }
.lev-namelist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(43, 33, 26, .14); }
.lev-namelist a { font-family: var(--lev-display); font-size: 1.2rem; text-decoration: none; }
.lev-namelist span { font-size: .82rem; color: var(--lev-muted); align-self: center; }

.lev-packs { padding-block: clamp(56px, 7vw, 100px); background: var(--lev-paper); border-top: 1px solid rgba(43, 33, 26, .1); }
.lev-packs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px; }
.lev-packs__item { display: flex; flex-direction: column; gap: 2px; }
.lev-packs__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.lev-packs__img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s var(--lev-ease); }
.lev-packs__img:hover img { transform: scale(1.05); }
.lev-packs__img--none { display: grid; place-items: center; background: var(--lev-clay); font-family: var(--lev-display); font-style: italic; font-size: 2.2rem; color: var(--lev-loam); }
.lev-packs__weight { font-family: var(--lev-display); font-size: 1.25rem; }
.lev-packs__channel { font-size: .85rem; color: var(--lev-muted); }
.lev-packs__note { margin: 2rem 0 0; font-size: .95rem; color: var(--lev-muted); }

.lev-single__cta { background: var(--lev-soil); color: var(--lev-cream); padding-block: clamp(64px, 8vw, 110px); }
.lev-single__cta-title { font-size: var(--lev-fs-h2); max-width: 22ch; margin: 0 0 .5em; }
.lev-single__cta p { max-width: 52ch; color: rgba(244, 236, 221, .8); margin: 0 0 1.8rem; }

/* Recipe single */
.lev-plate--large { width: min(100%, 420px); margin-inline: auto; box-shadow: 0 0 0 12px #fff, 0 0 0 13px rgba(43, 33, 26, .08), 0 30px 60px rgba(43, 33, 26, .18); }
.lev-recipe { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: var(--lev-gap); padding-block: clamp(56px, 7vw, 100px); align-items: start; }
.lev-recipe__aside { background: var(--lev-clay); border-radius: var(--lev-radius); padding: clamp(24px, 3vw, 36px); position: sticky; top: 110px; }
.lev-recipe__sub { font-family: var(--lev-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lev-skin-ink); margin: 1.4rem 0 .4rem; }
.lev-recipe__ingr { list-style: none; margin: 0; padding: 0; }
.lev-recipe__ingr li { padding: 7px 0; border-bottom: 1px dashed rgba(43, 33, 26, .2); }
.lev-recipe__potato { display: flex; align-items: center; gap: 12px; margin-top: 1.6rem; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--lev-paper); text-decoration: none; }
.lev-recipe__potato img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; }
.lev-recipe__potato span { display: flex; flex-direction: column; font-family: var(--lev-display); font-size: 1.1rem; line-height: 1.2; }
.lev-recipe__potato small { font-family: var(--lev-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lev-muted); }
.lev-recipe__steps { margin: 0; padding-left: 1.4em; }
.lev-recipe__steps li { padding: 0 0 1.1rem .5em; font-size: 1.08rem; }
.lev-recipe__steps li::marker { font-family: var(--lev-display); font-style: italic; color: var(--lev-skin-ink); }
.lev-recipe__tips { margin-top: 1.6rem; padding: 18px 22px; border-radius: 14px; background: color-mix(in srgb, var(--lev-butter) 45%, var(--lev-paper)); }
.lev-recipe__source { font-size: .9rem; color: var(--lev-muted); }
.lev-print,
body .lev-print {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 1.4rem;
	padding: .6em 1.1em;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 33, 26, .3);
	background: transparent !important;
	color: var(--lev-soil) !important;
	font-family: var(--lev-sans); font-size: .9rem; font-weight: 600;
	box-shadow: none !important; transform: none !important; cursor: pointer;
}
.lev-print:hover { border-color: var(--lev-soil); }

/* ---------- Contact ---------- */
.lev-contact { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 16px; }
.lev-contact li { display: flex; gap: 14px; align-items: flex-start; }
.lev-contact .lev-icon { flex: 0 0 auto; margin-top: 4px; color: var(--lev-butter); }
.lev-contact li > span { display: flex; flex-direction: column; }
.lev-contact b { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.lev-contact a, .lev-contact address { font-family: var(--lev-display); font-size: 1.25rem; text-decoration: none; }
.lev-contact__social { gap: 22px !important; padding-top: 8px; }
.lev-contact__social a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--lev-sans) !important; font-size: .95rem !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: .3em; }
.lev-contact__social .lev-icon { margin: 0; }
.lev-contact-row > .row_inner { align-items: start; }
.lev-contact-row__aside .lev-spec > div { grid-template-columns: 1fr; gap: 4px; }
.lev-contact-row__form { background: var(--lev-clay); border-radius: 22px; padding: clamp(24px, 3.4vw, 48px) !important; }

.lev-form .builder-contact-field { margin-bottom: 18px; }
.lev-form label.control-label { font-weight: 600; font-size: .92rem; color: var(--lev-soil); margin-bottom: 6px; display: block; }
.lev-form input.form-control, .lev-form textarea.form-control, .lev-form input[type=text], .lev-form input[type=email], .lev-form input[type=tel] {
	width: 100%;
	background: #fff !important;
	border: 1.5px solid transparent !important;
	border-radius: 12px !important;
	padding: 14px 16px !important;
	font-family: var(--lev-sans);
	font-size: 1rem;
	color: var(--lev-soil);
	box-shadow: 0 1px 0 rgba(43, 33, 26, .06);
	transition: border-color .2s;
}
.lev-form textarea.form-control { min-height: 160px; }
.lev-form input.form-control:focus, .lev-form textarea.form-control:focus { border-color: var(--lev-skin) !important; }
.lev-form .builder-contact-field-sendcopy label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; }
.lev-form button[type=submit] { cursor: pointer; }
.lev-form .builder-contact-field-send { margin-top: 8px; }
.lev-form .contact-success, .lev-form .contact-error { border-radius: 12px; padding: 12px 16px; }

.lev-mapembed { border-radius: 22px; overflow: hidden; height: clamp(320px, 34vw, 440px); background: var(--lev-clay-2); }
.lev-mapembed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.18); }
.lev-find-row > .row_inner { align-items: center; }

/* ---------- Footer (layout part) ---------- */
body > .tb_layout_part_wrap { position: relative; background: var(--lev-soil); color: var(--lev-cream); }
body > .tb_layout_part_wrap::before {
	content: "";
	position: absolute;
	left: 0; right: 0;
	bottom: calc(100% - 1px);
	height: var(--lev-ridge-h);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%232B211A' d='M0 90V58C40 58 60 26 120 26s80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32 60-32 120-32 80 32 120 32V90z'/%3E%3Cellipse fill='%23C9955A' cx='360' cy='47' rx='15' ry='10' transform='rotate(-14 360 47)'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	pointer-events: none;
}
/* No ridge edge when the page already ends on soil. */
body:has(#body .themify_builder_content > .module_row.lev-soil:last-child) > .tb_layout_part_wrap::before,
body:has(.lev-single__cta) > .tb_layout_part_wrap::before { display: none; }
body:has(#body .themify_builder_content > .module_row.lev-soil:last-child) .lev-footer,
body:has(.lev-single__cta) .lev-footer { border-top: 1px solid rgba(244, 236, 221, .1); }
body .themify_builder .module_row.lev-footer { padding: clamp(64px, 7vw, 100px) 0 48px; background: var(--lev-soil); color: var(--lev-cream); }
.lev-footer .tb_text_wrap > :first-child { margin-top: 0; }
.lev-footer .tb_text_wrap > :last-child { margin-bottom: 0; }
.lev-footer .lev-footer__title + .module { margin-top: 0; }
.lev-footer__logo img { width: 230px; height: auto; display: block; }
.lev-footer__about { max-width: 40ch; color: rgba(244, 236, 221, .78); }
.lev-footer__social { display: flex; flex-wrap: wrap; gap: 22px; }
.lev-footer__social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: rgba(242, 207, 107, .6); }
.lev-footer__social .lev-icon { color: var(--lev-butter); }
.lev-footer__title h4 .sub-head, .lev-footer__title .sub-head { font-family: var(--lev-sans) !important; font-size: .78rem !important; font-weight: 600 !important; letter-spacing: .16em; text-transform: uppercase; color: var(--lev-butter); max-width: none !important; margin-bottom: 1rem; }
.lev-footer__links { list-style: none; margin: 0; padding: 0; }
.lev-footer__links li { padding: 4px 0; margin: 0; }
.lev-footer__links a { text-decoration: none; }
.lev-footer__links a:hover { color: var(--lev-butter); }
.lev-footer__contact li { display: flex; flex-direction: column; padding: 7px 0; }
.lev-footer__contact span { font-size: .78rem; color: rgba(244, 236, 221, .6); }
body .themify_builder .module_row.lev-footer-bottom { padding: 22px 0; background: var(--lev-soil-3); color: rgba(244, 236, 221, .66); font-size: .85rem; }
.lev-footer-bottom p { margin: 0; }
.lev-footer-bottom > .row_inner { align-items: center; }
.lev-credit { text-align: right; }
.lev-credit a { color: var(--lev-cream); }

/* Back to top: a butter-yellow potato */
#pagewrap .back-top.back-top-float {
	width: 54px; height: 46px;
	right: 22px; bottom: 22px;
	border-radius: 52% 48% 50% 46% / 58% 52% 48% 44%;
	background: var(--lev-butter);
	box-shadow: inset -5px -5px 0 rgba(138, 90, 44, .3), 0 10px 24px rgba(43, 33, 26, .25);
	transform: rotate(-8deg);
	transition: transform .3s var(--lev-ease), opacity .3s;
}
#pagewrap .back-top.back-top-float:hover { transform: rotate(0) translateY(-3px); }
#pagewrap .back-top.back-top-float .arrow-up a { color: var(--lev-soil); }
#pagewrap .back-top.back-top-float .arrow-up a::before { border-color: var(--lev-soil); border-width: 2px 0 0 2px; width: 11px; height: 11px; margin-top: 3px; }

/* ---------- Utility pages ---------- */
.lev-404 .lev-hero__head .main-head { color: var(--lev-butter); }
.lev-404-num .sub-head {
	font-size: clamp(6rem, 3rem + 14vw, 15rem) !important;
	line-height: .85 !important;
	font-style: italic;
	color: transparent !important;
	-webkit-text-stroke: 2px var(--lev-butter);
	max-width: none !important;
}
.lev-404-title { font-family: var(--lev-display); font-style: italic; font-size: var(--lev-fs-h2); line-height: 1.05; color: var(--lev-cream); margin: .4rem 0 0; }
.lev-namelist--big { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 var(--lev-gap); margin-top: 2rem; }
.lev-namelist--big li { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 20px 0; }
.lev-namelist--big a { font-size: 1.6rem; }
.lev-namelist--big span { align-self: flex-start; font-size: .95rem; }
.lev-login-row > .row_inner { align-items: center; }
.lev-login-card { background: var(--lev-paper); color: var(--lev-soil); border-radius: 22px; padding: clamp(26px, 3.4vw, 44px) !important; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
#lev-loginform p { margin: 0 0 16px; }
#lev-loginform label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
#lev-loginform .login-remember label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; }
#lev-loginform input[type=text], #lev-loginform input[type=password] { width: 100%; background: #fff; border: 1.5px solid var(--lev-clay-2); border-radius: 12px; padding: 13px 15px; font-size: 1rem; font-family: var(--lev-sans); }
#lev-loginform input[type=text]:focus, #lev-loginform input[type=password]:focus { border-color: var(--lev-skin); }
#lev-loginform input[type=submit],
body #lev-loginform .button-primary { min-height: 50px; padding: .8em 2em; border: 0; border-radius: 999px; background: var(--lev-butter) !important; color: var(--lev-soil) !important; font-weight: 600; font-family: var(--lev-sans); font-size: 1rem; cursor: pointer; box-shadow: none !important; transform: none !important; }
#lev-loginform input[type=submit]:hover { background: var(--lev-soil) !important; color: var(--lev-cream) !important; }
.lev-login-msg { padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 500; }
.lev-login-msg--error { background: #F4D9CF; color: #7A2A14; }
.lev-login-msg--notice { background: color-mix(in srgb, var(--lev-butter) 50%, #fff); }
.lev-login-lost { margin: 6px 0 0; font-size: .92rem; }
.lev-login-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* Administration */
.lev-admin-table-wrap { overflow-x: auto; border-radius: 16px; background: #fff; }
.lev-admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lev-admin-table th { text-align: left; background: var(--lev-soil); color: var(--lev-cream); font-weight: 600; padding: 12px 14px; }
.lev-admin-table td { padding: 11px 14px; border-top: 1px solid var(--lev-clay); vertical-align: top; }
.lev-admin-todo { color: #A3412A; font-weight: 600; }
.lev-status { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--lev-clay); }
.lev-status--publish { background: color-mix(in srgb, var(--lev-leaf) 25%, #fff); color: #36401F; }
.lev-status--draft { background: color-mix(in srgb, var(--lev-butter) 50%, #fff); }
.lev-admin-card { background: var(--lev-paper); border-radius: 22px; padding: clamp(22px, 3vw, 40px) !important; }
.lev-admin-card .lev-heading .sub-head { font-size: var(--lev-fs-h3); }
.lev-admin-forms > .row_inner { align-items: start; }

/* FEA / ACF front-end forms */
.lev-admin-card .acf-fields { display: flex; flex-wrap: wrap; gap: 0 18px; }
.lev-admin-card .acf-fields::before, .lev-admin-card .acf-fields::after, .lev-admin-card .acf-checkbox-list::before, .lev-admin-card .acf-checkbox-list::after { display: none !important; content: none !important; }
.lev-admin-card .acf-fields > .acf-field { width: 100% !important; float: none !important; border: 0 !important; padding: 10px 0 !important; }
.lev-admin-card .acf-fields > .acf-field[data-width] { width: auto !important; flex: 1 1 200px; }
.lev-admin-card .acf-field .acf-label label { font-weight: 600; color: var(--lev-soil); }
.lev-admin-card .acf-field .acf-input { display: flex; flex-direction: column; }
.lev-admin-card .acf-field p.description { order: 2; margin-top: 6px; font-size: .82rem; color: var(--lev-muted); }
.lev-admin-card input[type=text], .lev-admin-card input[type=url], .lev-admin-card input[type=number], .lev-admin-card textarea, .lev-admin-card select {
	background: #fff !important; border: 1.5px solid var(--lev-clay-2) !important; border-radius: 10px !important; padding: 10px 12px !important; font-family: var(--lev-sans); font-size: 1rem; box-shadow: none !important;
}
.lev-admin-card .acf-repeater .acf-table { border-radius: 12px; overflow: hidden; border-color: var(--lev-clay-2); }
.lev-admin-card .acf-repeater .acf-row-handle { background: var(--lev-clay); }
.lev-admin-card .acf-button, .lev-admin-card .fea-submit-button, .lev-admin-card input[type=submit], .lev-admin-card button.button {
	border-radius: 999px !important; background: var(--lev-soil) !important; color: var(--lev-cream) !important; border: 0 !important; padding: .7em 1.4em !important; font-weight: 600; box-shadow: none !important; transform: none !important; cursor: pointer;
}
.lev-admin-card .acf-button:hover, .lev-admin-card input[type=submit]:hover { background: var(--lev-skin-ink) !important; }
.lev-admin-card .fea-delete-button, .lev-admin-card .delete-button, .lev-admin-card [class*=delete] .button { background: #A3412A !important; }

/* ---------- Reveal animation ---------- */
.lev-anim:not(.lev-anim-done) .themify_builder .module_row.lev-reveal { opacity: 0; transition: opacity .9s var(--lev-ease); }
.lev-anim .themify_builder .module_row.lev-reveal.is-in { opacity: 1; }
.lev-anim:not(.lev-anim-done) .lev-reveal .module,
.lev-anim:not(.lev-anim-done) .lev-reveal-item { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--lev-ease), transform .8s var(--lev-ease); transition-delay: var(--lev-delay, 0s); }
.lev-anim .lev-reveal.is-in .module,
.lev-anim .lev-reveal-item.is-in { opacity: 1; transform: none; }
.lev-anim-done .module_row.lev-reveal, .lev-anim-done .lev-reveal .module, .lev-anim-done .lev-reveal-item { opacity: 1; transform: none; }
/* Items inside shortcode grids keep their own transforms */
.lev-anim .lev-reveal .lev-table__item, .lev-anim .lev-reveal .lev-chain__step { transition: opacity .8s var(--lev-ease), transform .8s var(--lev-ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lev-chain__list { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
	.lev-chain__step:nth-child(4n)::after { display: none; }
	.lev-single__more--table .lev-table { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.themify_builder .module_row > .row_inner,
	.themify_builder .module_subrow:not(.lev-mosaic) { grid-template-areas: none !important; grid-template-columns: 1fr !important; display: grid !important; }
	.themify_builder .module_row > .row_inner > .module_column,
	.themify_builder .module_subrow:not(.lev-mosaic) > .module_column { grid-area: auto !important; width: 100% !important; }
	.lev-section-head p { margin-left: 0; }
	body .themify_builder .module_row.lev-hero { min-height: 88svh; }
	.lev-hero__card { max-width: 520px; }
	.lev-menu { grid-template-columns: 1fr; }
	.lev-menu--compact { grid-template-columns: 1fr; }
	.lev-grower, .lev-grower:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
	.lev-grower:nth-child(even) .lev-grower__photo { order: 0; }
	.lev-single__grid, .lev-single__cols, .lev-recipe { grid-template-columns: 1fr; }
	.lev-single__tuber { width: min(80%, 340px); }
	.lev-table { grid-template-columns: repeat(2, 1fr); }
	.lev-recipe__aside { position: static; }
	.lev-plates { height: clamp(260px, 64vw, 380px); }
	.lev-intro__media::after { right: -10px; bottom: -10px; }
	.lev-splithero__media::before { inset: 14px -10px -14px 14px; }
	.lev-credit { text-align: left; }
	.lev-footer-bottom > .row_inner { row-gap: 6px !important; }
	.lev-footer > .row_inner { row-gap: 36px !important; }
}
@media (max-width: 680px) {
	.lev-map__list { grid-template-columns: 1fr; }
	.lev-map__list .lev-map__group + .lev-map__group { margin-top: 22px; }
	.lev-table { grid-template-columns: repeat(2, 1fr); }
	.lev-chain__list { grid-template-columns: 1fr; gap: 0; border-left: 2px dashed rgba(201, 149, 90, .6); margin-left: 14px; }
	.lev-chain__step { padding: 0 0 26px 34px; }
	.lev-chain__seed, .lev-chain__step:nth-child(even) .lev-chain__seed { top: 2px; left: -16px; }
	.lev-chain__step::after { display: none; }
	.lev-spec > div { grid-template-columns: 1fr; gap: 4px; }
	.lev-range__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.lev-range__name { font-size: 1.15rem; }
	.lev-range__note { display: none; }
	.module_subrow.lev-mosaic { height: 360px; }
	.lev-menu__item a { grid-template-columns: 88px 1fr; }
	.lev-single__more--table .lev-table { grid-template-columns: repeat(2, 1fr); }
	.lev-hero .lev-heading .main-head { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.lev-hero .lev-hero__head .sub-head { max-width: none; }
	.lev-filter { gap: 8px; }
	.lev-filter__btn { font-size: .88rem; padding: .55em 1em; }
	.lev-packs__list { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
	.lev-packs__img--none { font-size: 1.6rem; }
	/* The hero text sits higher on a phone, over the brighter sky: darken the top half more. */
	.lev-hero::before { background: linear-gradient(180deg, rgba(25, 18, 12, .62) 0%, rgba(25, 18, 12, .38) 30%, rgba(25, 18, 12, .5) 60%, rgba(25, 18, 12, .78) 100%); }
}

/* ---------- Print (recipes) ---------- */
@media print {
	#headerwrap, body > .tb_layout_part_wrap, .back-top, .lev-print, .lev-back, .lev-single__more, .lev-ridges, .lev-single__cta { display: none !important; }
	.lev-single__hero { padding-top: 0; background: none; }
	.lev-recipe { grid-template-columns: 1fr 2fr; padding: 0; }
	.lev-recipe__aside { position: static; background: none; padding: 0; }
	.lev-plate--large { width: 200px; box-shadow: none; }
}
