/*
Theme Name: The Flavor Balance
Theme URI: https://theflavorbalance.com/
Author: The Flavor Balance
Author URI: https://theflavorbalance.com/
Description: A custom, mobile-first WordPress theme for The Flavor Balance, a flavor-first recipe and meal-prep publication.
Version: 0.3.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: the-flavor-balance
*/

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */

:root {
	--tfb-forest: #274c3b;
	--tfb-forest-dark: #19382b;
	--tfb-cream: #f7f1e7;
	--tfb-cream-deep: #eee3d3;
	--tfb-terracotta: #b86545;
	--tfb-terracotta-dark: #984d33;
	--tfb-olive: #78865a;
	--tfb-charcoal: #2b2b2b;
	--tfb-muted: #6f6a62;
	--tfb-white: #ffffff;

	--tfb-content-width: 1200px;
	--tfb-reading-width: 760px;

	--tfb-radius-small: 10px;
	--tfb-radius: 18px;
	--tfb-radius-large: 30px;

	--tfb-shadow-soft: 0 18px 50px rgba(43, 43, 43, 0.07);
	--tfb-shadow-menu: 0 22px 60px rgba(25, 56, 43, 0.12);

	--tfb-transition: 180ms ease;
}

/* ==========================================================
   RESET / BASE
   ========================================================== */

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

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

body {
	margin: 0;
	background: var(--tfb-cream);
	color: var(--tfb-charcoal);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
	line-height: 1.7;
}

body.tfb-menu-open {
	overflow: hidden;
}

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

a {
	color: var(--tfb-forest);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--tfb-terracotta);
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

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

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--tfb-white);
	color: var(--tfb-forest);
	border-radius: var(--tfb-radius-small);
	box-shadow: var(--tfb-shadow-menu);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}

/* ==========================================================
   SITE WRAPPER
   ========================================================== */

.tfb-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* ==========================================================
   HEADER
   ========================================================== */

.tfb-site-header {
	position: relative;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(39, 76, 59, 0.1);
}

.tfb-header-shell {
	width: min(100%, var(--tfb-content-width));
	margin-inline: auto;
}

.tfb-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: 72px;
	padding: 0.7rem 0.9rem;
}

.tfb-branding {
	flex: 1 1 auto;
	min-width: 0;
}

.tfb-site-title {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.05rem, 4.4vw, 1.28rem);
	font-weight: 700;
	line-height: 1.05;
}

.tfb-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.tfb-site-title a:hover,
.tfb-site-title a:focus {
	color: var(--tfb-terracotta);
}

.tfb-brand-text {
	white-space: nowrap;
}

.tfb-brand-mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: var(--tfb-forest);
	border-radius: 50% 50% 50% 8px;
	transform: rotate(-14deg);
}

.tfb-brand-mark::before {
	content: "";
	width: 9px;
	height: 14px;
	border-radius: 60% 40% 60% 40%;
	background: var(--tfb-cream);
	transform: rotate(25deg);
}

.tfb-brand-mark span {
	position: absolute;
	bottom: 3px;
	left: 11px;
	width: 2px;
	height: 10px;
	background: var(--tfb-cream);
	transform: rotate(42deg);
	transform-origin: bottom center;
}

.tfb-site-tagline {
	display: none;
	margin: 0.3rem 0 0 2rem;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.77rem;
	line-height: 1.4;
}

/* ==========================================================
   HEADER ACTIONS
   ========================================================== */

.tfb-header-actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
}

.tfb-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--tfb-forest);
	background: var(--tfb-cream);
	border: 1px solid rgba(39, 76, 59, 0.14);
	border-radius: 999px;
	text-decoration: none;
	transition:
		background var(--tfb-transition),
		color var(--tfb-transition),
		border-color var(--tfb-transition),
		transform var(--tfb-transition);
}

.tfb-search-button:hover,
.tfb-search-button:focus {
	color: var(--tfb-white);
	background: var(--tfb-terracotta);
	border-color: var(--tfb-terracotta);
	transform: translateY(-1px);
}

.tfb-search-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.tfb-search-button__text {
	display: none;
}

/* ==========================================================
   MOBILE MENU BUTTON
   ========================================================== */

.tfb-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--tfb-forest);
	border: 0;
	border-radius: 999px;
}

.tfb-menu-toggle__icon {
	position: relative;
	width: 18px;
	height: 14px;
}

.tfb-menu-toggle__icon span {
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--tfb-white);
	border-radius: 999px;
	transition:
		transform var(--tfb-transition),
		top var(--tfb-transition);
}

.tfb-menu-toggle__icon span:first-child {
	top: 3px;
}

.tfb-menu-toggle__icon span:last-child {
	top: 10px;
}

.tfb-menu-toggle[aria-expanded="true"] .tfb-menu-toggle__icon span:first-child {
	top: 6px;
	transform: rotate(45deg);
}

.tfb-menu-toggle[aria-expanded="true"] .tfb-menu-toggle__icon span:last-child {
	top: 6px;
	transform: rotate(-45deg);
}

/* ==========================================================
   MOBILE NAVIGATION
   ========================================================== */

.tfb-primary-nav {
	display: none;
	position: fixed;
	top: 72px;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 900;
	padding: 1.25rem 1rem 2rem;
	background: var(--tfb-cream);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.tfb-primary-nav.is-open {
	display: block;
}

.tfb-primary-nav__inner {
	width: min(100%, 560px);
	margin-inline: auto;
}

.tfb-primary-nav__list {
	display: grid;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
	border-top: 1px solid rgba(39, 76, 59, 0.14);
}

.tfb-primary-nav__list li {
	margin: 0;
	border-bottom: 1px solid rgba(39, 76, 59, 0.14);
}

.tfb-primary-nav__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 66px;
	padding: 0.2rem 0;
	color: var(--tfb-forest);
	font-size: clamp(1.45rem, 6vw, 1.8rem);
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}

