/*
Theme Name: David's World Famous Studio
Theme URI: https://davidsworldfamous.com/
Author: David's World Famous
Description: Editorial food growth studio and blog theme.
Version: 1.4.0
Text Domain: dwf-studio
*/

:root {
	--ink: #182019;
	--ink-soft: #334136;
	--cream: #f4efdf;
	--paper: #fffaf0;
	--olive: #53643f;
	--olive-dark: #26331f;
	--leaf: #bace73;
	--leaf-light: #dfe9b4;
	--tomato: #f05a3f;
	--saffron: #eeb954;
	--line: rgba(24, 32, 25, 0.18);
	--shadow: 0 24px 80px rgba(24, 32, 25, 0.14);
	--radius: 28px;
	--radius-lg: 48px;
	--shell: min(1240px, calc(100vw - 48px));
	--display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
	--sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

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

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
	outline: 3px solid var(--tomato);
	outline-offset: 4px;
}

::selection { background: var(--leaf); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 999;
	background: var(--paper);
	padding: 12px 18px;
	border-radius: 999px;
}

.skip-link:focus { top: 16px; }

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

.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 100;
	padding: 20px 0;
}

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

.nav-shell {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
	align-items: center;
	gap: 20px;
	width: var(--shell);
	margin: auto;
	padding: 10px 12px 10px 20px;
	border: 1px solid rgba(255, 250, 240, 0.44);
	border-radius: 999px;
	background: rgba(24, 32, 25, 0.74);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
	color: var(--paper);
	backdrop-filter: blur(18px);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	font-size: 13px;
	font-weight: 760;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-decoration: none;
}

.brand-seal {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: var(--leaf);
	color: var(--ink);
	font-family: var(--display);
	font-size: 17px;
	font-style: italic;
	font-weight: 700;
}

.site-menu {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.1vw, 31px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu a {
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.site-menu a::after {
	display: block;
	width: 0;
	height: 1px;
	background: var(--leaf);
	content: "";
	transition: width .25s ease;
}

.site-menu a:hover::after,
.site-menu .current-menu-item a::after { width: 100%; }

.nav-cta { justify-self: end; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--leaf);
	color: var(--ink);
	font-size: 13px;
	font-weight: 760;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button::after { content: "↗"; font-size: 15px; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(24, 32, 25, .2); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline { border-color: currentColor; background: transparent; }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--leaf);
	color: var(--ink);
	cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
	content: "";
	transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: min(940px, 100svh);
	overflow: hidden;
	background: var(--olive-dark);
	color: var(--paper);
}

.hero-media,
.hero-shade,
.hero-lines { position: absolute; inset: 0; }

.hero-media {
	inset: -2%;
	background-image: url("assets/images/dwf-hero-pasta.webp");
	background-position: center;
	background-size: cover;
	transform: scale(1.035) translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 8px), 0);
	animation: hero-breathe 16s ease-in-out infinite alternate;
	will-change: transform;
}

.hero-shade {
	background:
		linear-gradient(90deg, rgba(16, 24, 17, .78) 0%, rgba(16, 24, 17, .42) 42%, rgba(16, 24, 17, .05) 70%),
		linear-gradient(0deg, rgba(16, 24, 17, .42), transparent 38%);
}

.hero-lines {
	opacity: .16;
	background-image: repeating-radial-gradient(circle at 20% 74%, transparent 0 13px, rgba(255,255,255,.6) 14px 15px);
	mask-image: linear-gradient(90deg, #000, transparent 56%);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding-top: 145px;
	padding-bottom: 70px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 780;
	letter-spacing: .18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 26px;
	height: 8px;
	border-radius: 50%;
	background: var(--tomato);
	content: "";
}

.hero h1,
.page-hero h1,
.archive-hero h1,
.gone-page h1 {
	max-width: 950px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(64px, 9.2vw, 142px);
	font-weight: 500;
	letter-spacing: -.075em;
	line-height: .82;
}

.hero h1 em { color: var(--leaf-light); font-weight: 400; }

.hero-bottom {
	display: grid;
	grid-template-columns: minmax(260px, 500px) auto;
	align-items: end;
	gap: 30px;
	margin-top: clamp(30px, 6vh, 74px);
}

.hero-intro {
	margin: 0;
	font-size: clamp(17px, 1.5vw, 22px);
	font-weight: 520;
	line-height: 1.45;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.hero-orbit {
	position: absolute;
	right: 5vw;
	top: 20vh;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 128px;
	height: 128px;
	border: 1px solid rgba(255,255,255,.48);
	border-radius: 50%;
	font-family: var(--display);
	font-size: 20px;
	font-style: italic;
	line-height: 1.05;
	text-align: center;
	animation: float 7s ease-in-out infinite;
}

.hero-orbit::before {
	position: absolute;
	inset: 9px;
	border: 1px dashed rgba(255,255,255,.45);
	border-radius: inherit;
	content: "";
	animation: spin 22s linear infinite;
}

.ticker {
	overflow: hidden;
	border-block: 1px solid var(--ink);
	background: var(--leaf);
}

.ticker-track {
	display: flex;
	width: max-content;
	padding: 12px 0;
	animation: ticker 44s linear infinite;
	will-change: transform;
}

.ticker-group { display: flex; flex: none; }

.ticker span {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-right: 24px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ticker span::after { content: "✦"; color: var(--tomato); }

.section { padding: clamp(76px, 10vw, 150px) 0; }

.section-kicker { color: var(--olive); }

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	align-items: end;
	gap: 40px;
	margin-bottom: 58px;
}

.section-title {
	max-width: 850px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(47px, 6vw, 89px);
	font-weight: 500;
	letter-spacing: -.06em;
	line-height: .94;
}

.section-copy { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 17px; }

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.service-card {
	position: relative;
	min-height: 370px;
	overflow: hidden;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255,255,255,.32);
	transition: transform .35s ease, background .35s ease, color .35s ease;
}

.service-card:nth-child(2) { background: var(--leaf-light); }
.service-card:nth-child(3) { background: var(--olive-dark); color: var(--paper); }
.service-card:nth-child(4) { background: var(--tomato); color: var(--paper); }
.service-card:hover { transform: translateY(-8px) rotate(-.4deg); }

.card-number {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
}

.service-card h3 { margin: 112px 0 12px; font-family: var(--display); font-size: 36px; font-weight: 500; line-height: 1; }
.service-card p { margin: 0; font-size: 14px; }
.service-card a { position: absolute; inset: 0; font-size: 0; }

.service-grid-visual .service-card {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 8px 8px 28px;
}

.service-card-media {
	position: relative;
	flex: none;
	margin: 0;
	overflow: hidden;
	border-radius: calc(var(--radius) - 8px);
	aspect-ratio: 1;
}

.service-card-media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 62%, rgba(24,32,25,.18));
	content: "";
}

