/*
Theme Name: Tosmat
Theme URI: https://tosmat.com
Author: Alfred Akpan
Description: Custom theme for Tosmat Foods and Agro Products — cassava farming, garri processing and agro-allied machine fabrication in Oyo State, Nigeria. Layout follows the Farns agriculture template, retuned to the Tosmat Foods logo green.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tosmat
*/

/* =========================================================
   TOKENS
   ========================================================= */
:root {
	--green-900: #0A3320;   /* nav, footer, overlays */
	--green-800: #0D4428;
	--green-700: #0E5C34;   /* buttons, stats bar */
	--green-500: #04A65A;   /* logo green */
	--yellow:    #F7C61C;
	--yellow-600:#E2B00A;
	--bg:        #F4F2EC;   /* patterned grey sections */
	--bg-2:      #ECEAE2;
	--white:     #FFFFFF;
	--ink:       #0E2A19;   /* headings */
	--text:      #59625C;   /* body copy */
	--line:      #E4E1D7;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 40px);
	--shadow: 0 14px 40px -18px rgba(10, 51, 32, .28);
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* faint leaf pattern used on grey sections, like the template's botanical wash */
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%230A3320' stroke-opacity='.035' stroke-width='1.4'%3E%3Cpath d='M30 120c10-34 40-52 70-50-6 32-34 54-70 50z'/%3E%3Cpath d='M30 120c22-18 44-34 70-50'/%3E%3Cpath d='M120 40c18-8 38-4 48 10-16 10-36 10-48-10z'/%3E%3Cpath d='M120 40c16 4 32 7 48 10'/%3E%3Cpath d='M118 150c4-16 18-26 32-26-2 16-16 28-32 26z'/%3E%3C/g%3E%3C/svg%3E");
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(70px, 9vw, 120px); }
.bg-grey { background: var(--bg) var(--pattern); }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--yellow); color: var(--green-900); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Section label pill (template's "About Company" chip) */
.pill {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--green-700);
	background: var(--bg);
	padding: 9px 16px;
	border-radius: 100px;
	margin-bottom: 18px;
}
.bg-grey .pill { background: var(--white); }
.title {
	font-size: clamp(28px, 3.1vw, 42px);
	line-height: 1.22;
	letter-spacing: -0.025em;
}
.title + p, .head p { margin-top: 18px; }
.head { margin-bottom: clamp(40px, 5vw, 56px); }
.head.center .title { max-width: 20ch; margin-inline: auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1;
	padding: 18px 28px;
	border-radius: 5px;
	border: 0;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-yellow { background: var(--yellow); color: var(--green-900); }
.btn-yellow:hover { background: var(--yellow-600); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-900); }
.btn-white { background: var(--white); color: var(--green-900); }
.btn-white:hover { background: var(--yellow); }
.btn-sm { padding: 12px 18px; font-size: 11px; }

/* Round arrow button used on cards */
.circle {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--green-900);
	flex: none;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.circle svg { width: 16px; height: 16px; }

/* =========================================================
   TOP TICKER (yellow)
   ========================================================= */