.tfb-primary-nav__list a::after {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-right: 0.35rem;
	border-top: 2px solid var(--tfb-terracotta);
	border-right: 2px solid var(--tfb-terracotta);
	transform: rotate(45deg);
	transition: transform var(--tfb-transition);
}

.tfb-primary-nav__list a:hover,
.tfb-primary-nav__list a:focus,
.tfb-primary-nav__list .current-menu-item > a {
	color: var(--tfb-terracotta);
}

.tfb-primary-nav__list a:hover::after,
.tfb-primary-nav__list a:focus::after {
	transform: translateX(3px) rotate(45deg);
}

.tfb-mobile-menu-footer {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--tfb-forest);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
}

.tfb-mobile-menu-footer__label {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tfb-mobile-menu-footer__text {
	max-width: 28rem;
	margin: 0.5rem 0 0;
	font-size: 1.1rem;
	line-height: 1.45;
}

/* ==========================================================
   SHARED CONTENT
   ========================================================== */

.tfb-home,
.tfb-about,
.tfb-recipes {
	flex: 1;
	overflow: hidden;
}

.tfb-section-shell {
	width: min(100% - 2rem, var(--tfb-content-width));
	margin-inline: auto;
}

.tfb-eyebrow {
	margin: 0 0 0.55rem;
	color: var(--tfb-terracotta);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tfb-eyebrow--light {
	color: #e8b59f;
}

.tfb-section-heading {
	margin-bottom: 1.4rem;
}

.tfb-section-heading h2 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.9rem, 8vw, 4rem);
	letter-spacing: -0.035em;
	line-height: 0.99;
}

.tfb-section-heading > p:last-child {
	max-width: 40rem;
	margin: 0.85rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.tfb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		transform var(--tfb-transition),
		background var(--tfb-transition),
		color var(--tfb-transition),
		border-color var(--tfb-transition);
}

.tfb-button:hover,
.tfb-button:focus {
	transform: translateY(-2px);
}

.tfb-button--primary {
	background: var(--tfb-forest);
	color: var(--tfb-white);
	border: 1px solid var(--tfb-forest);
}

.tfb-button--primary:hover,
.tfb-button--primary:focus {
	background: var(--tfb-terracotta);
	color: var(--tfb-white);
	border-color: var(--tfb-terracotta);
}

.tfb-button--secondary {
	background: transparent;
	color: var(--tfb-forest);
	border: 1px solid rgba(39, 76, 59, 0.28);
}

.tfb-button--secondary:hover,
.tfb-button--secondary:focus {
	color: var(--tfb-terracotta-dark);
	border-color: var(--tfb-terracotta);
}

/* ==========================================================
   HOMEPAGE HERO
   ========================================================== */

.tfb-home-hero {
	padding: 0.7rem 0 2.8rem;
}

.tfb-home-hero__inner {
	width: min(100% - 2rem, var(--tfb-content-width));
	margin-inline: auto;
	background: var(--tfb-white);
	border-radius: 0 0 var(--tfb-radius-large) var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
	overflow: hidden;
}

.tfb-home-hero__visual {
	position: relative;
}

.tfb-home-hero__image {
	height: clamp(250px, 72vw, 390px);
	overflow: hidden;
	background: var(--tfb-cream-deep);
}

.tfb-cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tfb-home-hero__note {
	position: absolute;
	right: 0.8rem;
	bottom: 0.8rem;
	left: 0.8rem;
	padding: 0.85rem 1rem;
	background: rgba(25, 56, 43, 0.94);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tfb-home-hero__note-label {
	display: block;
	margin-bottom: 0.15rem;
	color: #eac3b1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tfb-home-hero__note strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.35;
}

.tfb-home-hero__content {
	padding: 1.55rem 1.25rem 1.65rem;
}

.tfb-home-hero h1 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(2.1rem, 9.2vw, 5.2rem);
	letter-spacing: -0.045em;
	line-height: 0.96;
}

.tfb-home-hero__intro {
	max-width: 37rem;
	margin: 1rem 0 0;
	font-size: 0.98rem;
	line-height: 1.55;
}

.tfb-home-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 1.3rem;
}

/* ==========================================================
   HOMEPAGE START HERE
   ========================================================== */

.tfb-home-paths {
	padding: 2.8rem 0;
}

.tfb-path-grid {
	display: grid;
	gap: 0.7rem;
}

.tfb-path-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.1rem 0.85rem;
	padding: 1rem;
	background: var(--tfb-white);
	color: var(--tfb-charcoal);
	border: 1px solid rgba(39, 76, 59, 0.08);
	border-radius: var(--tfb-radius);
	text-decoration: none;
	transition:
		transform var(--tfb-transition),
		box-shadow var(--tfb-transition),
		border-color var(--tfb-transition);
}

.tfb-path-card:hover,
.tfb-path-card:focus {
	transform: translateY(-3px);
	box-shadow: var(--tfb-shadow-soft);
	border-color: rgba(184, 101, 69, 0.35);
}

