/* ==========================================================================
   TinyPlates — main stylesheet
   Warm, editorial, food-magazine design system.
   Tokens are injected by tp_print_tokens() on wp_head (inc/customizer.php).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--tp-cream, #FBF7F0);
	color: var(--tp-ink, #23201C);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	fill: currentColor;
}

a {
	color: var(--tp-green-deep, #2B5738);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--tp-terracotta, #C4613C);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.015em;
	color: var(--tp-ink, #23201C);
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.1em; }

ul,
ol {
	margin: 0 0 1.1em;
	padding-left: 1.25em;
}

figure { margin: 0; }

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

button { cursor: pointer; }

::selection {
	background: var(--tp-green, #3F7D4E);
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--tp-honey, #DFA94A);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 1000;
	background: var(--tp-ink, #23201C);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

/* --------------------------------------------------------------------------
   2. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
	width: min(1240px, 100% - 3rem);
	margin-inline: auto;
}

.wrap--narrow { width: min(820px, 100% - 3rem); }

.section {
	padding-block: clamp(2.75rem, 6vw, 5rem);
}

.section--tiles { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section__title {
	margin: 0 0 0.25rem;
}

.section__title--sm { font-size: 1.35rem; }

.section__subtitle {
	margin: 0;
	color: var(--tp-ink-soft, #5C554C);
	font-size: 1rem;
	max-width: 58ch;
}

.section__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	text-decoration: none;
	color: var(--tp-green-deep, #2B5738);
}

.section__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.section__link:hover svg { transform: translateX(3px); }

.eyebrow {
	margin: 0 0 0.6rem;
	font-family: "Inter", sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tp-terracotta, #C4613C);
}

.eyebrow--light { color: var(--tp-honey, #DFA94A); }

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.prose {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #3A342D;
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.prose ul,
.prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
	margin: 1.6em 0;
	padding: 0.5em 0 0.5em 1.25em;
	border-left: 4px solid var(--tp-green, #3F7D4E);
	font-family: "Fraunces", serif;
	font-size: 1.2rem;
	font-style: italic;
	color: var(--tp-ink, #23201C);
}
.prose img { border-radius: 14px; }
.prose a { font-weight: 500; }

/* --------------------------------------------------------------------------
   3. Buttons, pills, chips
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.4rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--tp-green, #3F7D4E);
	color: #fff;
	box-shadow: 0 6px 18px -8px rgba(43, 87, 56, 0.6);
}
.btn--primary:hover { background: var(--tp-green-deep, #2B5738); color: #fff; }

.btn--dark {
	background: var(--tp-ink, #23201C);
	color: #fff;
}
.btn--dark:hover { background: #000; color: #fff; }

.btn--honey {
	background: var(--tp-honey, #DFA94A);
	color: #2B2317;
}
.btn--honey:hover { background: #f0bc5e; color: #2B2317; }

.btn--ghost {
	background: transparent;
	border-color: rgba(35, 32, 28, 0.22);
	color: var(--tp-ink, #23201C);
}
.btn--ghost:hover {
	border-color: var(--tp-ink, #23201C);
	background: rgba(35, 32, 28, 0.05);
	color: var(--tp-ink, #23201C);
}

.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	line-height: 1.5;
}

.pill svg { width: 14px; height: 14px; }
.pill--green { background: rgba(63, 125, 78, 0.12); color: var(--tp-green-deep, #2B5738); }
.pill--leaf { background: rgba(110, 122, 69, 0.14); color: #4d5730; }
.pill--honey { background: rgba(223, 169, 74, 0.2); color: #7a5615; }

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1.5rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--tp-ink, #23201C);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.chip:hover {
	border-color: var(--tp-green, #3F7D4E);
	background: #fff;
	transform: translateY(-1px);
	color: var(--tp-green-deep, #2B5738);
}

.chip__count {
	font-size: 0.75rem;
	color: var(--tp-ink-soft, #5C554C);
	background: rgba(35, 32, 28, 0.06);
	border-radius: 999px;
	padding: 0.05rem 0.45rem;
}

.chip--sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: var(--tp-ink-soft, #5C554C);
}

.meta-item svg { width: 17px; height: 17px; opacity: 0.85; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 247, 240, 0.92);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.header-strip {
	background: var(--tp-ink, #23201C);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.8rem;
}

.header-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 38px;
}

.header-strip__note { margin: 0; letter-spacing: 0.02em; }

.header-strip__social {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-strip__social a {
	color: rgba(255, 255, 255, 0.72);
	display: inline-flex;
}

.header-strip__social a:hover { color: #fff; }
.header-strip__social svg { width: 15px; height: 15px; }

.header-main__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 76px;
}

.site-branding { display: flex; align-items: center; gap: 0.9rem; flex: none; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--tp-ink, #23201C);
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--tp-green, #3F7D4E);
	color: #fff;
	box-shadow: 0 6px 16px -8px rgba(43, 87, 56, 0.8);
}

.brand__mark svg { width: 24px; height: 24px; }

.brand__text {
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.brand__tagline {
	margin: 0;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tp-ink-soft, #5C554C);
	border-left: 1px solid var(--tp-line, #E7DFD2);
	padding-left: 0.9rem;
	max-width: 170px;
	line-height: 1.35;
}

.custom-logo-link img { max-height: 46px; width: auto; }

.main-nav { margin-left: auto; }

.main-nav .menu,
.mobile-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav .menu > li { position: relative; }

.main-nav .menu > li > a {
	display: inline-block;
	padding: 0.55rem 0.8rem;
	border-radius: 8px;
	font-size: 0.925rem;
	font-weight: 500;
	color: var(--tp-ink, #23201C);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a {
	background: rgba(63, 125, 78, 0.1);
	color: var(--tp-green-deep, #2B5738);
}

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 210px;
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 14px;
	padding: 0.5rem;
	list-style: none;
	margin: 0;
	box-shadow: 0 20px 40px -22px rgba(35, 32, 28, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 20;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu a {
	display: block;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--tp-ink, #23201C);
}

.main-nav .sub-menu a:hover { background: rgba(63, 125, 78, 0.08); color: var(--tp-green-deep, #2B5738); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--tp-line, #E7DFD2);
	background: var(--tp-paper, #fff);
	border-radius: 50%;
	color: var(--tp-ink, #23201C);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover { background: #fff; border-color: var(--tp-green, #3F7D4E); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

.nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-search {
	border-top: 1px solid var(--tp-line, #E7DFD2);
	background: var(--tp-paper, #fff);
	padding-block: 1rem;
}

.header-search[hidden] { display: none; }

/* Mobile drawer */
.mobile-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(360px, 88vw);
	background: var(--tp-cream, #FBF7F0);
	z-index: 200;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	overflow-y: auto;
	box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.4);
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer[hidden] { display: none; }
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.mobile-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0.15rem;
}