.service-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .55s ease;
}

.service-grid-visual .service-card:hover .service-card-media img { transform: scale(1.035); }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 18px 0; }
.service-grid-visual .service-card h3 { margin: 28px 0 13px; }
.service-grid-visual .service-card p { font-size: 13px; line-height: 1.55; }

.studio-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
	gap: clamp(18px, 3vw, 42px);
	align-items: stretch;
}

.studio-image {
	position: relative;
	min-height: 720px;
	overflow: hidden;
	border-radius: var(--radius-lg) var(--radius-lg) 180px var(--radius-lg);
	box-shadow: var(--shadow);
}

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

.image-note {
	position: absolute;
	right: 24px;
	bottom: 24px;
	max-width: 220px;
	padding: 18px;
	border-radius: 20px;
	background: rgba(255,250,240,.9);
	font-family: var(--display);
	font-size: 20px;
	font-style: italic;
	line-height: 1.1;
	backdrop-filter: blur(12px);
}

.studio-panel {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(34px, 5vw, 72px);
	border-radius: 180px var(--radius-lg) var(--radius-lg) var(--radius-lg);
	background: var(--olive-dark);
	color: var(--paper);
}

.studio-panel .section-title { color: var(--leaf-light); }
.studio-panel blockquote { margin: 70px 0 20px; font-family: var(--display); font-size: clamp(27px, 3vw, 44px); font-style: italic; line-height: 1.08; }
.studio-panel p { color: rgba(255,255,255,.72); }

.tools-preview { background: var(--paper); }

.engagement-section { background: var(--paper); }

.engagement-grid {
	display: grid;
	grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
	gap: 18px;
}

.engagement-note {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 618px;
	padding: clamp(34px, 4.2vw, 58px);
	border-radius: var(--radius);
	background: var(--olive-dark);
	color: var(--paper);
}

.engagement-note > p:last-of-type { color: rgba(255,255,255,.72); font-size: 16px; }

.engagement-quote {
	margin: auto 0 34px;
	font-family: var(--display);
	font-size: clamp(42px, 4.8vw, 68px);
	letter-spacing: -.045em;
	line-height: .98;
}

.engagement-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.engagement-tags span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.engagement-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.engagement-step { min-height: 300px; padding: clamp(28px, 3.2vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.engagement-step:nth-child(2),
.engagement-step:nth-child(3) { background: var(--leaf-light); }
.engagement-step > span { color: var(--olive); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.engagement-step h3 { margin: 76px 0 14px; font-family: var(--display); font-size: clamp(32px, 3vw, 43px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.engagement-step p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.engagement-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; overflow: hidden; border-radius: var(--radius); background: rgba(24,32,25,.2); }
.engagement-outcomes p { display: grid; gap: 8px; margin: 0; padding: 27px; background: var(--leaf); }
.engagement-outcomes strong { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1; }
.engagement-outcomes span { color: var(--ink-soft); font-size: 12px; }

.tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.tool-card {
	display: flex;
	flex-direction: column;
	min-height: 380px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--cream);
	text-decoration: none;
	transition: transform .28s ease, box-shadow .28s ease;
}

.tool-card:first-child { border-radius: var(--radius) 90px var(--radius) var(--radius); background: var(--saffron); }
.tool-card:nth-child(2) { background: var(--leaf-light); }
.tool-card:nth-child(4) { background: var(--olive-dark); color: var(--paper); }
.tool-card:nth-child(4) p { color: rgba(255,255,255,.68); }
.tool-card:nth-child(5) { background: var(--tomato); color: var(--paper); }
.tool-card:nth-child(5) p { color: rgba(255,255,255,.76); }
.tool-card:nth-child(6) { background: var(--leaf); }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tool-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: auto; border: 1px solid; border-radius: 50%; font-family: var(--display); font-size: 32px; }
.tool-card h3 { margin: 44px 0 10px; font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 1; }
.tool-card p { margin: 0; font-size: 14px; }
.tool-link { margin-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.journal-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 18px;
}

.post-card { grid-column: span 4; }
.post-card:first-child { grid-column: span 6; }
.post-card:nth-child(2) { grid-column: span 6; }

.post-card a { display: block; text-decoration: none; }

.post-art {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 310px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--olive-dark);
}

.post-card:first-child .post-art,
.post-card:nth-child(2) .post-art { min-height: 420px; }

.post-art::before,
.post-art::after { position: absolute; content: ""; }
.post-art::before { width: 62%; aspect-ratio: 1; border-radius: 46% 54% 60% 40%; background: var(--leaf); transform: rotate(18deg); }
.post-art::after { width: 38%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,250,240,.16); backdrop-filter: blur(5px); }
.post-art .art-mark { position: relative; z-index: 2; color: var(--paper); font-family: var(--display); font-size: 58px; font-style: italic; }
.post-card:nth-child(2n) .post-art { background: var(--tomato); }
.post-card:nth-child(2n) .post-art::before { background: var(--saffron); }
.post-card:nth-child(3n) .post-art { background: var(--olive); }
.post-card:nth-child(3n) .post-art::before { border-radius: 50% 50% 8% 50%; background: var(--paper); }
.post-art.has-image::before,
.post-art.has-image::after { display: none; }
.post-art.has-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.post-card:hover .post-art.has-image img { transform: scale(1.035); }