.tfb-path-card__number {
	grid-row: 1 / 3;
	color: var(--tfb-terracotta);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.tfb-path-card strong {
	color: var(--tfb-forest);
	font-size: 1.16rem;
	line-height: 1.2;
}

.tfb-path-card > span:last-child {
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.84rem;
	line-height: 1.45;
}

/* ==========================================================
   HOMEPAGE FROM THE KITCHEN
   ========================================================== */

.tfb-home-kitchen {
	padding: 2.8rem 0 3.6rem;
}

.tfb-kitchen-grid {
	display: grid;
	gap: 0.9rem;
}

.tfb-food-card {
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
	overflow: hidden;
}

.tfb-food-card__image {
	height: 260px;
	overflow: hidden;
	background: var(--tfb-cream-deep);
}

.tfb-food-card--large .tfb-food-card__image {
	height: 330px;
}

.tfb-food-card__content {
	padding: 1.1rem 1.1rem 1.3rem;
}

.tfb-food-card__tag {
	display: inline-block;
	margin-bottom: 0.55rem;
	color: var(--tfb-terracotta);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tfb-food-card h3 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.35rem, 5.5vw, 2rem);
	line-height: 1.05;
}

.tfb-food-card p {
	margin: 0.65rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.88rem;
	line-height: 1.55;
}

/* ==========================================================
   HOMEPAGE BALANCE FORMULA
   ========================================================== */

.tfb-balance-section {
	padding: 3.4rem 0;
	background: var(--tfb-forest);
	color: var(--tfb-white);
}

.tfb-balance-intro {
	max-width: 46rem;
	margin-bottom: 1.5rem;
}

.tfb-balance-intro h2 {
	margin: 0;
	color: var(--tfb-white);
	font-size: clamp(2rem, 8.8vw, 4.6rem);
	letter-spacing: -0.04em;
	line-height: 0.97;
}

.tfb-balance-intro > p:last-child {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.55;
}