.mobile-menu a {
	display: block;
	padding: 0.7rem 0.6rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	color: var(--tp-ink, #23201C);
}

.mobile-menu a:hover { background: rgba(63, 125, 78, 0.08); }
.mobile-menu .sub-menu { list-style: none; margin: 0 0 0 0.75rem; padding: 0; }
.mobile-menu .sub-menu a { font-size: 0.9rem; color: var(--tp-ink-soft, #5C554C); }

.mobile-drawer__search { margin-top: auto; }

body.tp-nav-open { overflow: hidden; }

body.tp-nav-open::after {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(20, 17, 14, 0.45);
	z-index: 150;
}

/* --------------------------------------------------------------------------
   5. Search form
   -------------------------------------------------------------------------- */
.search-form {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--tp-paper, #fff);
	border: 1.5px solid var(--tp-line, #E7DFD2);
	border-radius: 999px;
	padding: 0.3rem 0.3rem 0.3rem 1.1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
	border-color: var(--tp-green, #3F7D4E);
	box-shadow: 0 0 0 4px rgba(63, 125, 78, 0.12);
}

.search-form__icon { color: var(--tp-ink-soft, #5C554C); flex: none; }
.search-form__icon svg { width: 19px; height: 19px; }

.search-form__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	outline: none;
}

.search-form__input::placeholder { color: #9b9184; }

.search-form__submit {
	flex: none;
	border: 0;
	background: var(--tp-green, #3F7D4E);
	color: #fff;
	border-radius: 999px;
	padding: 0.65rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	transition: background 0.2s ease;
}

.search-form__submit:hover { background: var(--tp-green-deep, #2B5738); }

.search-suggest {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 16px;
	box-shadow: 0 24px 50px -28px rgba(35, 32, 28, 0.45);
	padding: 0.4rem;
	z-index: 60;
	max-height: 340px;
	overflow-y: auto;
}

.search-suggest[hidden] { display: none; }

.suggest-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem;
	border-radius: 10px;
	text-decoration: none;
	color: var(--tp-ink, #23201C);
}

.suggest-item:hover,
.suggest-item:focus { background: rgba(63, 125, 78, 0.08); }

.suggest-item__img {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	object-fit: cover;
	flex: none;
	background: var(--tp-line, #E7DFD2);
}

.suggest-item__body { display: flex; flex-direction: column; min-width: 0; }
.suggest-item__title { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.suggest-item__meta { font-size: 0.78rem; color: var(--tp-ink-soft, #5C554C); }
.suggest-empty { padding: 0.9rem; font-size: 0.9rem; color: var(--tp-ink-soft, #5C554C); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
	background:
		radial-gradient(1100px 420px at 88% -10%, rgba(223, 169, 74, 0.22), transparent 65%),
		radial-gradient(900px 380px at 4% 110%, rgba(63, 125, 78, 0.14), transparent 60%),
		var(--tp-cream, #FBF7F0);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

.hero__title {
	font-size: clamp(2.4rem, 5.4vw, 4.1rem);
	letter-spacing: -0.03em;
	margin-bottom: 0.35em;
}

.hero__text {
	font-size: clamp(1.02rem, 1.4vw, 1.15rem);
	color: var(--tp-ink-soft, #5C554C);
	max-width: 46ch;
	margin-bottom: 1.5rem;
}

.hero__search { max-width: 520px; margin-bottom: 1.1rem; }

.hero__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.hero__quick a {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--tp-line, #E7DFD2);
	font-size: 0.83rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--tp-ink, #23201C);
}

.hero__quick a:hover { border-color: var(--tp-green, #3F7D4E); color: var(--tp-green-deep, #2B5738); }

.hero__stat {
	margin: 0;
	font-size: 0.9rem;
	color: var(--tp-ink-soft, #5C554C);
}

.hero__stat strong { color: var(--tp-ink, #23201C); font-size: 1.05rem; }

.hero-feature {
	position: relative;
	background: var(--tp-paper, #fff);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 40px 80px -50px rgba(35, 32, 28, 0.5), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
	border: 1px solid rgba(231, 223, 210, 0.9);
	transform: rotate(0.4deg);
	transition: transform 0.4s ease;
}

.hero-feature:hover { transform: rotate(0deg) translateY(-3px); }

.hero-feature__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--tp-line, #E7DFD2);
}

.hero-feature__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.hero-feature:hover .hero-feature__img { transform: scale(1.035); }

.hero-feature__flag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--tp-honey, #DFA94A);
	color: #2B2317;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5);
}

.hero-feature__body { padding: 1.35rem 1.5rem 1.5rem; }

.hero-feature__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.6rem;
	flex-wrap: wrap;
}

.hero-feature__title {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	margin-bottom: 0.4rem;
}

.hero-feature__title a { text-decoration: none; color: inherit; }
.hero-feature__title a:hover { color: var(--tp-green-deep, #2B5738); }

.hero-feature__excerpt {
	font-size: 0.95rem;
	color: var(--tp-ink-soft, #5C554C);
	margin-bottom: 1.1rem;
}

/* --------------------------------------------------------------------------
   7. Category tiles & cuisines
   -------------------------------------------------------------------------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.6vw, 1.15rem);
}

.tile {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	aspect-ratio: 4 / 3;
	background: var(--tp-line, #E7DFD2);
	isolation: isolate;
}

.tile__media,
.tile__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 17, 14, 0) 30%, rgba(20, 17, 14, 0.78) 100%);
	z-index: 1;
}

.tile:hover .tile__media img { transform: scale(1.06); }

.tile__body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.tile__name {
	font-family: "Fraunces", serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}

.tile__count { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }

.cuisines {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.4vw, 1rem);
}

.cuisine {
	position: relative;
	display: block;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	aspect-ratio: 3 / 4;
	background: var(--tp-line, #E7DFD2);
}

.cuisine__media,
.cuisine__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cuisine::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 17, 14, 0) 35%, rgba(20, 17, 14, 0.8) 100%);
}

.cuisine:hover .cuisine__media img { transform: scale(1.06); }

.cuisine__body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: 0.85rem;
	display: flex;
	flex-direction: column;
}

.cuisine__name {
	font-family: "Fraunces", serif;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}

.cuisine__count { font-size: 0.72rem; color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   8. Recipe cards
   -------------------------------------------------------------------------- */
.rail__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--tp-paper, #fff);
	border: 1px solid rgba(231, 223, 210, 0.85);
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 50px -34px rgba(35, 32, 28, 0.55);
	border-color: rgba(63, 125, 78, 0.35);
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tp-line, #E7DFD2);
}

.card--tall .card__media { aspect-ratio: 4 / 5; }

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card__img { transform: scale(1.05); }

.card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: rgba(255, 255, 255, 0.94);
	color: var(--tp-green-deep, #2B5738);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.32rem 0.65rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.card__time {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: rgba(20, 17, 14, 0.72);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 500;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.card__time svg { width: 13px; height: 13px; }

.card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem 1.1rem 1.15rem;
	flex: 1;
}

.card__rating { margin-bottom: 0.1rem; }

.card__title {
	font-size: 1.1rem;
	line-height: 1.28;
	margin: 0;
}

.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--tp-green-deep, #2B5738); }

.card__excerpt {
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--tp-ink-soft, #5C554C);
	margin: 0;
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: auto;
	padding-top: 0.6rem;
	border-top: 1px solid rgba(231, 223, 210, 0.7);
	font-size: 0.78rem;
	color: var(--tp-ink-soft, #5C554C);
}

.card__meta-item { display: inline-flex; align-items: center; gap: 0.3rem; }
.card__meta-item svg { width: 14px; height: 14px; opacity: 0.8; }

.card__kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tp-terracotta, #C4613C);
}

.card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.card__link svg { width: 15px; height: 15px; }

.card--text { background: var(--tp-paper, #fff); }
.card--text .card__body { padding: 1.35rem; gap: 0.5rem; }

.card--wide { grid-column: span 2; }
.card--wide .card__media { aspect-ratio: 16 / 9; }

.card--mini .card__body { padding: 0.8rem; }
.card--mini .card__title { font-size: 0.95rem; }

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-grid > .card:first-child {
	grid-row: span 2;
}

.feature-grid > .card:first-child .card__media { aspect-ratio: 4 / 5; }

/* Stars */
.stars {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	color: var(--tp-ink-soft, #5C554C);
}

.stars__icons { display: inline-flex; gap: 1px; color: var(--tp-honey, #DFA94A); }
.stars__icons svg { width: 15px; height: 15px; }
.stars__icons .is-empty { color: rgba(35, 32, 28, 0.18); }
.stars__count { font-size: 0.78rem; }

/* --------------------------------------------------------------------------
   9. Page hero / archive
   -------------------------------------------------------------------------- */
.page-hero {
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
	background:
		radial-gradient(900px 300px at 92% 0%, rgba(223, 169, 74, 0.18), transparent 60%),
		var(--tp-cream, #FBF7F0);
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.page-hero--simple { border-bottom: 0; }

.page-hero__title { margin-bottom: 0.35em; }

.page-hero__text {
	max-width: 62ch;
	color: var(--tp-ink-soft, #5C554C);
	font-size: 1.03rem;
}

.page-hero__search { max-width: 560px; margin-top: 1.25rem; }

.page-hero__count {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tp-terracotta, #C4613C);
}

.page-hero__parent { margin: 0.75rem 0 0; font-size: 0.9rem; }
.page-hero__parent a { text-decoration: none; font-weight: 500; }

.breadcrumbs {
	padding-block: 0.9rem 0;
	font-size: 0.8rem;
	color: var(--tp-ink-soft, #5C554C);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: rgba(35, 32, 28, 0.28); }
.breadcrumbs a { text-decoration: none; color: var(--tp-ink-soft, #5C554C); }
.breadcrumbs a:hover { color: var(--tp-green-deep, #2B5738); }
.breadcrumbs [aria-current="page"] { color: var(--tp-ink, #23201C); font-weight: 500; }

.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(1.75rem, 3.5vw, 3rem);
	padding-block: clamp(2rem, 4vw, 3rem);
	align-items: start;
}

.archive-main { min-width: 0; }

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--tp-line, #E7DFD2);
	background: var(--tp-paper, #fff);
	color: var(--tp-ink, #23201C);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
}

.pagination .page-numbers:hover { border-color: var(--tp-green, #3F7D4E); color: var(--tp-green-deep, #2B5738); }
.pagination .page-numbers.current { background: var(--tp-green, #3F7D4E); border-color: var(--tp-green, #3F7D4E); color: #fff; }
.pagination .dots { border: 0; background: transparent; }

/* Empty state */
.empty-state {
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
	background: var(--tp-paper, #fff);
	border: 1px dashed var(--tp-line, #E7DFD2);
	border-radius: 20px;
}

.empty-state__title { margin-bottom: 0.4rem; }
.empty-state__text { color: var(--tp-ink-soft, #5C554C); max-width: 46ch; margin-inline: auto; }
.empty-state__search { max-width: 440px; margin: 1.25rem auto; }

/* --------------------------------------------------------------------------
   10. Single recipe
   -------------------------------------------------------------------------- */
.recipe-hero {
	padding-block: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.recipe-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
	padding-top: clamp(1rem, 2.5vw, 2rem);
}

.recipe-hero__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 0.9rem;
}

.recipe-hero__title {
	font-size: clamp(2.05rem, 4.4vw, 3.35rem);
	letter-spacing: -0.025em;
	margin-bottom: 0.4em;
}

.recipe-hero__intro {
	font-size: 1.08rem;
	color: var(--tp-ink-soft, #5C554C);
	max-width: 52ch;
	margin-bottom: 1rem;
}

.recipe-hero__rating {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.9rem;
	font-size: 0.85rem;
}

.recipe-hero__rating a { text-decoration: none; color: var(--tp-ink-soft, #5C554C); }
.recipe-hero__rating a:hover { color: var(--tp-green-deep, #2B5738); }

.recipe-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	padding-block: 0.9rem;
	margin-bottom: 1.1rem;
	border-top: 1px solid var(--tp-line, #E7DFD2);
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.recipe-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.recipe-hero__media {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--tp-line, #E7DFD2);
	box-shadow: 0 40px 80px -55px rgba(35, 32, 28, 0.6);
}

.recipe-hero__img { width: 100%; height: 100%; object-fit: cover; }

.recipe-hero__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.5rem 1.1rem 0.9rem;
	background: linear-gradient(180deg, transparent, rgba(20, 17, 14, 0.7));
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.78rem;
}

.recipe-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(1.75rem, 3.5vw, 3rem);
	align-items: start;
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.recipe-main { min-width: 0; }

.recipe-section { padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--tp-line, #E7DFD2); }
.recipe-section:last-of-type { border-bottom: 0; }

.recipe-section__title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	margin-bottom: 1rem;
	position: relative;
	padding-bottom: 0.55rem;
}

.recipe-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: var(--tp-honey, #DFA94A);
}

.diet-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

/* Recipe card box (ingredients) */
.recipe-card-box {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 22px;
	padding: clamp(1.25rem, 2.6vw, 2rem);
	margin-block: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: 0 30px 60px -48px rgba(35, 32, 28, 0.45);
	scroll-margin-top: 100px;
}

.recipe-card-box__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.recipe-card-box__head .recipe-section__title { margin: 0; padding: 0; }
.recipe-card-box__head .recipe-section__title::after { display: none; }

.recipe-card-box__hint {
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	color: var(--tp-ink-soft, #5C554C);
	padding-top: 0.9rem;
	border-top: 1px dashed var(--tp-line, #E7DFD2);
}

/* Servings control */
.servings {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.85rem;
}

.servings__label { font-weight: 600; color: var(--tp-ink-soft, #5C554C); }

.servings__control {
	display: inline-flex;
	align-items: center;
	background: var(--tp-cream, #FBF7F0);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 999px;
	padding: 0.2rem;
}

.servings__btn {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--tp-ink, #23201C);
	display: grid;
	place-items: center;
	transition: background 0.15s ease;
}

.servings__btn:hover { background: rgba(63, 125, 78, 0.12); color: var(--tp-green-deep, #2B5738); }

.servings__value {
	min-width: 34px;
	text-align: center;
	font-weight: 700;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.servings__unit { color: var(--tp-ink-soft, #5C554C); }

/* Ingredients */
.ingredients__group {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tp-terracotta, #C4613C);
	margin: 1.25rem 0 0.5rem;
	font-family: "Inter", sans-serif;
}

.ingredients__group:first-child { margin-top: 0; }

.ingredients__list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}

.ingredients__item {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	padding: 0.55rem 0;
	border-bottom: 1px dashed rgba(231, 223, 210, 0.9);
	font-size: 0.98rem;
}

.ingredients__item:last-child { border-bottom: 0; }

.ingredients__qty {
	font-weight: 700;
	color: var(--tp-green-deep, #2B5738);
	font-variant-numeric: tabular-nums;
	min-width: 1ch;
}

.ingredients__qty--text { font-weight: 600; }
.ingredients__unit { color: var(--tp-ink-soft, #5C554C); }
.ingredients__name { font-weight: 500; }
.ingredients__prep { color: var(--tp-ink-soft, #5C554C); font-style: italic; }
.ingredients__notes { color: var(--tp-ink-soft, #5C554C); font-size: 0.85rem; }

.ingredients__qty.is-updated { animation: qtyPulse 0.45s ease; }

@keyframes qtyPulse {
	0% { background: rgba(223, 169, 74, 0.45); }
	100% { background: transparent; }
}

/* Steps */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.steps__item {
	display: flex;
	gap: 1rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(231, 223, 210, 0.8);
	scroll-margin-top: 100px;
}

.steps__item:last-child { border-bottom: 0; }

.steps__number {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(63, 125, 78, 0.12);
	color: var(--tp-green-deep, #2B5738);
	font-weight: 700;
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
}

.steps__body { flex: 1; min-width: 0; }
.steps__title { font-size: 1.05rem; margin: 0.15rem 0 0.3rem; }
.steps__text { color: #3A342D; }
.steps__text p:last-child { margin-bottom: 0; }

/* Check lists */
.check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.check-list li {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-size: 0.98rem;
	line-height: 1.6;
}

.check-list svg {
	flex: none;
	width: 19px;
	height: 19px;
	margin-top: 0.18rem;
	color: var(--tp-green, #3F7D4E);
}

.check-list--subs svg { color: var(--tp-terracotta, #C4613C); }

/* Nutrition */
.nutrition {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 18px;
	padding: clamp(1rem, 2vw, 1.5rem);
}

.nutrition__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	gap: 0.75rem;
}

.nutrition__item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.65rem;
	border-radius: 12px;
	background: var(--tp-cream, #FBF7F0);
	text-align: center;
}

.nutrition__value {
	font-family: "Fraunces", serif;
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--tp-ink, #23201C);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.nutrition__unit { font-size: 0.7rem; font-family: "Inter", sans-serif; color: var(--tp-ink-soft, #5C554C); margin-left: 2px; }
.nutrition__label { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tp-ink-soft, #5C554C); }

.nutrition__note {
	margin: 1rem 0 0;
	font-size: 0.78rem;
	color: var(--tp-ink-soft, #5C554C);
	padding-top: 0.8rem;
	border-top: 1px dashed var(--tp-line, #E7DFD2);
}

/* FAQ */
.faq { display: grid; gap: 0.6rem; }

.faq__item {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 14px;
	overflow: hidden;
}

.faq__item[open] { border-color: rgba(63, 125, 78, 0.4); }

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	font-family: "Fraunces", serif;
	font-size: 1.05rem;
	font-weight: 600;
	list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__chevron {
	flex: none;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--tp-ink-soft, #5C554C);
	border-bottom: 2px solid var(--tp-ink-soft, #5C554C);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron { transform: rotate(-135deg); }

.faq__answer {
	padding: 0 1.15rem 1.1rem;
	color: #3A342D;
	font-size: 0.96rem;
}

.faq__answer p:last-child { margin-bottom: 0; }

/* Ratings */
.rating-block {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 20px;
	padding: clamp(1.1rem, 2.4vw, 1.75rem);
	display: grid;
	gap: 1.25rem;
}

.rating-block__summary { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.rating-block__score { display: flex; align-items: baseline; gap: 0.4rem; }

.rating-block__number {
	font-family: "Fraunces", serif;
	font-size: 2.8rem;
	font-weight: 600;
	line-height: 1;
	color: var(--tp-ink, #23201C);
	font-variant-numeric: tabular-nums;
}

.rating-block__outof { font-size: 0.85rem; color: var(--tp-ink-soft, #5C554C); }
.rating-block__meta { display: flex; flex-direction: column; gap: 0.25rem; }
.rating-block__hint { margin: 0; font-size: 0.82rem; color: var(--tp-ink-soft, #5C554C); }

.rating-form { border-top: 1px solid var(--tp-line, #E7DFD2); padding-top: 1.1rem; }
.rating-form__stars { border: 0; margin: 0; padding: 0; }
.rating-form__stars legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }

.rating-input {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.2rem;
}

.rating-input input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        pointer-events: none;
}

.rating-input input:focus-visible + label {
        outline: 2px solid var(--tp-honey, #DFA94A);
        outline-offset: 3px;
        border-radius: 4px;
}

.rating-input label {
	cursor: pointer;
	color: rgba(35, 32, 28, 0.2);
	transition: color 0.15s ease, transform 0.15s ease;
}

.rating-input label svg { width: 30px; height: 30px; }

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: var(--tp-honey, #DFA94A); }

.rating-input label:hover { transform: scale(1.08); }

.rating-form__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-top: 0.9rem;
}

.rating-form input[type="text"],
.rating-form input[type="email"],
.rating-form textarea {
	width: 100%;
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
	background: var(--tp-cream, #FBF7F0);
	font-size: 0.92rem;
}

.rating-form textarea { grid-column: 1 / -1; min-height: 90px; resize: vertical; }

.rating-form__status { margin: 0.7rem 0 0; font-size: 0.85rem; min-height: 1.2em; }
.rating-form__status.is-error { color: #b23b2e; }
.rating-form__status.is-success { color: var(--tp-green-deep, #2B5738); }

.tp-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Reviews */
.reviews { margin-top: 1.75rem; display: grid; gap: 1rem; }

.review {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 16px;
	padding: 1.1rem 1.25rem;
}

.review__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }

.review__avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tp-green, #3F7D4E);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	flex: none;
}

.review__author { display: block; font-size: 0.92rem; }
.review__date { display: block; font-size: 0.76rem; color: var(--tp-ink-soft, #5C554C); }
.review__stars { margin-left: auto; color: var(--tp-honey, #DFA94A); display: inline-flex; }
.review__stars svg { width: 14px; height: 14px; }
.review__text { margin: 0; font-size: 0.94rem; color: #3A342D; }

/* Recipe sidebar */
.recipe-side { display: grid; gap: 1.1rem; position: sticky; top: 96px; }

.recipe-side__card {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 18px;
	padding: 1.25rem;
}

.recipe-side__title {
	font-size: 1.05rem;
	margin: 0 0 0.9rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.fact-list { margin: 0; display: grid; gap: 0.1rem; }

.fact-list__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px dashed rgba(231, 223, 210, 0.9);
	font-size: 0.88rem;
}

.fact-list__row:last-child { border-bottom: 0; }
.fact-list dt { color: var(--tp-ink-soft, #5C554C); margin: 0; }
.fact-list dd { margin: 0; font-weight: 600; text-align: right; }

.recipe-side__actions { display: grid; gap: 0.5rem; margin-top: 1rem; }

.share-row {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--tp-line, #E7DFD2);
}

.share-row__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tp-ink-soft, #5C554C); margin-right: auto; }

.share-btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--tp-cream, #FBF7F0);
	border: 1px solid var(--tp-line, #E7DFD2);
	color: var(--tp-ink, #23201C);
	transition: background 0.2s ease, color 0.2s ease;
}

.share-btn:hover { background: var(--tp-green, #3F7D4E); color: #fff; border-color: var(--tp-green, #3F7D4E); }
.share-btn svg { width: 15px; height: 15px; }

.author-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.author-card__avatar { border-radius: 50%; width: 52px; height: 52px; }
.author-card__name { display: block; font-weight: 600; font-size: 0.95rem; }
.author-card__role { display: block; font-size: 0.76rem; color: var(--tp-ink-soft, #5C554C); }
.author-card__bio { font-size: 0.86rem; color: var(--tp-ink-soft, #5C554C); margin-bottom: 0.8rem; }
.author-card__link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.83rem; font-weight: 600; text-decoration: none; }
.author-card__link svg { width: 14px; height: 14px; }

.recipe-source {
	margin: 1.5rem 0 0;
	padding: 0.9rem 1.1rem;
	background: rgba(110, 122, 69, 0.08);
	border-radius: 12px;
	font-size: 0.82rem;
	color: var(--tp-ink-soft, #5C554C);
}

.recipe-source__label { font-weight: 700; color: var(--tp-ink, #23201C); }
.recipe-source__id { font-family: ui-monospace, monospace; font-size: 0.76rem; }
.recipe-source__note { display: block; margin-top: 0.3rem; font-style: italic; }

/* Comments */
.comments { margin-top: 1.5rem; }
.comments__title { font-size: 1.25rem; margin-bottom: 1rem; }
.comments__notes { font-size: 0.82rem; color: var(--tp-ink-soft, #5C554C); }

.comment-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }

.comment-list .comment-body {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 14px;
	padding: 1rem 1.15rem;
	font-size: 0.93rem;
}

.comment-list .children { list-style: none; margin: 0.75rem 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; }
.comment-list .comment-meta { font-size: 0.8rem; color: var(--tp-ink-soft, #5C554C); margin-bottom: 0.4rem; }
.comment-list .comment-author img { border-radius: 50%; margin-right: 0.5rem; vertical-align: middle; }
.comment-list .comment-author .fn { font-style: normal; font-weight: 600; color: var(--tp-ink, #23201C); }

.comment-form { display: grid; gap: 0.8rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
	background: var(--tp-paper, #fff);
	font-size: 0.94rem;
}
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { display: inline-block; width: calc(33.333% - 0.55rem); margin-right: 0.7rem; vertical-align: top; }
.comment-form .comment-form-url { margin-right: 0; }
.comment-form .form-submit { margin-top: 0.4rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.82rem; }
.comment-form .comment-form-cookies-consent input { width: auto; margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   11. Sidebar
   -------------------------------------------------------------------------- */
.sidebar { display: grid; gap: 1.1rem; position: sticky; top: 96px; }

.sidebar__widget {
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 18px;
	padding: 1.2rem;
}

.sidebar__title {
	font-size: 1rem;
	margin: 0 0 0.9rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--tp-line, #E7DFD2);
}

.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.mini-list__link { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: var(--tp-ink, #23201C); }
.mini-list__link:hover .mini-list__title { color: var(--tp-green-deep, #2B5738); }

.mini-list__media {
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--tp-line, #E7DFD2);
}

.mini-list__img { width: 100%; height: 100%; object-fit: cover; }
.mini-list__body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.mini-list__title { font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.mini-list__meta { font-size: 0.74rem; color: var(--tp-ink-soft, #5C554C); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }

.sidebar__widget--cta { background: var(--tp-green-deep, #2B5738); color: #fff; border-color: transparent; }
.sidebar__widget--cta .sidebar__title { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.sidebar__widget--cta p { color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; }
.sidebar__widget--cta .btn--primary { background: var(--tp-honey, #DFA94A); color: #2B2317; }
.sidebar__widget--cta .btn--primary:hover { background: #f0bc5e; }

/* --------------------------------------------------------------------------
   12. Newsletter
   -------------------------------------------------------------------------- */
.newsletter__card {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	background:
		radial-gradient(700px 300px at 90% 10%, rgba(223, 169, 74, 0.24), transparent 60%),
		linear-gradient(135deg, #2B5738, #1f3f28);
	color: #fff;
	border-radius: 26px;
	padding: clamp(1.75rem, 4vw, 3.25rem);
	overflow: hidden;
}

.newsletter__card::before {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, 0.05);
}

.newsletter__title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.4em; }
.newsletter__text { color: rgba(255, 255, 255, 0.82); max-width: 44ch; }

.newsletter__points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.newsletter__points li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.newsletter__points svg { width: 17px; height: 17px; color: var(--tp-honey, #DFA94A); flex: none; }

.newsletter__form { position: relative; z-index: 1; }
.newsletter__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; color: rgba(255, 255, 255, 0.7); }

.newsletter__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.newsletter__input {
	flex: 1;
	min-width: 180px;
	border: 0;
	border-radius: 999px;
	padding: 0.85rem 1.15rem;
	font-size: 0.95rem;
	background: rgba(255, 255, 255, 0.96);
	color: var(--tp-ink, #23201C);
}

.newsletter__small { margin: 0.7rem 0 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.newsletter__status { margin: 0.6rem 0 0; font-size: 0.85rem; min-height: 1.2em; }
.newsletter__status.is-success { color: #b7e6c4; }
.newsletter__status.is-error { color: #ffc9c2; }

/* --------------------------------------------------------------------------
   13. Promise strip
   -------------------------------------------------------------------------- */
.section--promise { padding-top: 0; }

.promise {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--tp-paper, #fff);
	border: 1px solid var(--tp-line, #E7DFD2);
	border-radius: 22px;
}

.promise__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(63, 125, 78, 0.1);
	color: var(--tp-green-deep, #2B5738);
	margin-bottom: 0.75rem;
}

.promise__icon svg { width: 22px; height: 22px; }
.promise__title { font-size: 1.1rem; margin-bottom: 0.3rem; }
.promise__text { font-size: 0.88rem; color: var(--tp-ink-soft, #5C554C); margin: 0; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: #1C1A17;
	color: rgba(255, 255, 255, 0.7);
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	font-size: 0.9rem;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: clamp(2rem, 4vw, 4rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand__mark { background: var(--tp-honey, #DFA94A); color: #2B2317; }
.footer-brand .brand__text { color: #fff; }

.footer-brand__blurb { margin: 1rem 0 1.25rem; max-width: 34ch; color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; }

.footer-social { display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.footer-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.8);
	transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--tp-honey, #DFA94A); color: #2B2317; }
.footer-social svg { width: 16px; height: 16px; }

.footer-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.footer-col__title {
	font-family: "Inter", sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 0.9rem;
}

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-list a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.87rem; }
.footer-list a:hover { color: #fff; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p { margin: 0; }
.footer-bottom__note { max-width: 62ch; }

/* --------------------------------------------------------------------------
   15. Author hero, 404, misc pages
   -------------------------------------------------------------------------- */
.author-hero { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.author-hero__avatar { border-radius: 50%; width: 84px; height: 84px; flex: none; }
.author-hero__copy { min-width: 0; }
.author-hero__stats { margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--tp-ink-soft, #5C554C); }

.page-layout { padding-block: clamp(2rem, 4vw, 3rem); }
.page-body { max-width: 780px; }

.entry__byline { font-size: 0.85rem; color: var(--tp-ink-soft, #5C554C); margin: 0; }
.entry__dot { margin-inline: 0.4rem; }
.entry__media { margin-bottom: 1.5rem; }
.entry__img { border-radius: 20px; width: 100%; }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.75rem, 3.5vw, 3rem); padding-bottom: 2.5rem; align-items: start; }
.entry__body { min-width: 0; max-width: 760px; }
.entry__comments { padding-bottom: 3rem; }

.error-404 { padding-block: clamp(2.5rem, 6vw, 5rem); }
.error-404__inner { text-align: center; }
.error-404__code {
	font-family: "Fraunces", serif;
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 700;
	line-height: 0.9;
	color: rgba(63, 125, 78, 0.14);
	margin: 0 0 -0.25em;
	letter-spacing: -0.04em;
}
.error-404__title { position: relative; }
.error-404__text { max-width: 48ch; margin-inline: auto; color: var(--tp-ink-soft, #5C554C); }
.error-404__search { max-width: 480px; margin: 1.5rem auto; }
.error-404__actions { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.error-404__recent { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: left; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.main-nav { display: none; }
	.nav-toggle { display: inline-grid; }
	.header-actions__cta { display: none; }
	.header-main__inner { min-height: 68px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero-feature { transform: none; max-width: 640px; }
	.recipe-hero__inner { grid-template-columns: 1fr; }
	.recipe-hero__media { order: -1; aspect-ratio: 16 / 10; }
	.recipe-layout { grid-template-columns: 1fr; }
	.recipe-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.archive-layout { grid-template-columns: 1fr; }
	.sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-layout { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cuisines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rail__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rail__track > .card:nth-child(4) { display: none; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
	body { font-size: 1rem; }
	.wrap { width: min(1240px, 100% - 2rem); }
	.section__head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rail__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rail__track > .card:nth-child(4) { display: flex; }
	.rail__track > .card:nth-child(3) { display: none; }
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-grid > .card:first-child { grid-row: auto; }
	.feature-grid > .card:first-child .card__media { aspect-ratio: 4 / 3; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cuisines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.promise { grid-template-columns: 1fr; }
	.newsletter__card { grid-template-columns: 1fr; }
	.recipe-side { grid-template-columns: 1fr; }
	.sidebar { grid-template-columns: 1fr; }
	.rating-form__fields { grid-template-columns: 1fr; }
	.comment-form .comment-form-author,
	.comment-form .comment-form-email,
	.comment-form .comment-form-url { display: block; width: 100%; margin-right: 0; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.header-strip__note { font-size: 0.72rem; }
	.hero-feature__flag { font-size: 0.66rem; }
}

@media (max-width: 520px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.rail__track { grid-template-columns: 1fr; }
	.rail__track > .card:nth-child(3) { display: flex; }
	.rail__track > .card:nth-child(4) { display: none; }
	.feature-grid { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cuisines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-cols { grid-template-columns: 1fr; }
	.recipe-hero__actions .btn { flex: 1; }
	.servings { width: 100%; justify-content: space-between; }
	.ingredients__item { font-size: 0.94rem; }
	.steps__number { width: 32px; height: 32px; font-size: 0.85rem; }
	.newsletter__row { flex-direction: column; }
	.newsletter__row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   17. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.newsletter,
	.recipe-side,
	.recipe-hero__actions,
	.rating-block,
	.comments,
	.section--related,
	.breadcrumbs,
	.share-row {
		display: none !important;
	}

	body { background: #fff; color: #000; font-size: 11pt; }
	.recipe-layout { display: block; }
	.recipe-card-box { border: 1px solid #ccc; box-shadow: none; }
	a { color: #000; text-decoration: none; }
	.recipe-section { break-inside: avoid; }
	.steps__item, .ingredients__item { break-inside: avoid; }
}