.ticker { background: var(--yellow); color: var(--green-900); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-item {
	display: flex;
	align-items: center;
	gap: 34px;
	padding: 11px 17px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ticker-item svg { width: 15px; height: 15px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   HEADER / NAV (dark green)
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--green-900); }
.site-header .wrap { position: relative; }
.site-header .wrap::after { /* the yellow rule under the nav */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 4px;
	background: var(--yellow);
	z-index: 2;
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 62px; width: auto; }

.menu { margin-inline: auto; }
.menu-list { display: flex; align-items: center; gap: 30px; }
.menu a {
	display: block;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding-block: 8px;
	transition: color .2s var(--ease);
}
.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu a[aria-current="page"] { color: var(--yellow); }

.nav-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.icon-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18);
	color: var(--white);
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn::after { content: ""; position: absolute; top: 6px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.nav-quote { padding: 17px 26px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 6px; background: var(--yellow); color: var(--green-900); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
	.menu-list { gap: 20px; }
	.nav-quote { display: none; }
}
@media (max-width: 960px) {
	.nav { min-height: 76px; }
	.brand img { height: 48px; }
	.nav-toggle { display: grid; }
	.nav-actions { margin-left: auto; }
	.menu {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(86vw, 340px);
		margin: 0;
		padding: 96px 28px 28px;
		background: var(--green-900);
		box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
		transform: translateX(105%);
		transition: transform .35s var(--ease);
		z-index: 95;
		overflow-y: auto;
	}
	.menu.is-open { transform: none; }
	.menu-list { flex-direction: column; align-items: stretch; gap: 0; }
	.menu a { font-size: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.nav-close { position: absolute; top: 22px; right: 22px; }
	body.menu-open { overflow: hidden; }
	body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 89; background: rgba(6, 30, 18, .55); }
}
@media (min-width: 961px) { .nav-close { display: none; } }

/* =========================================================
   HERO (photo slider + green overlay + highlighted headline)
   ========================================================= */
.hero { position: relative; z-index: 3; isolation: isolate; color: var(--white); background: var(--green-900); }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.1s var(--ease), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(10, 51, 32, .94) 0%, rgba(10, 51, 32, .82) 38%, rgba(10, 51, 32, .35) 70%, rgba(10, 51, 32, .15) 100%);
}
.hero .wrap {
	position: relative;
	min-height: clamp(560px, 82vh, 780px);
	display: flex;
	align-items: center;
	padding-block: 90px 110px;
}
.hero-copy { max-width: 640px; }
.hero-title {
	color: var(--white);
	font-size: clamp(38px, 5.6vw, 76px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .hl {
	display: inline;
	padding: 0 .12em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.hero-title .hl-white { background: var(--white); color: var(--green-900); }
.hero-title .hl-yellow { background: var(--yellow); color: var(--green-900); }
.hero-text { margin-top: 26px; max-width: 46ch; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrows { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; justify-items: end; }
.hero-arrow {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid var(--white);
	background: transparent;
	color: var(--white);
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: var(--white); color: var(--green-900); }
.hero-arrow.next { background: var(--yellow); border-color: var(--yellow); color: var(--green-900); margin-right: -28px; }
.hero-arrow.next:hover { background: var(--white); border-color: var(--white); }


/* round stamp that overlaps the hero's bottom edge */
.stamp {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	z-index: 5;
	width: 136px;
	height: 136px;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 8px rgba(247, 198, 28, .25);
	display: grid;
	place-items: center;
}
.stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp-ring text { font-family: var(--font); font-size: 10.6px; font-weight: 700; letter-spacing: 3.2px; fill: var(--green-900); text-transform: uppercase; }
.stamp-core { width: 64px; height: 64px; border-radius: 50%; background: var(--green-900); color: var(--yellow); display: grid; place-items: center; }
.stamp-core svg { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
	.hero .wrap { padding-block: 70px 120px; }
	.hero::before { background: linear-gradient(180deg, rgba(10, 51, 32, .78) 0%, rgba(10, 51, 32, .9) 100%); }
	.hero-arrows { top: auto; bottom: 34px; transform: none; display: flex; }
	.hero-arrow { width: 48px; height: 48px; }
	.hero-arrow.next { margin-right: 0; }
	.stamp { width: 108px; height: 108px; }
	.stamp-core { width: 50px; height: 50px; }
	.stamp-core svg { width: 24px; height: 24px; }
	.stamp-ring text { font-size: 10px; letter-spacing: 2.6px; }
}

/* =========================================================
   ABOUT (white panel left, blob photo right)
   ========================================================= */
.about { position: relative; background: var(--bg) var(--pattern); padding-block: clamp(110px, 11vw, 150px) clamp(80px, 8vw, 110px); }
.about::before { content: ""; position: absolute; left: 0; top: 0; bottom: 70px; width: 67%; background: var(--white); }
.about .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-figure { display: grid; grid-template-columns: auto 1fr; gap: 34px; margin-top: 34px; align-items: start; }
.years {
	position: relative;
	width: 156px;
	padding: 26px 22px 22px;
	border-radius: 10px;
	background: var(--yellow);
	color: var(--green-900);
}
.years strong { display: block; font-size: 50px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.years span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.years svg { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; }
.mission h3 { font-size: 22px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.mission p { margin-top: 16px; font-size: 15px; }
.mission p a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mission .btn { margin-top: 28px; }
.blob { aspect-ratio: 1.12 / 1; border-radius: 48% 26% 34% 46% / 46% 30% 38% 44%; overflow: hidden; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.about { background: var(--white); }
	.about::before { display: none; }
	.about .wrap { grid-template-columns: 1fr; }
	.about-media { order: -1; max-width: 560px; }
}
@media (max-width: 520px) { .about-figure { grid-template-columns: 1fr; gap: 24px; } }

/* =========================================================
   SERVICE CARDS (circle photo, one highlighted yellow)
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.svc {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--white);
	border-radius: 8px;
	padding: 40px 26px 34px;
	transition: background-color .25s var(--ease);
}
.svc-pic { position: relative; width: 128px; height: 128px; margin-bottom: 26px; }
.svc-pic::before {
	content: "";
	position: absolute;
	inset: -9px;
	border-radius: 50%;
	border: 4px solid transparent;
	border-top-color: var(--yellow);
	border-left-color: var(--yellow);
	transform: rotate(-15deg);
	transition: border-color .25s var(--ease);
}
.svc-pic img, .svc-pic .svc-icon { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.svc-icon { display: grid; place-items: center; background: var(--green-900); color: var(--yellow); }
.svc-icon svg { width: 52px; height: 52px; }
.svc h3 { font-size: 19px; }
.svc p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; flex: 1; }
.svc .circle { margin-top: 24px; }
.svc.is-featured, .svc:hover { background: var(--yellow); }
.svc.is-featured p, .svc:hover p { color: var(--green-900); }
.svc.is-featured .svc-pic::before, .svc:hover .svc-pic::before { border-top-color: var(--green-900); border-left-color: var(--green-900); }
.svc.is-featured .circle, .svc:hover .circle { background: var(--green-900); color: var(--white); }
@media (max-width: 1000px) { .services-grid, .services-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid, .services-grid.cols-3 { grid-template-columns: 1fr; } }

/* =========================================================
   STATS BAR (green)
   ========================================================= */
.stats { background: var(--green-700); color: var(--white); }
.stats .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 34px; }
.stat strong { display: block; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.1; color: var(--white); letter-spacing: -0.02em; }
.stat span { display: block; font-size: 14px; color: var(--yellow); font-weight: 500; }
.stats-sep { color: rgba(255, 255, 255, .55); }
.stats-sep svg { width: 30px; height: 30px; }
@media (max-width: 860px) {
	.stats .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
	.stats-sep { display: none; }
}

/* =========================================================
   TEAM-STYLE CARDS (used for our machines)
   ========================================================= */
.team { display: grid; grid-template-columns: .9fr 2.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.team-intro p { margin-top: 18px; }
.team-intro .btn { margin-top: 28px; }
.team-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
	position: relative;
	text-align: center;
	background: var(--white);
	border-radius: 10px;
	padding: 18px 18px 26px;
	box-shadow: var(--shadow);
}
.member.is-featured { background: linear-gradient(180deg, #FFFFFF 0%, #FCEBAE 55%, var(--yellow) 100%); }
.member img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 6px; }
.member h3 { margin-top: 18px; font-size: 18px; }
.member .role { font-size: 13.5px; color: var(--text); }
.member.is-featured .role { color: var(--green-800); }
.member-bar {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding: 6px 6px 6px 16px;
	border-radius: 100px;
	background: var(--white);
	box-shadow: 0 6px 18px -8px rgba(10, 51, 32, .35);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--green-900);
}
.member-bar .circle { width: 32px; height: 32px; }
.member-bar .circle svg { width: 13px; height: 13px; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .team-cards { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* =========================================================
   PROJECTS (white box over a grey band, photo cards)
   ========================================================= */
.projects { background: linear-gradient(180deg, var(--bg) 0 46%, var(--white) 46%); padding-block: clamp(70px, 8vw, 110px) 0; }
.projects-box { background: var(--white); border-radius: 6px; padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 60px) clamp(40px, 5vw, 60px); }
.projects-head { display: grid; grid-template-columns: auto 1fr minmax(0, 420px); gap: 30px; align-items: center; margin-bottom: 44px; }
.projects-head .doodle { width: 110px; color: var(--yellow); justify-self: center; }
.projects-head p a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--green-900); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj:hover img { transform: scale(1.05); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 51, 32, 0) 52%, rgba(10, 51, 32, .9) 100%); }
.proj-meta { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.proj-meta h3 { color: var(--white); font-size: 19px; line-height: 1.3; }
.proj-meta small { display: block; color: var(--yellow); font-size: 12.5px; font-weight: 600; margin-bottom: 4px; letter-spacing: .02em; }
.proj .mini-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); z-index: 1; width: 92px; height: 92px; border-radius: 50%; background: rgba(247, 198, 28, .95); display: grid; place-items: center; }
.proj .mini-stamp .stamp-ring text { font-size: 10px; letter-spacing: 2.4px; }
.proj .mini-stamp .stamp-core { width: 44px; height: 44px; }
.proj .mini-stamp .stamp-core svg { width: 20px; height: 20px; }
.projects-foot { text-align: center; margin-top: 40px; }
.projects hr { border: 0; border-top: 1px solid var(--line); margin-top: clamp(60px, 7vw, 90px); }
@media (max-width: 960px) {
	.projects-head { grid-template-columns: 1fr; gap: 14px; }
	.projects-head .doodle { display: none; }
	.proj-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes { position: relative; }
.quotes-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.quotes-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; }
.quote blockquote {
	position: relative;
	background: var(--bg);
	border-radius: 6px;
	padding: 30px 28px;
	font-size: 15px;
	font-style: italic;
	line-height: 1.75;
	color: var(--text);
}
.quote blockquote::after { content: ""; position: absolute; left: 40px; bottom: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: var(--bg); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-left: 22px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: var(--yellow); font-weight: 700; font-size: 17px; flex: none; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.quote figcaption span { font-size: 13px; }
.quotes-nav { position: absolute; top: 74px; left: -84px; right: -84px; display: flex; justify-content: space-between; pointer-events: none; }
.q-arrow { pointer-events: auto; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; border: 2px solid var(--yellow); background: var(--white); color: var(--yellow-600); transition: background-color .2s var(--ease), color .2s var(--ease); }
.q-arrow svg { width: 18px; height: 18px; }
.q-arrow.next { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.q-arrow:hover { background: var(--yellow); color: var(--green-900); border-color: var(--yellow); }
@media (max-width: 1360px) { .quotes-nav { position: static; justify-content: center; gap: 14px; margin-top: 36px; } }
@media (max-width: 960px) { .quotes-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .quotes-track { grid-auto-columns: 88%; } }

/* =========================================================
   BLOG
   ========================================================= */
.news { display: grid; grid-template-columns: .9fr 2.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.news-intro .btn { margin-top: 28px; }
.news-intro p { margin-top: 18px; }
.post-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: var(--white); border-radius: 8px; padding: 18px 18px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card .thumb { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9.5; background: var(--bg); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .date { display: inline-block; margin: 18px 0 0 8px; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 100px; background: var(--bg); color: var(--ink); align-self: flex-start; }
.post-card h3 { margin: 12px 8px 0; font-size: 18px; line-height: 1.35; }
.post-card h3 a:hover { color: var(--green-700); }
.post-card p { margin: 10px 8px 0; font-size: 14.5px; flex: 1; }
.post-card .btn { margin: 20px 8px 0; align-self: flex-start; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 1000px) { .news { grid-template-columns: 1fr; } .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-cards, .posts-grid { grid-template-columns: 1fr; } }

/* =========================================================
   YELLOW STRIP + FOOTER
   ========================================================= */
.strip-zone { background: linear-gradient(180deg, var(--strip-top, var(--bg)) 50%, var(--green-900) 50%); }
.ends-white .strip-zone { --strip-top: var(--white); }
.strip { background: var(--yellow); border-radius: 6px; overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.strip-item { display: flex; align-items: center; gap: 40px; padding: 30px 20px; white-space: nowrap; font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; letter-spacing: -0.02em; color: var(--green-900); }
.strip-item svg { width: 24px; height: 24px; }

.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .72); padding-top: clamp(64px, 7vw, 90px); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.15fr 1fr; gap: clamp(30px, 4vw, 56px); }
.foot-logo { display: inline-block; }
.foot-logo img { height: 72px; width: auto; }
.foot-contact-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 18px 30px; margin-top: clamp(44px, 5vw, 64px); padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-contact.foot-contact-row li + li { margin-top: 0; }
.foot-contact-row li { align-items: center; }
.foot-contact-row svg { margin-top: 0; }
.foot-contact-row a:hover { color: var(--yellow); }
@media (max-width: 860px) { .foot-contact-row { grid-template-columns: 1fr; } }
.foot-brand p { margin-top: 22px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--green-900); transition: background-color .2s var(--ease); }
.social a:nth-child(2), .social a:hover { background: var(--yellow); }
.social svg { width: 17px; height: 17px; }
.site-footer h4 { color: var(--white); font-size: 17px; font-weight: 600; margin-bottom: 24px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.foot-links li + li { margin-top: 11px; }
.foot-links a:hover { color: var(--yellow); }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact li + li { margin-top: 12px; }
.foot-contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 4px; }
.newsletter { display: grid; gap: 12px; }
.newsletter input { width: 100%; height: 52px; border: 0; border-radius: 5px; padding: 0 18px; background: var(--white); color: var(--ink); }
.newsletter .btn { justify-self: start; }
.form-note { margin-top: 10px; font-size: 13.5px; color: var(--yellow); }
.gallery-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 250px; }
.gallery-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; filter: grayscale(1) contrast(1.05); transition: filter .3s var(--ease); }
.gallery-mini a:hover img { filter: none; }
.foot-base { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.foot-base a:hover { color: var(--yellow); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-banner { position: relative; isolation: isolate; color: var(--white); text-align: center; background: var(--green-900); }
.page-banner .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 51, 32, .86), rgba(10, 51, 32, .78)); }
.page-banner .wrap { padding-block: clamp(80px, 10vw, 130px); }
.page-banner h1 { color: var(--white); font-size: clamp(34px, 5vw, 60px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.page-banner h1 .hl { background: var(--yellow); color: var(--green-900); padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; padding: 10px 22px; border-radius: 100px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--yellow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-copy p + p { margin-top: 16px; }
.split-copy .title + p { margin-top: 18px; }
.split-copy .btn { margin-top: 30px; }
.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--green-900); margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .split-media { order: -1; max-width: 560px; } }

/* numbered steps — only where the content is a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; background: var(--white); border-radius: 8px; padding: 34px 28px 30px; }
.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--green-900);
	font-weight: 800;
	font-size: 17px;
	margin-bottom: 22px;
}
.step.bg-grey, .svc.bg-grey { background: var(--bg); }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; font-size: 14.5px; }
@media (max-width: 1000px) { .steps, .steps.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.cols-3 { grid-template-columns: 1fr; } }

/* callout band */
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: var(--yellow); border-radius: 8px; padding: clamp(28px, 4vw, 44px); color: var(--green-900); }
.callout-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-900); color: var(--yellow); display: grid; place-items: center; }
.callout-icon svg { width: 34px; height: 34px; }
.callout h3 { font-size: clamp(20px, 2vw, 26px); color: var(--green-900); }
.callout p { margin-top: 8px; color: var(--green-900); max-width: 62ch; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } }

/* CTA band */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 8px; background: var(--green-900); color: rgba(255, 255, 255, .85); padding: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern); opacity: 1; filter: invert(1); }
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); }
.cta p { margin-top: 12px; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* product swatches (food processing) */
.grain { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 8px; padding: 22px; }
.contact-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--green-900); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; }
.contact-card p, .contact-card a { font-size: 15px; }
.contact-card a:hover { color: var(--green-700); }
.form-card { background: var(--white); border-radius: 8px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card .title { font-size: clamp(24px, 2.4vw, 30px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 5px; padding: 14px 16px; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green-500); outline-offset: 0; background: var(--white); }
.form-card .btn { margin-top: 22px; }
.notice { margin-top: 20px; padding: 14px 18px; border-radius: 6px; background: #E5F5EC; color: var(--green-800); font-weight: 500; }
.notice.error { background: #FCEBE7; color: #8A2A14; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   POST / PAGE CONTENT
   ========================================================= */
.content-narrow { max-width: 780px; margin-inline: auto; }
.entry-content { font-size: 17px; color: var(--text); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 1.6em; }
.entry-content a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content img, .entry-content .wp-block-image img { border-radius: 8px; height: auto; }
.entry-content blockquote { border-left: 4px solid var(--yellow); padding: 6px 0 6px 22px; font-style: italic; color: var(--ink); }
.entry-content .alignwide { width: min(100vw - var(--gut) * 2, 1100px); margin-left: 50%; transform: translateX(-50%); }
.post-hero-img { border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
.post-hero-img img { width: 100%; height: auto; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.pagination { margin-top: 50px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 5px; background: var(--white); color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--yellow); color: var(--green-900); }
.post-navigation { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; font-weight: 700; color: var(--ink); line-height: 1.4; }
.post-navigation a:hover { color: var(--green-700); }
.post-navigation .pill { margin-bottom: 8px; }
.post-navigation .nav-next { text-align: right; }
.comments-area { margin-top: 70px; }
.comment-list { margin-top: 24px; display: grid; gap: 18px; }
.comment-body { background: var(--bg); padding: 22px; border-radius: 8px; }
.comment-reply-title { font-size: 24px; margin-bottom: 6px; }
.comment-form p { margin-top: 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.logged-in-as, .comment-notes { font-size: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 12px 14px; background: var(--white); }
.comment-form .submit { background: var(--yellow); color: var(--green-900); border: 0; border-radius: 5px; padding: 16px 26px; font-weight: 700; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 30px auto 0; }
.search-form input { flex: 1; height: 54px; border: 1px solid var(--line); border-radius: 5px; padding: 0 16px; background: var(--white); }
.empty { text-align: center; max-width: 560px; margin-inline: auto; }
.empty p { margin-top: 14px; }
.empty .btn { margin-top: 26px; }

/* =========================================================
   LIGHTBOX (fabrication gallery)
   ========================================================= */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 30, 18, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; padding: 70px 80px; max-height: 100vh; }
.lightbox img { max-width: min(92vw, 1000px); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.lightbox figcaption { color: var(--white); font-weight: 600; font-size: 16px; text-align: center; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--yellow); color: var(--green-900); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:hover { background: var(--white); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
	.lightbox figure { padding: 70px 12px 90px; }
	.lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
	.lb-prev { left: calc(50% - 62px); }
	.lb-next { right: calc(50% - 62px); }
}

/* =========================================================
   GARRI VARIETIES + PACK SIZES
   ========================================================= */
.varieties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.variety { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border-radius: 10px; padding: 40px 30px 32px; box-shadow: var(--shadow); }
.bg-grey .variety { box-shadow: none; }
.variety.is-featured { background: var(--yellow); }
.variety-pic { position: relative; width: 180px; height: 180px; margin-bottom: 24px; }
.variety-pic::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--yellow); border-right-color: var(--yellow); transform: rotate(20deg); }
.variety.is-featured .variety-pic::before { border-top-color: var(--green-900); border-right-color: var(--green-900); }
.variety-pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 26px -12px rgba(10, 51, 32, .45); }
.variety-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.variety.is-featured .variety-tag { color: var(--green-900); }
.variety h3 { font-size: 24px; margin-top: 6px; }
.variety > p { margin-top: 12px; font-size: 15px; }
.variety.is-featured > p { color: var(--green-900); }
.variety-specs { width: 100%; margin: 22px 0 0; border-top: 1px solid var(--line); text-align: left; }
.variety.is-featured .variety-specs { border-color: rgba(10, 51, 32, .18); }
.variety-specs div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.variety.is-featured .variety-specs div { border-color: rgba(10, 51, 32, .18); }
.variety-specs dt { font-weight: 700; color: var(--ink); }
.variety-specs dd { margin: 0; color: var(--text); }
.variety.is-featured .variety-specs dd { color: var(--green-900); }
.variety-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.bulk-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-700); }
.variety.is-featured .bulk-badge { color: var(--green-900); }
.bulk-badge svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .varieties { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pack { display: flex; flex-direction: column; background: var(--white); border-radius: 10px; overflow: hidden; }
.pack-pic { aspect-ratio: 1; background: var(--white); overflow: hidden; }
.pack-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pack:hover .pack-pic img { transform: scale(1.04); }
.pack-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--yellow); }
.pack h3 { font-size: 19px; }
.pack p { margin-top: 8px; font-size: 14.5px; flex: 1; }
.pack .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--green-700); }
.pack .go .circle { width: 32px; height: 32px; }
.pack .go:hover { color: var(--green-900); }
@media (max-width: 1000px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .packs { grid-template-columns: 1fr; } }

/* variety bag tiles */
.variety-bags { width: 100%; margin-top: auto; padding-top: 22px; }
.bags-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.bags { display: flex; justify-content: center; gap: 8px; }
.bags .bag { flex: 0 1 calc((100% - 24px) / 4); }
.bag { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--white); border: 2px solid var(--line); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.bag img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.bag span { display: block; padding: 5px 0; font-size: 12.5px; font-weight: 800; color: var(--green-900); background: var(--white); }
.bag:hover, .bag:focus-visible { border-color: var(--green-700); transform: translateY(-2px); }
.variety.is-featured .bag { border-color: rgba(10, 51, 32, .2); }
.variety.is-featured .bag:hover { border-color: var(--green-900); }
.variety-order { margin-top: auto; }
.variety-bags + .variety-order { margin-top: 24px; }
.variety { padding-bottom: 30px; }
.variety .variety-order { align-self: center; }
.pack-pic { position: relative; }
.pack-kg { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--green-900); font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 100px; }
.pack-avail { font-size: 13.5px !important; flex: 0 !important; margin-top: 10px !important; color: var(--green-800); }