.tfb-balance-grid {
	display: grid;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tfb-balance-item {
	padding: 1.05rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tfb-balance-item > span {
	display: block;
	margin-bottom: 0.35rem;
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.tfb-balance-item strong {
	display: block;
	font-size: 1.22rem;
	line-height: 1.2;
}

.tfb-balance-item p {
	margin: 0.35rem 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.84rem;
	line-height: 1.5;
}

/* ==========================================================
   HOMEPAGE MY JOURNEY
   ========================================================== */

.tfb-home-story {
	padding: 3.2rem 0 4rem;
}

.tfb-story-card {
	overflow: hidden;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-story-card__label {
	display: flex;
	align-items: flex-end;
	min-height: 145px;
	padding: 1.3rem;
	background:
		linear-gradient(
			135deg,
			var(--tfb-terracotta) 0%,
			var(--tfb-terracotta-dark) 100%
		);
	color: var(--tfb-white);
}

.tfb-story-card__label span {
	max-width: 5ch;
	font-size: clamp(2.4rem, 12vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.tfb-story-card__content {
	padding: 1.35rem 1.25rem 1.55rem;
}

.tfb-story-card h2 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.75rem, 7vw, 3.6rem);
	letter-spacing: -0.035em;
	line-height: 1;
}

.tfb-story-card__content > p:not(.tfb-eyebrow) {
	margin: 0.85rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	line-height: 1.55;
}

.tfb-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1rem;
	color: var(--tfb-forest);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
}

.tfb-text-link::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--tfb-transition);
}

.tfb-text-link:hover::after,
.tfb-text-link:focus::after {
	transform: translateX(3px) rotate(45deg);
}

/* ==========================================================
   RECIPES HERO
   ========================================================== */

.tfb-recipes-hero {
	padding: 1rem 0 2.6rem;
}

.tfb-recipes-hero__grid {
	display: grid;
	overflow: hidden;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-recipes-hero__content {
	padding: 2rem 1.35rem;
}

.tfb-recipes-hero__content h1 {
	max-width: 10ch;
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(2.6rem, 12vw, 6rem);
	letter-spacing: -0.05em;
	line-height: 0.92;
}

.tfb-recipes-hero__intro {
	max-width: 40rem;
	margin: 1.1rem 0 0;
	color: var(--tfb-charcoal);
	font-size: 1rem;
	line-height: 1.62;
}

.tfb-recipes-hero__aside {
	padding: 1.6rem 1.35rem 1.8rem;
	background: var(--tfb-forest);
	color: var(--tfb-white);
}

.tfb-recipes-hero__aside-label {
	margin: 0 0 1rem;
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tfb-recipes-hero__links {
	display: grid;
}

.tfb-recipes-hero__links a {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.8rem;
	min-height: 62px;
	color: var(--tfb-white);
	border-top: 1px solid rgba(255, 255, 255, 0.17);
	text-decoration: none;
	transition:
		color var(--tfb-transition),
		padding var(--tfb-transition);
}

.tfb-recipes-hero__links a:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.tfb-recipes-hero__links a::after {
	content: "";
	width: 9px;
	height: 9px;
	border-top: 2px solid #e8b59f;
	border-right: 2px solid #e8b59f;
	transform: rotate(45deg);
	transition: transform var(--tfb-transition);
}

.tfb-recipes-hero__links a:hover,
.tfb-recipes-hero__links a:focus {
	color: #f6d7c8;
	padding-left: 0.25rem;
}

.tfb-recipes-hero__links a:hover::after,
.tfb-recipes-hero__links a:focus::after {
	transform: translateX(3px) rotate(45deg);
}

.tfb-recipes-hero__links span {
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.tfb-recipes-hero__links strong {
	font-size: 1.25rem;
	line-height: 1.15;
}

/* ==========================================================
   RECIPE SEARCH
   ========================================================== */

.tfb-recipe-search-section {
	padding: 0 0 3.5rem;
}

.tfb-recipe-search {
	padding: 1.5rem;
	background: var(--tfb-terracotta);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-recipe-search__content h2 {
	margin: 0;
	color: var(--tfb-white);
	font-size: clamp(2rem, 8vw, 3.8rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.tfb-recipe-search__form {
	display: grid;
	gap: 0.7rem;
	margin-top: 1.35rem;
}

.tfb-recipe-search__form input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 1rem;
	background: var(--tfb-white);
	color: var(--tfb-charcoal);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	outline: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	-webkit-appearance: none;
	appearance: none;
}

.tfb-recipe-search__form input[type="search"]::placeholder {
	color: #89837b;
	opacity: 1;
}

.tfb-recipe-search__form input[type="search"]:focus {
	border-color: var(--tfb-forest-dark);
	box-shadow: 0 0 0 3px rgba(25, 56, 43, 0.17);
}

.tfb-recipe-search__form button {
	min-height: 52px;
	padding: 0.8rem 1.4rem;
	background: var(--tfb-forest-dark);
	color: var(--tfb-white);
	border: 1px solid var(--tfb-forest-dark);
	border-radius: 999px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: 800;
	transition:
		transform var(--tfb-transition),
		background var(--tfb-transition);
}

.tfb-recipe-search__form button:hover,
.tfb-recipe-search__form button:focus {
	background: #10291f;
	transform: translateY(-1px);
}

/* ==========================================================
   FEATURED RECIPE
   ========================================================== */

.tfb-recipes-featured {
	padding: 0 0 4rem;
}

.tfb-recipes-featured__heading {
	margin-bottom: 1.25rem;
}

.tfb-recipes-featured__heading h2 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(2.2rem, 9vw, 4.5rem);
	letter-spacing: -0.045em;
	line-height: 0.95;
}

.tfb-featured-recipe {
	overflow: hidden;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-featured-recipe__image-link {
	display: block;
	text-decoration: none;
}

.tfb-featured-recipe__image {
	height: 330px;
	overflow: hidden;
	background: var(--tfb-cream-deep);
}

.tfb-featured-recipe__image .tfb-cover-image {
	transition: transform 500ms ease;
}

.tfb-featured-recipe:hover .tfb-cover-image {
	transform: scale(1.025);
}

.tfb-featured-recipe__content {
	padding: 1.5rem 1.3rem 1.8rem;
}

.tfb-featured-recipe__content h3 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.9rem, 8vw, 3.8rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.tfb-featured-recipe__content h3 a {
	color: inherit;
	text-decoration: none;
}

.tfb-featured-recipe__content h3 a:hover,
.tfb-featured-recipe__content h3 a:focus {
	color: var(--tfb-terracotta);
}

.tfb-featured-recipe__excerpt {
	margin: 1rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95rem;
	line-height: 1.65;
}

/* ==========================================================
   RECIPE LIBRARY
   ========================================================== */

.tfb-recipes-library {
	padding: 3.5rem 0 4.5rem;
}

.tfb-recipes-library__heading {
	margin-bottom: 1.7rem;
}

.tfb-recipes-library__heading h2 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(2.25rem, 9vw, 4.6rem);
	letter-spacing: -0.045em;
	line-height: 0.96;
}

.tfb-recipes-library__heading > p {
	max-width: 38rem;
	margin: 1rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
}

.tfb-recipe-grid {
	display: grid;
	gap: 1rem;
}

.tfb-recipe-card {
	overflow: hidden;
	background: var(--tfb-white);
	border: 1px solid rgba(39, 76, 59, 0.07);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
	transition:
		transform var(--tfb-transition),
		box-shadow var(--tfb-transition);
}

.tfb-recipe-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(43, 43, 43, 0.11);
}

.tfb-recipe-card__image-link {
	display: block;
	text-decoration: none;
}

.tfb-recipe-card__image {
	height: 275px;
	overflow: hidden;
	background: var(--tfb-cream-deep);
}

.tfb-recipe-card__image .tfb-cover-image {
	transition: transform 450ms ease;
}

.tfb-recipe-card:hover .tfb-cover-image {
	transform: scale(1.035);
}

.tfb-recipe-card__content {
	padding: 1.2rem 1.15rem 1.45rem;
}

.tfb-recipe-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.65rem;
}

.tfb-recipe-card__number,
.tfb-recipe-card__type {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.tfb-recipe-card__number {
	color: var(--tfb-terracotta);
}

.tfb-recipe-card__type {
	color: var(--tfb-muted);
}

.tfb-recipe-card h3 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(1.45rem, 6vw, 2.2rem);
	letter-spacing: -0.025em;
	line-height: 1.04;
}

.tfb-recipe-card h3 a {
	color: inherit;
	text-decoration: none;
}

.tfb-recipe-card h3 a:hover,
.tfb-recipe-card h3 a:focus {
	color: var(--tfb-terracotta);
}

.tfb-recipe-card__content > p {
	margin: 0.8rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.88rem;
	line-height: 1.6;
}

/* ==========================================================
   RECIPE IMAGE PLACEHOLDER
   ========================================================== */

.tfb-recipe-image-placeholder {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 100%;
	padding: 1.25rem;
	background:
		linear-gradient(
			145deg,
			var(--tfb-terracotta) 0%,
			var(--tfb-terracotta-dark) 50%,
			var(--tfb-forest) 100%
		);
	color: var(--tfb-white);
}

.tfb-recipe-image-placeholder span {
	max-width: 8ch;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.95;
}

/* ==========================================================
   EMPTY RECIPE LIBRARY
   ========================================================== */

.tfb-recipes-empty {
	overflow: hidden;
	background: var(--tfb-white);
	border: 1px solid rgba(39, 76, 59, 0.08);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-recipes-empty__number {
	display: flex;
	align-items: center;
	min-height: 130px;
	padding: 1.4rem;
	background: var(--tfb-forest);
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(3rem, 15vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
}

.tfb-recipes-empty__content {
	padding: 1.5rem 1.35rem 1.8rem;
}

.tfb-recipes-empty__content h3 {
	margin: 0;
	max-width: 14ch;
	color: var(--tfb-forest);
	font-size: clamp(1.9rem, 8vw, 3.7rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.tfb-recipes-empty__content > p:last-child {
	max-width: 38rem;
	margin: 1rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.94rem;
	line-height: 1.65;
}

/* ==========================================================
   RECIPE PHILOSOPHY
   ========================================================== */

.tfb-recipes-philosophy {
	padding: 4rem 0;
	background: var(--tfb-forest);
	color: var(--tfb-white);
}

.tfb-recipes-philosophy__inner h2 {
	max-width: 15ch;
	margin: 0;
	color: var(--tfb-white);
	font-size: clamp(2.2rem, 9.5vw, 5rem);
	letter-spacing: -0.045em;
	line-height: 0.95;
}

.tfb-recipes-philosophy__inner > p {
	max-width: 42rem;
	margin: 1.4rem 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ==========================================================
   PAGINATION
   ========================================================== */

.tfb-pagination {
	margin-top: 2rem;
}

.tfb-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.tfb-pagination a,
.tfb-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.55rem 0.8rem;
	border: 1px solid rgba(39, 76, 59, 0.16);
	border-radius: 999px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 800;
	text-decoration: none;
}

.tfb-pagination a {
	background: var(--tfb-white);
	color: var(--tfb-forest);
}

.tfb-pagination a:hover,
.tfb-pagination a:focus,
.tfb-pagination .current {
	background: var(--tfb-forest);
	color: var(--tfb-white);
	border-color: var(--tfb-forest);
}

/* ==========================================================
   ABOUT HERO
   ========================================================== */

.tfb-about-hero {
	padding: 1rem 0 3rem;
}

.tfb-about-hero__grid {
	overflow: hidden;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-about-hero__content {
	padding: 2rem 1.35rem 2.2rem;
}

.tfb-about-hero h1 {
	margin: 0;
	max-width: 10ch;
	color: var(--tfb-forest);
	font-size: clamp(2.4rem, 11vw, 5.8rem);
	letter-spacing: -0.05em;
	line-height: 0.93;
}

.tfb-about-hero__lead {
	max-width: 39rem;
	margin: 1.2rem 0 1.5rem;
	color: var(--tfb-charcoal);
	font-size: 1rem;
	line-height: 1.6;
}

.tfb-about-hero__visual {
	position: relative;
	min-height: 360px;
	background: var(--tfb-cream-deep);
	overflow: hidden;
}

.tfb-about-hero__image,
.tfb-about-hero__image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.tfb-about-hero__image-placeholder {
	background:
		linear-gradient(
			135deg,
			var(--tfb-cream-deep),
			var(--tfb-terracotta)
		);
}

.tfb-about-hero__caption {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	padding: 1rem 1.1rem;
	background: rgba(25, 56, 43, 0.94);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tfb-about-hero__caption span {
	display: block;
	margin-bottom: 0.2rem;
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.tfb-about-hero__caption strong {
	display: block;
	font-size: 1rem;
	line-height: 1.35;
}

/* ==========================================================
   ABOUT MANIFESTO
   ========================================================== */

.tfb-about-manifesto {
	padding: 0 0 3rem;
}

.tfb-about-manifesto__inner {
	padding: 2rem 1.4rem;
	background: var(--tfb-terracotta);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
}

.tfb-about-manifesto__statement {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2rem, 9vw, 4.8rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

/* ==========================================================
   ABOUT STORY
   ========================================================== */

.tfb-about-story {
	padding: 3rem 0;
}

.tfb-about-story__grid {
	display: grid;
	gap: 1.5rem;
}

.tfb-about-story__content h2 {
	margin: 0 0 1.2rem;
	max-width: 11ch;
	color: var(--tfb-forest);
	font-size: clamp(2rem, 8.5vw, 4.5rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.tfb-about-story__content > p:not(.tfb-eyebrow) {
	max-width: 44rem;
	margin: 0 0 1rem;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.98rem;
	line-height: 1.65;
}

.tfb-about-question {
	padding: 1.5rem;
	background: var(--tfb-white);
	border: 1px solid rgba(39, 76, 59, 0.08);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-about-question__number {
	display: block;
	margin-bottom: 2rem;
	color: var(--tfb-terracotta);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.tfb-about-question__label {
	margin: 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tfb-about-question blockquote {
	margin: 0.7rem 0 1.2rem;
	color: var(--tfb-forest);
	font-size: clamp(1.8rem, 7vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.03;
}

.tfb-about-question > p:last-child {
	margin: 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ==========================================================
   ABOUT BALANCE
   ========================================================== */

.tfb-about-balance {
	padding: 3.6rem 0;
	background: var(--tfb-forest);
	color: var(--tfb-white);
}

.tfb-about-balance__heading {
	max-width: 46rem;
	margin-bottom: 2rem;
}

.tfb-about-balance__heading h2 {
	margin: 0;
	font-size: clamp(2.2rem, 9vw, 5rem);
	letter-spacing: -0.045em;
	line-height: 0.95;
}

.tfb-about-balance__heading > p:last-child {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

.tfb-about-balance__grid {
	display: grid;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tfb-about-balance__item {
	padding: 1.15rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tfb-about-balance__item > span {
	display: block;
	margin-bottom: 0.35rem;
	color: #e8b59f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.11em;
}

.tfb-about-balance__item strong {
	display: block;
	font-size: 1.3rem;
	line-height: 1.2;
}

.tfb-about-balance__item p {
	margin: 0.4rem 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.86rem;
	line-height: 1.55;
}

/* ==========================================================
   ABOUT FLAVOR
   ========================================================== */

.tfb-about-flavor {
	padding: 3.5rem 0;
}

.tfb-about-flavor__grid {
	overflow: hidden;
	background: var(--tfb-terracotta);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-about-flavor__visual {
	min-height: 320px;
	overflow: hidden;
	background: var(--tfb-terracotta-dark);
}

.tfb-about-flavor__image,
.tfb-about-flavor__image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.tfb-about-flavor__image-placeholder {
	background:
		linear-gradient(
			135deg,
			var(--tfb-terracotta-dark),
			var(--tfb-forest)
		);
}

.tfb-about-flavor__content {
	padding: 1.6rem 1.35rem 1.8rem;
}

.tfb-about-flavor__content h2 {
	margin: 0;
	max-width: 12ch;
	color: var(--tfb-white);
	font-size: clamp(2rem, 8.5vw, 4rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.tfb-about-flavor__content > p:not(.tfb-eyebrow) {
	max-width: 37rem;
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.94rem;
	line-height: 1.65;
}

/* ==========================================================
   ABOUT WHAT YOU'LL FIND
   ========================================================== */

.tfb-about-find {
	padding: 3.5rem 0;
}

.tfb-about-find__grid {
	display: grid;
	gap: 0.8rem;
}

.tfb-about-find__card {
	display: block;
	padding: 1.25rem;
	background: var(--tfb-white);
	color: var(--tfb-charcoal);
	border: 1px solid rgba(39, 76, 59, 0.08);
	border-radius: var(--tfb-radius);
	text-decoration: none;
	transition:
		transform var(--tfb-transition),
		box-shadow var(--tfb-transition),
		border-color var(--tfb-transition);
}

.tfb-about-find__card:hover,
.tfb-about-find__card:focus {
	transform: translateY(-3px);
	box-shadow: var(--tfb-shadow-soft);
	border-color: rgba(184, 101, 69, 0.4);
}

.tfb-about-find__card > span {
	display: block;
	margin-bottom: 1.2rem;
	color: var(--tfb-terracotta);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.tfb-about-find__card strong {
	display: block;
	color: var(--tfb-forest);
	font-size: 1.3rem;
	line-height: 1.15;
}

.tfb-about-find__card p {
	margin: 0.45rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.87rem;
	line-height: 1.55;
}

/* ==========================================================
   ABOUT STILL LEARNING
   ========================================================== */

.tfb-about-gallery {
	padding: 1rem 0 4rem;
}

.tfb-about-gallery__grid {
	overflow: hidden;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-about-gallery__image-wrap {
	min-height: 300px;
	overflow: hidden;
	background: var(--tfb-cream-deep);
}

.tfb-about-gallery__image {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
}

.tfb-about-gallery__content {
	padding: 1.5rem 1.35rem 1.8rem;
}

.tfb-about-gallery__content h2 {
	margin: 0;
	color: var(--tfb-forest);
	font-size: clamp(2rem, 8vw, 4rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.tfb-about-gallery__content > p:not(.tfb-eyebrow) {
	max-width: 39rem;
	margin: 1rem 0 0;
	color: var(--tfb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.94rem;
	line-height: 1.65;
}

/* ==========================================================
   ABOUT CTA
   ========================================================== */

.tfb-about-cta {
	padding: 0 0 4rem;
}

.tfb-about-cta__inner {
	padding: 2rem 1.4rem;
	background: var(--tfb-forest-dark);
	color: var(--tfb-white);
	border-radius: var(--tfb-radius-large);
	text-align: center;
}

.tfb-about-cta__inner h2 {
	max-width: 12ch;
	margin: 0 auto;
	font-size: clamp(2rem, 8vw, 4.2rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.tfb-about-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	max-width: 430px;
	margin: 1.5rem auto 0;
}

.tfb-about-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform var(--tfb-transition),
		background var(--tfb-transition),
		color var(--tfb-transition),
		border-color var(--tfb-transition);
}

.tfb-about-cta__button:hover,
.tfb-about-cta__button:focus {
	transform: translateY(-2px);
}

.tfb-about-cta__button--light {
	background: var(--tfb-white);
	color: var(--tfb-forest-dark);
	border: 1px solid var(--tfb-white);
}

.tfb-about-cta__button--light:hover,
.tfb-about-cta__button--light:focus {
	background: #f1d2c4;
	color: var(--tfb-forest-dark);
	border-color: #f1d2c4;
}

.tfb-about-cta__button--outline {
	background: transparent;
	color: var(--tfb-white);
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.tfb-about-cta__button--outline:hover,
.tfb-about-cta__button--outline:focus {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tfb-white);
	border-color: var(--tfb-white);
}

/* ==========================================================
   INDEX FALLBACK / POSTS
   ========================================================== */

.tfb-main {
	flex: 1;
	width: min(100% - 2rem, var(--tfb-content-width));
	margin-inline: auto;
	padding-block: 3.5rem;
}

.tfb-post-list {
	display: grid;
	gap: 1.5rem;
	max-width: var(--tfb-reading-width);
	margin-inline: auto;
}

.tfb-post-card {
	padding: 1.5rem;
	background: var(--tfb-white);
	border-radius: var(--tfb-radius);
	box-shadow: var(--tfb-shadow-soft);
}

.tfb-post-card h2 {
	margin: 0 0 0.75rem;
	color: var(--tfb-forest);
	font-size: clamp(1.35rem, 5vw, 1.8rem);
	line-height: 1.25;
}

.tfb-post-card h2 a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.tfb-site-footer {
	padding: 1.7rem 1rem;
	background: var(--tfb-forest-dark);
	color: var(--tfb-white);
	text-align: center;
}

.tfb-site-footer__inner {
	width: min(100%, var(--tfb-content-width));
	margin-inline: auto;
}

.tfb-site-footer p {
	margin: 0;
}

/* ==========================================================
   VERY SMALL PHONES
   ========================================================== */

@media (max-width: 349px) {

	.tfb-header-top {
		padding-inline: 0.7rem;
	}

	.tfb-site-title {
		font-size: 1rem;
	}

	.tfb-brand-mark {
		flex-basis: 22px;
		width: 22px;
		height: 22px;
	}

	.tfb-search-button,
	.tfb-menu-toggle {
		width: 40px;
		height: 40px;
	}

	.tfb-home-hero h1 {
		font-size: 2rem;
	}

	.tfb-about-hero h1,
	.tfb-recipes-hero__content h1 {
		font-size: 2.15rem;
	}
}

/* ==========================================================
   SMALL TABLET
   ========================================================== */

@media (min-width: 560px) {

	.tfb-site-title {
		font-size: 1.45rem;
	}

	.tfb-brand-mark {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.tfb-site-tagline {
		display: block;
	}

	.tfb-search-button {
		width: auto;
		padding-inline: 1rem;
		gap: 0.5rem;
	}

	.tfb-search-button__text {
		display: inline;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 0.82rem;
		font-weight: 700;
	}

	.tfb-home-hero__actions {
		flex-direction: row;
	}

	.tfb-path-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tfb-story-card__content {
		padding: 2rem;
	}

	.tfb-about-find__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tfb-about-cta__actions {
		flex-direction: row;
		justify-content: center;
	}

	.tfb-about-cta__button {
		flex: 1;
	}

	.tfb-recipe-search__form {
		grid-template-columns: 1fr auto;
	}

	.tfb-recipe-search__form button {
		min-width: 130px;
	}

	.tfb-recipe-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tfb-recipes-empty {
		display: grid;
		grid-template-columns: 0.42fr 1fr;
	}

	.tfb-recipes-empty__number {
		min-height: 100%;
	}

	.tfb-recipes-empty__content {
		padding: 2rem;
	}
}

/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 900px) {

	body.tfb-menu-open {
		overflow: auto;
	}

	.tfb-site-header {
		position: sticky;
		top: 0;
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
	}

	.admin-bar .tfb-site-header {
		top: 32px;
	}

	.tfb-header-top {
		min-height: 86px;
		padding-inline: 1.5rem;
	}

	.tfb-site-title {
		font-size: 1.7rem;
	}

	.tfb-menu-toggle {
		display: none;
	}

	.tfb-primary-nav,
	.tfb-primary-nav.is-open {
		display: block;
		position: static;
		z-index: auto;
		padding: 0 1.5rem;
		background: transparent;
		overflow: visible;
	}

	.tfb-primary-nav__inner {
		width: 100%;
		max-width: none;
	}

	.tfb-primary-nav__list {
		display: flex;
		align-items: center;
		gap: 0.25rem;
		border-top: 1px solid rgba(39, 76, 59, 0.08);
	}

	.tfb-primary-nav__list li {
		border: 0;
	}

	.tfb-primary-nav__list a {
		position: relative;
		min-height: 52px;
		padding: 0 0.8rem;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 0.84rem;
		font-weight: 700;
	}

	.tfb-primary-nav__list a::after {
		content: "";
		position: absolute;
		right: 0.8rem;
		bottom: 9px;
		left: 0.8rem;
		width: auto;
		height: 2px;
		margin: 0;
		background: var(--tfb-terracotta);
		border: 0;
		transform: scaleX(0);
		transform-origin: center;
	}

	.tfb-primary-nav__list a:hover::after,
	.tfb-primary-nav__list a:focus::after,
	.tfb-primary-nav__list .current-menu-item > a::after {
		transform: scaleX(1);
	}

	.tfb-mobile-menu-footer {
		display: none;
	}

	/* Homepage */

	.tfb-home-hero {
		padding-top: 1.5rem;
		padding-bottom: 5rem;
	}

	.tfb-home-hero__inner {
		display: grid;
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
		min-height: 620px;
		border-radius: var(--tfb-radius-large);
	}

	.tfb-home-hero__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(3rem, 5vw, 5rem);
	}

	.tfb-home-hero__image {
		height: 100%;
		min-height: 620px;
	}

	.tfb-home-hero__note {
		right: 1.5rem;
		bottom: 1.5rem;
		left: auto;
		max-width: 310px;
	}

	.tfb-path-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tfb-path-card {
		display: block;
		min-height: 190px;
		padding: 1.4rem;
	}

	.tfb-path-card__number {
		display: block;
		margin-bottom: 2.5rem;
	}

	.tfb-path-card strong {
		display: block;
		margin-bottom: 0.45rem;
	}

	.tfb-section-heading--split {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
		align-items: end;
		gap: 3rem;
	}

	.tfb-section-heading--split > p:last-child {
		margin: 0;
	}

	.tfb-kitchen-grid {
		grid-template-columns: 1.35fr 0.825fr 0.825fr;
		align-items: stretch;
	}

	.tfb-food-card__image,
	.tfb-food-card--large .tfb-food-card__image {
		height: 360px;
	}

	.tfb-food-card--large .tfb-food-card__image {
		height: 470px;
	}

	.tfb-balance-section {
		padding-block: 6rem;
	}

	.tfb-balance-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tfb-balance-item {
		padding: 1.5rem;
		border-right: 1px solid rgba(255, 255, 255, 0.18);
		border-bottom: 0;
	}

	.tfb-balance-item:first-child {
		padding-left: 0;
	}

	.tfb-balance-item:last-child {
		border-right: 0;
	}

	.tfb-story-card {
		display: grid;
		grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
	}

	.tfb-story-card__label {
		min-height: 440px;
		padding: 2.25rem;
	}

	.tfb-story-card__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(2.5rem, 5vw, 5rem);
	}

	/* Recipes */

	.tfb-recipes-hero {
		padding: 2rem 0 4.5rem;
	}

	.tfb-recipes-hero__grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
		min-height: 470px;
	}

	.tfb-recipes-hero__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(3rem, 5vw, 5rem);
	}

	.tfb-recipes-hero__aside {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(2.5rem, 4vw, 4rem);
	}

	.tfb-recipes-hero__links a {
		min-height: 76px;
	}

	.tfb-recipes-hero__links strong {
		font-size: 1.4rem;
	}

	.tfb-recipe-search-section {
		padding-bottom: 5rem;
	}

	.tfb-recipe-search {
		display: grid;
		grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
		align-items: center;
		gap: 4rem;
		padding: 2.2rem 2.5rem;
	}

	.tfb-recipe-search__form {
		margin-top: 0;
	}

	.tfb-recipes-featured {
		padding-bottom: 6rem;
	}

	.tfb-featured-recipe {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
		min-height: 500px;
	}

	.tfb-featured-recipe__image {
		height: 100%;
		min-height: 500px;
	}

	.tfb-featured-recipe__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(2.5rem, 5vw, 5rem);
	}

	.tfb-recipes-library {
		padding: 5rem 0 6rem;
	}

	.tfb-recipes-library__heading {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
		align-items: end;
		gap: 4rem;
		margin-bottom: 2.5rem;
	}

	.tfb-recipes-library__heading > p {
		margin: 0;
	}

	.tfb-recipe-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.2rem;
	}

	.tfb-recipe-card__image {
		height: 320px;
	}

	.tfb-recipes-empty {
		grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
		min-height: 330px;
	}

	.tfb-recipes-empty__number {
		justify-content: center;
		padding: 2rem;
		font-size: clamp(5rem, 8vw, 8rem);
	}

	.tfb-recipes-empty__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(2.5rem, 5vw, 4.5rem);
	}

	.tfb-recipes-philosophy {
		padding: 6rem 0;
	}

	.tfb-recipes-philosophy__inner {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
		align-items: end;
		gap: clamp(3rem, 7vw, 7rem);
	}

	.tfb-recipes-philosophy__inner > p {
		margin: 0;
	}

	/* About hero */

	.tfb-about-hero {
		padding: 2rem 0 5rem;
	}

	.tfb-about-hero__grid {
		display: grid;
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		min-height: 650px;
	}

	.tfb-about-hero__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(3rem, 5vw, 5rem);
	}

	.tfb-about-hero__content .tfb-button {
		align-self: flex-start;
	}

	.tfb-about-hero__visual,
	.tfb-about-hero__image,
	.tfb-about-hero__image-placeholder {
		min-height: 650px;
	}

	.tfb-about-hero__caption {
		right: 1.5rem;
		bottom: 1.5rem;
		left: auto;
		max-width: 330px;
	}

	/* Manifesto */

	.tfb-about-manifesto {
		padding-bottom: 5rem;
	}

	.tfb-about-manifesto__inner {
		padding: clamp(3rem, 6vw, 5.5rem);
	}

	/* Story */

	.tfb-about-story {
		padding: 5rem 0 6rem;
	}

	.tfb-about-story__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
		align-items: start;
		gap: clamp(3rem, 7vw, 7rem);
	}

	.tfb-about-question {
		padding: 2rem;
	}

	/* Balance */

	.tfb-about-balance {
		padding: 6rem 0;
	}

	.tfb-about-balance__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.tfb-about-balance__item {
		padding: 1.5rem;
		border-right: 1px solid rgba(255, 255, 255, 0.18);
		border-bottom: 0;
	}

	.tfb-about-balance__item:first-child {
		padding-left: 0;
	}

	.tfb-about-balance__item:last-child {
		border-right: 0;
	}

	/* Flavor */

	.tfb-about-flavor {
		padding: 6rem 0;
	}

	.tfb-about-flavor__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: 560px;
	}

	.tfb-about-flavor__visual,
	.tfb-about-flavor__image,
	.tfb-about-flavor__image-placeholder {
		min-height: 560px;
	}

	.tfb-about-flavor__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(3rem, 5vw, 5rem);
	}

	/* What you'll find */

	.tfb-about-find {
		padding: 5rem 0 6rem;
	}

	.tfb-about-find__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tfb-about-find__card {
		min-height: 220px;
		padding: 1.6rem;
	}

	.tfb-about-find__card > span {
		margin-bottom: 2.5rem;
	}

	/* Still learning */

	.tfb-about-gallery {
		padding: 0 0 6rem;
	}

	.tfb-about-gallery__grid {
		display: grid;
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		min-height: 500px;
	}

	.tfb-about-gallery__image-wrap,
	.tfb-about-gallery__image {
		min-height: 500px;
	}

	.tfb-about-gallery__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(3rem, 5vw, 5rem);
	}

	/* CTA */

	.tfb-about-cta {
		padding-bottom: 6rem;
	}

	.tfb-about-cta__inner {
		padding: clamp(3.5rem, 7vw, 6rem);
	}

	.tfb-main {
		padding-block: 5rem;
	}
}

/* ==========================================================
   WIDE DESKTOP
   ========================================================== */

@media (min-width: 1200px) {

	.tfb-header-top,
	.tfb-primary-nav {
		padding-right: 0;
		padding-left: 0;
	}
}

/* ==========================================================
   WORDPRESS ADMIN BAR MOBILE FIX
   ========================================================== */

@media screen and (max-width: 782px) {

	.admin-bar .tfb-primary-nav {
		top: 118px;
	}
}