.post-meta { display: flex; gap: 14px; margin-top: 18px; color: var(--olive); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2,
.post-card h3 { margin: 10px 0 8px; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.section-copy-group { display: grid; gap: 22px; align-items: start; }
.section-text-link { width: max-content; color: var(--olive); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.food-world-section { background: var(--olive-dark); color: var(--paper); }
.food-world-section .section-kicker { color: var(--leaf); }
.food-world-section .section-copy { color: rgba(255,255,255,.68); }
.food-world-section .section-title em { color: var(--leaf-light); font-weight: 400; }
.food-world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.18); }
.food-world-card { min-height: 340px; padding: clamp(26px, 3.2vw, 44px); background: var(--olive-dark); }
.food-world-card:nth-child(2),
.food-world-card:nth-child(4) { background: #30402a; }
.food-world-card > span { color: var(--leaf); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.food-world-card h3 { margin: 130px 0 14px; font-family: var(--display); font-size: clamp(31px, 3vw, 43px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.food-world-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }

.geo-answer-section { padding-top: clamp(80px, 10vw, 150px); }
.geo-answer-grid {
	display: grid;
	grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
	gap: clamp(42px, 8vw, 120px);
	padding: clamp(34px, 6vw, 76px);
	border: 1px solid rgba(31, 43, 25, .14);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, rgba(211, 220, 171, .48), rgba(255, 252, 241, .92));
}
.geo-answer-grid .section-title { font-size: clamp(46px, 5.4vw, 78px); }
.geo-answer-meta { max-width: 320px; margin-top: 26px; color: var(--ink-soft); font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.geo-answer-copy { align-self: center; }
.geo-answer-copy p { margin: 0; color: var(--ink); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.7; }
.geo-answer-copy a { color: inherit; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.cta-band {
	position: relative;
	overflow: hidden;
	padding: clamp(80px, 10vw, 140px) 0;
	background: var(--tomato);
	color: var(--paper);
	text-align: center;
}

.cta-band::before,
.cta-band::after {
	position: absolute;
	top: 50%;
	width: 32vw;
	aspect-ratio: 1;
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}
.cta-band::before { left: -19vw; }
.cta-band::after { right: -19vw; }
.cta-band h2 { max-width: 930px; margin: 0 auto 34px; font-family: var(--display); font-size: clamp(54px, 8vw, 114px); font-weight: 500; letter-spacing: -.065em; line-height: .88; }
.cta-band h2 em { color: var(--leaf-light); font-weight: 400; }

.page-hero,
.archive-hero {
	padding: 190px 0 90px;
	background: var(--olive-dark);
	color: var(--paper);
}
.page-hero h1,
.archive-hero h1 { font-size: clamp(65px, 9vw, 125px); }
.page-hero h1 em,
.archive-hero h1 em { color: var(--leaf-light); font-weight: 400; }
.page-hero .lede,
.archive-hero .lede { max-width: 660px; margin: 32px 0 0; color: rgba(255,255,255,.75); font-size: 20px; }

.tool-workspace { padding: 70px 0 130px; }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tool-tab { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 750; cursor: pointer; }
.tool-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tool-panel { display: none; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.tool-panel.is-active { display: grid; }
.tool-explainer,
.calculator { padding: clamp(28px, 5vw, 62px); border: 1px solid var(--line); border-radius: var(--radius); }
.tool-explainer { background: var(--leaf-light); }
.tool-explainer h2,
.calculator h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1; }
.tool-explainer p { color: var(--ink-soft); }
.tool-disclaimer { font-size: 12px; opacity: .72; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label,
.field-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.calculator-result { margin-top: 24px; padding: 24px; border-radius: 18px; background: var(--ink); color: var(--paper); }
.result-main { font-family: var(--display); font-size: clamp(37px, 6vw, 67px); line-height: 1; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.result-stat { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.24); }
.result-stat span { display: block; color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; }
.checklist { display: grid; gap: 9px; }
.check-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; }
.check-item input { width: 20px; height: 20px; accent-color: var(--olive); }
.progress-track { height: 12px; margin: 18px 0 8px; overflow: hidden; border-radius: 999px; background: rgba(24,32,25,.12); }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--tomato); transition: width .35s ease; }

.archive-content { padding: 72px 0 120px; }
.archive-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-submit { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); cursor: pointer; }

.article { padding: 178px 0 120px; }
.article-head { max-width: 1000px; margin-bottom: 56px; }
.article-head h1 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(56px, 8vw, 112px); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.article-deck { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 20px; }
.article-cover { height: min(720px, 70vw); max-height: 720px; overflow: hidden; border-radius: var(--radius-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.article-layout { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr) minmax(160px, .3fr); gap: 50px; margin-top: 70px; }
.article-aside { font-size: 12px; }
.article-aside strong { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .09em; }
.article-content { max-width: 760px; font-family: var(--display); font-size: clamp(19px, 2vw, 23px); line-height: 1.72; }
.article-content h2 { margin: 2.2em 0 .55em; font-size: clamp(38px, 5vw, 62px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.article-content a { color: var(--olive); }
.article-content blockquote { margin: 2em 0; padding-left: 24px; border-left: 4px solid var(--tomato); font-size: 1.35em; font-style: italic; line-height: 1.25; }
.article-content h3 { margin: 1.7em 0 .5em; font-size: clamp(27px, 3vw, 38px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
.article-content ul,
.article-content ol { padding-left: 1.25em; }
.article-content li { margin-bottom: .55em; }
.article-callout { margin: 2em 0; padding: 26px 28px; border-radius: 18px; background: var(--leaf-light); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
.article-table { width: 100%; margin: 2em 0; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.article-table th,
.article-table td { padding: 15px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table th { color: var(--olive); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.reading-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 0; height: 3px; background: var(--tomato); }

.tools-directory { padding-block: 90px 130px; }
.tool-directory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tool-directory-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .28s ease, box-shadow .28s ease; }
.tool-directory-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tool-directory-card:nth-child(2),
.tool-directory-card:nth-child(3) { background: var(--leaf-light); }
.tool-directory-card:nth-child(5) { background: var(--saffron); }
.tool-directory-card:nth-child(6) { background: var(--leaf); }
.tool-directory-card figure { min-height: 100%; margin: 0; overflow: hidden; }
.tool-directory-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tool-directory-card:hover img { transform: scale(1.035); }
.tool-directory-card > div { display: flex; flex-direction: column; padding: clamp(28px, 3.8vw, 48px); }
.tool-directory-card h2 { margin: auto 0 14px; font-family: var(--display); font-size: clamp(34px, 3.5vw, 50px); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.tool-directory-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.tool-directory-card strong { margin-top: 24px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.tool-page-hero { padding: 150px 0 34px; background: var(--olive-dark); color: var(--paper); }
.tool-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 5vw, 70px); align-items: center; }
.tool-hero-grid > *,
.tool-detail-grid > *,
.recipe-finder-grid > * { min-width: 0; }
.tool-hero-copy { padding-block: 48px; }
.tool-hero-copy .eyebrow a { color: var(--leaf); }
.tool-hero-copy h1 { margin: 24px 0 28px; color: var(--paper); font-size: clamp(62px, 8.5vw, 118px); }
.tool-hero-copy h1 em { color: var(--leaf-light); font-weight: 400; }
.tool-hero-copy .lede { max-width: 680px; color: rgba(255,255,255,.74); font-size: 19px; }
.tool-hero-image { height: min(680px, 48vw); min-height: 520px; margin: 0; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 150px var(--radius-lg); }
.tool-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.tool-detail { padding-block: 80px 120px; }
.tool-detail-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: 18px; align-items: stretch; }
.tool-intro { display: flex; flex-direction: column; padding: clamp(34px, 4.5vw, 64px); border-radius: var(--radius); background: var(--leaf-light); }
.tool-intro h2 { margin: 80px 0 18px; font-family: var(--display); font-size: clamp(46px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.tool-intro p { color: var(--ink-soft); }
.tool-notes { display: grid; gap: 10px; margin: 30px 0; padding: 0; list-style: none; }
.tool-notes li { padding: 13px 0 13px 28px; border-top: 1px solid rgba(24,32,25,.16); background: radial-gradient(circle at 7px 21px, var(--tomato) 0 4px, transparent 4.5px); font-size: 14px; }
.tool-intro .tool-disclaimer { margin-top: auto; padding-top: 30px; }
.calculator-large { background: var(--cream); }
.result-note { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }
.result-grid-four { grid-template-columns: repeat(4, 1fr); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 46px; }
.input-suffix span { position: absolute; top: 50%; right: 16px; color: var(--ink-soft); font-weight: 800; transform: translateY(-50%); }

.tool-guide { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; }
.tool-guide > div:first-child h2 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(50px, 6vw, 82px); font-weight: 500; letter-spacing: -.05em; line-height: .92; }
.tool-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool-guide-grid article { min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.tool-guide-grid article:nth-child(2) { background: var(--leaf-light); }
.tool-guide-grid span { color: var(--tomato); font-size: 11px; font-weight: 800; }
.tool-guide-grid h3 { margin: 120px 0 12px; font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 1; }
.tool-guide-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.tool-support { padding-top: 0; background: var(--paper); }
.tool-support-layout { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.tool-support-layout > * { min-width: 0; }
.tool-support-aside { position: sticky; top: 30px; padding-top: 16px; }
.admin-bar .tool-support-aside { top: 62px; }
.tool-support-aside > p:last-child { max-width: 230px; color: var(--ink-soft); font-size: 13px; }
.tool-support-content { max-width: 880px; }
.tool-support-content > h2 { margin: 0 0 30px; font-family: var(--display); font-size: clamp(48px, 6.6vw, 86px); font-weight: 500; letter-spacing: -.055em; line-height: .94; }
.tool-support-content > h3,
.tool-example h3,
.tool-faq h3 { margin: 70px 0 18px; font-family: var(--display); font-size: clamp(34px, 4.2vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.tool-support-content > p { max-width: 780px; color: var(--ink-soft); }
.tool-support-lede { font-size: 18px; line-height: 1.7; }
.tool-method { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 30px 0 0; padding: 1px; border-radius: var(--radius); background: var(--line); list-style: none; counter-reset: tool-step; overflow: hidden; }
.tool-method li { position: relative; min-height: 230px; padding: 34px; background: var(--cream); counter-increment: tool-step; }
.tool-method li:nth-child(2),
.tool-method li:nth-child(3) { background: var(--leaf-light); }
.tool-method li::before { display: block; margin-bottom: 62px; color: var(--tomato); content: "0" counter(tool-step); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.tool-method strong,
.tool-method span { display: block; }
.tool-method strong { margin-bottom: 10px; font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1; }
.tool-method span { color: var(--ink-soft); font-size: 13px; }
.tool-table-wrap { margin: 26px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.tool-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.tool-table th,
.tool-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tool-table thead th { background: var(--olive-dark); color: var(--paper); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tool-table tbody th { width: 25%; color: var(--olive); font-weight: 800; }
.tool-table tr:last-child th,
.tool-table tr:last-child td { border-bottom: 0; }
.tool-example { margin-top: 76px; padding: clamp(30px, 5vw, 58px); border-radius: var(--radius); background: var(--leaf-light); }
.tool-example .eyebrow { color: var(--olive); }
.tool-example h3 { margin-top: 36px; }
.tool-example p:last-child { margin-bottom: 0; }
.tool-formula { padding: 24px 26px; border-left: 5px solid var(--tomato); border-radius: 0 16px 16px 0; background: var(--cream); color: var(--ink) !important; font-family: var(--display); font-size: 21px; line-height: 1.45; }
.tool-errors { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tool-errors li { padding: 14px 18px 14px 48px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at 24px 25px, var(--tomato) 0 4px, transparent 4.5px), var(--cream); color: var(--ink-soft); font-size: 14px; }
.tool-faq { margin-top: 84px; }
.tool-faq h3 { margin-top: 26px; }
.tool-faq details { border-top: 1px solid var(--line); }
.tool-faq details:last-child { border-bottom: 1px solid var(--line); }
.tool-faq summary { position: relative; padding: 22px 48px 22px 0; font-family: var(--display); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.15; cursor: pointer; list-style: none; }
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq summary::after { position: absolute; top: 23px; right: 4px; color: var(--tomato); content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 500; }
.tool-faq details[open] summary::after { content: "−"; }
.tool-faq details p { max-width: 730px; margin: 0; padding: 0 48px 26px 0; color: var(--ink-soft); }
.related-tools { margin-top: 84px; }
.related-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-tools-grid a { display: flex; min-height: 190px; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); text-decoration: none; transition: transform .25s ease, background .25s ease; }
.related-tools-grid a:nth-child(2) { background: var(--leaf-light); }
.related-tools-grid a:hover { transform: translateY(-4px); }
.related-tools-grid strong { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1; }
.related-tools-grid span { margin-top: 10px; color: var(--ink-soft); font-size: 12px; }

.visibility-dashboard { display: grid; grid-template-columns: .55fr .75fr 1.2fr; gap: 12px; margin-bottom: 18px; }
.visibility-dashboard > div { min-height: 230px; padding: 30px; border-radius: var(--radius); background: var(--paper); }
.visibility-dashboard > div:first-child { background: var(--tomato); color: var(--paper); }
.visibility-dashboard > div:nth-child(2) { background: var(--leaf-light); }
.visibility-score { display: flex; align-items: baseline; margin-top: 24px; font-family: var(--display); }
.visibility-score strong { font-size: 82px; font-weight: 500; line-height: .8; }
.visibility-score span { font-size: 26px; }
.visibility-actions { margin: 18px 0 0; padding-left: 20px; font-size: 13px; }
.visibility-actions li { margin-bottom: 8px; }
.visibility-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visibility-group { padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.visibility-group:nth-child(2),
.visibility-group:nth-child(3) { background: var(--leaf-light); }
.visibility-group h2 { margin: 48px 0 26px; font-family: var(--display); font-size: clamp(38px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.visibility-group .check-item { margin-bottom: 9px; }
.visibility-disclaimer { margin-top: 24px; text-align: center; }

.recipe-finder-grid { display: grid; grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr); gap: 18px; }
.recipe-controls { display: flex; flex-direction: column; gap: 18px; background: var(--leaf-light); }
.recipe-controls h2 { margin: 46px 0 14px; }
.recipe-controls .button { margin-top: 8px; }
.text-button { border: 0; background: transparent; color: var(--olive); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.recipe-result { display: flex; min-height: 690px; flex-direction: column; justify-content: space-between; padding: clamp(36px, 6vw, 76px); border-radius: var(--radius); background: var(--tomato); color: var(--paper); }
.recipe-result h2 { max-width: 800px; margin: 28px 0 18px; font-family: var(--display); font-size: clamp(55px, 7vw, 92px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.recipe-result-top > p { max-width: 620px; color: rgba(255,255,255,.76); }
.recipe-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 70px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.3); }
.recipe-columns h3 { font-family: var(--display); font-size: 28px; font-weight: 500; }
.recipe-columns ul,
.recipe-columns ol { padding-left: 20px; color: rgba(255,255,255,.8); font-size: 14px; }
.recipe-columns li { margin-bottom: 8px; }
.recipe-empty { margin: auto; font-family: var(--display); font-size: clamp(38px, 5vw, 64px); text-align: center; }

.recipe-ingredient-field { position: relative; }
.ingredient-suggest { position: absolute; z-index: 8; right: 0; left: 0; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 18px 45px rgba(24,32,25,.14); }
.ingredient-suggest > span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.ingredient-suggest > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ingredient-suggest button,
.ingredient-chip-list button { border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--olive-dark); font: inherit; font-size: 11px; font-weight: 760; cursor: pointer; }
.ingredient-suggest button { padding: 8px 11px; }
.ingredient-suggest button:hover,
.ingredient-suggest button:focus-visible,
.ingredient-chip-list button:hover,
.ingredient-chip-list button:focus-visible { border-color: var(--tomato); background: var(--leaf-light); outline: none; }
.popular-ingredient-block { margin-top: 20px; }
.ingredient-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.ingredient-chip-list button { padding: 8px 12px; }
.ingredient-chip-list button::before { content: '+ '; color: var(--tomato); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-help { margin: 0; color: var(--ink-soft); font-size: 11px; }
[hidden] { display: none !important; }

.recipe-results-panel { min-width: 0; padding: clamp(32px, 5vw, 62px); border-radius: var(--radius); background: var(--tomato); color: var(--paper); }
.recipe-results-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.recipe-results-head h2 { max-width: 620px; margin: 12px 0 0; font-family: var(--display); font-size: clamp(42px, 5vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
.recipe-results-head > p { max-width: 320px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.recipe-result-list { display: grid; gap: 10px; }
.recipe-match-card { padding: 25px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(255,255,255,.08); }
.recipe-match-top { display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.recipe-match-rank { color: var(--leaf-light); }
.recipe-match-card h3 { margin: 28px 0 4px; font-family: var(--display); font-size: clamp(31px, 3.3vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.recipe-match-meta { margin: 0 0 23px; color: rgba(255,255,255,.65); font-size: 12px; text-transform: capitalize; }
.recipe-match-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recipe-match-lists > div { padding: 14px; border-radius: 12px; background: rgba(24,32,25,.14); }
.recipe-match-lists strong { color: var(--leaf-light); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.recipe-match-lists p { margin: 5px 0 0; color: rgba(255,255,255,.78); font-size: 12px; }
.recipe-match-card details { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.recipe-match-card summary { padding: 16px 0 4px; color: var(--paper); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.recipe-card-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 15px; }
.recipe-card-columns ul,
.recipe-card-columns ol { margin: 0; padding-left: 19px; color: rgba(255,255,255,.76); font-size: 12px; }
.recipe-card-columns li { margin-bottom: 7px; }

.substitute-workspace form { display: grid; gap: 18px; }
.substitute-results { display: grid; gap: 18px; margin-top: 34px; }
.substitute-group { display: grid; gap: 8px; }
.substitute-group > h3,
.substitute-empty h3 { margin: 22px 0 8px; font-family: var(--display); font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.substitute-group article { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.substitute-group article:nth-of-type(2) { background: var(--leaf-light); }
.substitute-group h4 { margin: 0 0 8px; font-family: var(--display); font-size: 28px; font-weight: 500; }
.substitute-group article > strong { display: block; color: var(--tomato); font-size: 13px; }
.substitute-group article p { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; }
.substitute-group .substitute-note { padding-top: 12px; border-top: 1px solid var(--line); }
.substitute-empty { padding: 28px; border-radius: 18px; background: var(--leaf-light); }
.substitute-empty p { color: var(--ink-soft); }
.substitute-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.substitute-chips button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--olive); cursor: pointer; }

.converter-workspace { align-self: stretch; }
.converter-grid { display: grid; grid-template-columns: .7fr 1fr 46px 1fr; gap: 10px; align-items: end; }
.converter-swap { width: 46px; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--leaf-light); color: var(--olive); font-size: 23px; cursor: pointer; }
.converter-workspace [data-density-field] { margin-top: 18px; }
.converter-result { margin-top: 42px; }
.popular-conversions { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.popular-conversions h2 { max-width: 620px; margin: 8px 0 18px; font-family: var(--display); font-size: clamp(29px, 3.6vw, 45px); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
.conversion-preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.conversion-preset-grid button { min-height: 54px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--olive-dark); font: inherit; font-size: 11px; font-weight: 800; text-align: left; cursor: pointer; }
.conversion-preset-grid button span { color: var(--tomato); }
.conversion-preset-grid button:hover,
.conversion-preset-grid button:focus-visible,
.conversion-preset-grid button.is-active { border-color: var(--olive); background: var(--leaf-light); outline: none; }

.qr-workspace { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; }
.qr-workspace form { display: grid; gap: 18px; }
.qr-form-head h2 { margin: 7px 0 5px; font-family: var(--display); font-size: clamp(31px, 4vw, 48px); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.qr-form-head p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }
.qr-generate-button { justify-self: start; border: 0; cursor: pointer; }
.qr-output { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 18px; padding: clamp(22px, 4vw, 38px); border-radius: 20px; background: var(--olive-dark); color: var(--paper); }
.qr-canvas-wrap { min-width: 0; aspect-ratio: 1 / 1; padding: 15px; overflow: hidden; border-radius: 15px; background: #fffaf0; }
.qr-canvas-wrap canvas { display: block; width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 1 / 1; }
.qr-destination { overflow-wrap: anywhere; color: rgba(255,255,255,.72); font-size: 13px; }
.tool-status { color: var(--leaf); font-size: 12px; }
.qr-output .text-button { color: var(--leaf); text-decoration: none; }

.listing-workspace form { display: grid; gap: 18px; }
.listing-status { margin: 28px 0 0; padding: 17px 20px; border-radius: 14px; background: var(--leaf-light); color: var(--olive-dark); font-size: 13px; }
.listing-result { margin-top: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.listing-result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.listing-result-head h3 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 500; }
.listing-result-head span { padding: 7px 10px; border-radius: 999px; background: var(--leaf-light); color: var(--olive); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.listing-result article { padding: 18px 0; border-top: 1px solid var(--line); }
.listing-result article:first-of-type { margin-top: 16px; }
.listing-result article strong { font-family: var(--display); font-size: 24px; font-weight: 500; }
.listing-result article p { margin: 6px 0; color: var(--ink-soft); font-size: 12px; }
.listing-result article a,
.osm-attribution { color: var(--olive); font-size: 11px; font-weight: 750; }
.osm-attribution { display: inline-block; margin-top: 8px; }
.platform-checks { margin-top: 30px; }
.platform-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.platform-check-grid a { display: flex; justify-content: space-between; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 780; text-decoration: none; }
.platform-check-grid a:hover { background: var(--leaf-light); }
.platform-check-grid span { color: var(--tomato); font-size: 10px; text-transform: uppercase; }
.listing-honesty { color: var(--ink-soft); font-size: 11px; }

.ingredient-editor { margin-top: 28px; }
.ingredient-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.ingredient-rows { display: grid; gap: 8px; }
.ingredient-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(90px, .45fr) minmax(80px, .35fr) 42px; gap: 8px; }
.ingredient-row input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.ingredient-row button { border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--tomato); cursor: pointer; }
.scaled-ingredient-list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.24); }
.scaled-ingredient-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.scaled-ingredient-list span { color: rgba(255,255,255,.72); }
.scaled-ingredient-list strong { text-align: right; }
.calculator-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.calculator-actions .button { cursor: pointer; }
.calculator-actions .button:disabled { cursor: not-allowed; opacity: .45; }
.calculator-actions [data-copy-status] { color: rgba(255,255,255,.7); font-size: 12px; }

.about-grid,
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 80px 0 120px; }
.story-card { min-height: 440px; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--paper); }
.story-card:nth-child(2) { background: var(--leaf-light); }
.story-card h2 { margin: 0 0 20px; font-family: var(--display); font-size: 54px; font-weight: 500; line-height: 1; }
.story-card p { max-width: 560px; }
.brief-output { display: none; margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--paper); white-space: pre-wrap; }
.brief-output.is-visible { display: block; }
.contact-grid { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); }
.contact-intro-card { display: flex; flex-direction: column; }
.contact-intro-card .button { align-self: flex-start; margin-top: auto; }
.direct-email { margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; }
.contact-form-card { min-height: 0; }
.field label span { font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .58; }

.policy-content { max-width: 860px; padding-block: 82px 130px; }
.policy-content section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.policy-content p { max-width: 720px; color: var(--ink-soft); font-size: 17px; }
.policy-content a { color: var(--olive); }
.policy-updated { margin-top: 36px; font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; }

.gone-page { min-height: 80vh; padding: 220px 0 100px; }
.gone-page h1 { margin-bottom: 30px; color: var(--olive-dark); }
.gone-page p { max-width: 620px; margin-bottom: 30px; }

.site-footer { padding: 64px 0 28px; background: var(--ink); color: var(--paper); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 64px; padding-bottom: 70px; }
.footer-title { max-width: 760px; margin: 0; font-family: var(--display); font-size: clamp(55px, 7vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.footer-title em { color: var(--leaf); font-weight: 400; }
.footer-lead > p { max-width: 590px; color: rgba(255,255,255,.64); }
.footer-email { display: inline-block; margin-top: 17px; color: var(--leaf); font-family: var(--display); font-size: clamp(22px, 2.2vw, 31px); text-decoration: none; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-content: start; }
.footer-nav { display: grid; align-content: start; gap: 12px; }
.footer-label { margin: 0 0 9px; color: var(--leaf); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav a { width: max-content; color: rgba(255,255,255,.72); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--leaf); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.54); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-in .7s ease both; }

@keyframes hero-breathe { to { transform: scale(1.075) translate3d(calc(var(--pointer-x, 0) * -7px), calc(var(--pointer-y, 0) * -7px), 0); } }
@keyframes float { 50% { transform: translateY(16px) rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes reveal-in { from { opacity: .25; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
	.nav-shell { grid-template-columns: 1fr auto; }
	.site-nav {
		position: fixed;
		inset: 0;
		display: grid;
		place-items: center;
		visibility: hidden;
		background: rgba(24,32,25,.97);
		opacity: 0;
		transition: opacity .2s ease, visibility .2s ease;
	}
	.menu-open .site-nav { visibility: visible; opacity: 1; }
	.site-menu { flex-direction: column; gap: 22px; }
	.site-menu a { font-family: var(--display); font-size: 42px; font-weight: 500; }
	.nav-cta { display: none; }
	.menu-toggle { position: relative; z-index: 3; display: block; }
	.service-grid { grid-template-columns: 1fr 1fr; }
	.engagement-grid { grid-template-columns: 1fr; }
	.engagement-note { min-height: 520px; }
	.tools-grid { grid-template-columns: 1fr 1fr; }
	.food-world-grid { grid-template-columns: 1fr 1fr; }
	.tool-directory-card { grid-template-columns: 1fr; }
	.tool-directory-card figure { min-height: 320px; }
	.tool-hero-grid,
	.tool-detail-grid,
	.tool-guide { grid-template-columns: 1fr; }
	.tool-hero-image { height: 600px; }
	.tool-guide-grid { grid-template-columns: 1fr 1fr 1fr; }
	.tool-support-layout { grid-template-columns: 1fr; gap: 24px; }
	.tool-support-aside { position: static; }
	.tool-support-aside > p:last-child { max-width: 520px; }
	.visibility-dashboard { grid-template-columns: 1fr 1fr; }
	.visibility-dashboard > div:last-child { grid-column: 1 / -1; }
	.recipe-finder-grid { grid-template-columns: 1fr; }
	.article-layout { grid-template-columns: minmax(130px, .2fr) 1fr; }
	.article-layout > :last-child { display: none; }
}

@media (max-width: 760px) {
	:root { --shell: min(1240px, calc(100vw - 28px)); --radius: 22px; --radius-lg: 30px; }
	.tool-hero-copy h1 { font-size: clamp(52px, 16vw, 72px); overflow-wrap: anywhere; }
	.admin-bar .site-header { top: 46px; }
	.nav-shell { padding-left: 14px; }
	.site-brand .brand-words { max-width: 105px; }
	.hero { min-height: 840px; }
	.hero-media { background-position: 63% center; }
	.hero-shade { background: linear-gradient(90deg, rgba(16,24,17,.82), rgba(16,24,17,.34)), linear-gradient(0deg, rgba(16,24,17,.55), transparent 50%); }
	.hero-content { padding-top: 145px; }
	.hero h1 { font-size: clamp(59px, 19vw, 88px); }
	.hero-bottom { grid-template-columns: 1fr; }
	.hero-actions { justify-content: flex-start; }
	.hero-orbit { top: auto; right: 20px; bottom: 26px; width: 94px; height: 94px; font-size: 15px; }
	.section-head { grid-template-columns: 1fr; gap: 20px; }
	.service-grid,
	.studio-split,
	.tools-grid,
	.tool-panel.is-active,
	.about-grid,
	.contact-grid { grid-template-columns: 1fr; }
	.tool-directory-grid,
	.geo-answer-grid,
	.visibility-groups,
	.tool-guide-grid,
	.recipe-columns,
	.field-row,
	.recipe-match-lists,
	.recipe-card-columns,
	.qr-output,
	.platform-check-grid,
	.food-world-grid,
	.tool-method,
	.related-tools-grid { grid-template-columns: 1fr; }
	.recipe-results-head { align-items: start; flex-direction: column; }
	.converter-grid { grid-template-columns: 1fr 1fr; }
	.converter-grid .field:first-child { grid-column: 1 / -1; }
	.converter-swap { grid-column: 1 / -1; justify-self: center; transform: rotate(90deg); }
	.service-card { min-height: 310px; }
	.service-grid-visual .service-card { min-height: 0; }
	.service-card h3 { margin-top: 80px; }
	.service-grid-visual .service-card h3 { margin-top: 28px; }
	.engagement-steps { grid-template-columns: 1fr; }
	.engagement-step { min-height: 250px; }
	.engagement-step h3 { margin-top: 52px; }
	.engagement-outcomes { grid-template-columns: 1fr 1fr; }
	.studio-image { min-height: 560px; border-radius: var(--radius-lg) var(--radius-lg) 100px var(--radius-lg); }
	.studio-panel { border-radius: 100px var(--radius-lg) var(--radius-lg) var(--radius-lg); }
	.tool-hero-image { height: 92vw; min-height: 390px; border-radius: var(--radius-lg) var(--radius-lg) 80px var(--radius-lg); }
	.tool-page-hero { padding-top: 130px; }
	.tool-detail { padding-block: 46px 90px; }
	.tool-intro h2 { margin-top: 48px; }
	.tool-guide-grid article { min-height: 250px; }
	.tool-guide-grid h3 { margin-top: 64px; }
	.tool-support-content > h3,
	.tool-example h3,
	.tool-faq h3 { margin-top: 52px; }
	.tool-method li { min-height: 210px; }
	.tool-method li::before { margin-bottom: 42px; }
	.food-world-card { min-height: 260px; }
	.food-world-card h3 { margin-top: 76px; }
	.visibility-dashboard { grid-template-columns: 1fr; }
	.visibility-dashboard > div:last-child { grid-column: auto; }
	.result-grid-four { grid-template-columns: 1fr 1fr; }
	.recipe-result { min-height: 620px; }
	.article-table { display: block; overflow-x: auto; }
	.journal-grid { display: block; }
	.post-card { margin-bottom: 48px; }
	.post-card .post-art,
	.post-card:first-child .post-art,
	.post-card:nth-child(2) .post-art { min-height: 330px; }
	.field-grid,
	.result-grid { grid-template-columns: 1fr; }
	.ingredient-row { grid-template-columns: 1fr 1fr 42px; }
	.ingredient-row input:first-child { grid-column: 1 / -1; }
	.article { padding-top: 150px; }
	.article-cover { height: 72vh; }
	.article-layout { display: block; margin-top: 45px; }
	.article-aside { margin-bottom: 36px; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
	.engagement-outcomes,
	.footer-columns { grid-template-columns: 1fr; }
	.footer-email { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hero-media { transform: none; }
	.reveal { opacity: 1; transform: none; }
}
