/*
Theme Name: Morfin Farm Labor Contracting
Theme URI: https://techxdevelopers.com/
Author: TechX
Author URI: https://techxdevelopers.com/
Description: Custom theme for Morfin Farm Labor Contracting LLC — a licensed farm labor contractor serving Kern County growers. Includes a grower-focused home page, compliance standards page, crew request form, blog templates, local SEO schema, and AI-search (llms.txt) support.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: morfin-flc
*/

/* ---------- Tokens ---------- */
:root {
	--orchard: #0B2613;
	--orchard-2: #123A1D;
	--orchard-3: #1C4A27;
	--leaf: #5C6F2B;
	--leaf-soft: #8A9A5B;
	--gold: #B08748;
	--gold-deep: #7F5E28;
	--hull: #FBFAF3;
	--sage: #ECEEE1;
	--ink: #16211A;
	--ink-2: #4A5448;
	--rule: #D5D9C6;
	--rule-dark: rgba(251, 250, 243, .16);
	--font-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--hull);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--orchard-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--gold); color: var(--orchard); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: 0 1.5em;
	font: 600 1rem/1 var(--font-body);
	border-radius: 4px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--gold { background: var(--gold); color: var(--orchard); }
.btn--gold:hover { background: #C39A58; color: var(--orchard); }
.btn--line { border-color: rgba(251, 250, 243, .55); color: var(--hull); }
.btn--line:hover { border-color: var(--hull); color: var(--hull); background: rgba(251, 250, 243, .06); }
.btn--dark { background: var(--orchard); color: var(--hull); }
.btn--dark:hover { background: var(--orchard-3); color: var(--hull); }

/* ---------- License status note ---------- */
.license-note { margin: 0; background: #EFE3C8; color: var(--ink); font-size: .92rem; line-height: 1.45; padding: 10px 0; text-align: center; }
.license-note .wrap { display: block; }
.license-note a { color: var(--orchard); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--orchard); color: var(--hull);
	border-bottom: 1px solid var(--rule-dark);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hull); margin-right: auto; }
.brand:hover { color: var(--hull); }
.brand img { width: 60px; height: 60px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .02em; }
.brand__name span { font-size: .8rem; color: rgba(251, 250, 243, .72); letter-spacing: .02em; }
.primary-nav { align-self: stretch; display: flex; }
.primary-nav .nav-list { list-style: none; display: flex; gap: 4px; align-items: stretch; }
.nav-list > li { display: flex; align-items: center; }
.nav-call { display: none !important; }
.primary-nav a {
	display: block; padding: 10px 12px; color: rgba(251, 250, 243, .86);
	text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 3px;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--hull); background: rgba(251, 250, 243, .08); }
.header-call { min-height: 44px; padding: 0 1.1em; font-size: .95rem; }
.nav-toggle {
	display: none; background: none; border: 1px solid var(--rule-dark); color: var(--hull);
	width: 46px; height: 46px; border-radius: 4px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
	transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--orchard); color: var(--hull); overflow: hidden; }
.hero__copy { padding-top: clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); margin-bottom: .45em; }
.hero h1 span { display: block; }
.hero__lead { max-width: 58ch; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(251, 250, 243, .82); margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__call { margin-top: 18px; font-size: .95rem; color: rgba(251, 250, 243, .7); }
.hero__call a { color: var(--hull); font-weight: 600; }
/* Scales with the screen; on very wide screens it trims the bottom of the field, never the sun's rays */
.hero-art { width: 100%; height: clamp(230px, 36vw, 640px); margin-top: clamp(-40px, -3vw, -8px); }

/* Hero sunrise: plays when the scene scrolls into view (main.js adds .is-playing) */
.hero-art .rows-g { transform-box: fill-box; transform-origin: 50% 0; }
.js .hero-art:not(.is-playing) .sun { transform: translateY(150px); }
.js .hero-art:not(.is-playing) .rows-g { transform: scaleY(.02); }
.js .hero-art:not(.is-playing) .ray, .js .hero-art:not(.is-playing) .tree { opacity: 0; }
.hero-art.is-playing .sun { animation: sunrise 1.8s cubic-bezier(.2, .7, .15, 1) .15s both; }
.hero-art.is-playing .rows-g { animation: rows 1.4s cubic-bezier(.3, .6, .2, 1) .35s both; }
.hero-art.is-playing .ray { animation: fade-in .5s ease both; animation-delay: calc(1.25s + var(--i) * 55ms); }
.hero-art.is-playing .tree { animation: fade-in .6s ease both; animation-delay: calc(.9s + var(--i) * 45ms); }
@keyframes sunrise { from { transform: translateY(150px); } to { transform: translateY(0); } }
@keyframes rows { from { transform: scaleY(.02); } to { transform: scaleY(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Facts strip ---------- */
.facts { background: var(--hull); border-bottom: 1px solid var(--rule); }
.facts__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: 28px 24px 28px 0; }
.facts__item + .facts__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts__item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; margin-bottom: 4px; }
.facts__item span { font-size: .92rem; color: var(--ink-2); }

/* ---------- Generic sections ---------- */
.section { padding: var(--section) 0; }
.section--sage { background: var(--sage); }
.section--dark { background: var(--orchard); color: var(--hull); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.section--dark .section__head p { color: rgba(251, 250, 243, .78); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.services__intro { position: sticky; top: 120px; }
.services__intro p { color: var(--ink-2); font-size: 1.1rem; }
.crops { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.crops h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 12px; }
.crops ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crops li { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: .95rem; background: #fff; }
.service-list { list-style: none; border-top: 2px solid var(--orchard); }
.service { display: grid; grid-template-columns: minmax(0, 1fr); padding: 26px 0; border-bottom: 1px solid var(--rule); }
.service h3 { margin-bottom: 6px; }
.service p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.service__crops { margin-top: 10px !important; font-size: .9rem; color: var(--gold-deep) !important; font-weight: 600; }

/* ---------- Compliance (home) ---------- */
.compliance-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.practice-list { list-style: none; }
.practice { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--rule-dark); }
.practice:last-child { border-bottom: 1px solid var(--rule-dark); }
.practice svg { width: 26px; height: 26px; margin-top: 2px; color: var(--gold); }
.practice h3 { font-size: 1.2rem; margin-bottom: 4px; }
.practice p { margin: 0; color: rgba(251, 250, 243, .76); font-size: 1rem; }
.packet {
	background: var(--hull); color: var(--ink); border-radius: 6px;
	padding: 30px 28px 26px; position: relative; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.packet::before {
	content: ""; position: absolute; top: -12px; left: 28px; width: 132px; height: 14px;
	background: var(--gold); border-radius: 6px 6px 0 0;
}
.packet h3 { font-size: 1.5rem; margin-bottom: 6px; }
.packet > p { color: var(--ink-2); font-size: .98rem; }
.packet ul { list-style: none; margin: 18px 0 22px; }
.packet li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px dashed var(--rule); font-size: .98rem; }
.packet li::before {
	content: ""; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--leaf); border-radius: 3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%235C6F2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.packet .btn { width: 100%; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.law-note { margin-top: 28px; font-size: .95rem; color: rgba(251, 250, 243, .7); max-width: 62ch; }
.law-note a { color: var(--hull); }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 70px; }
.step::before {
	counter-increment: step; content: counter(step);
	position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; background: var(--orchard); color: var(--hull);
	font: 700 1.3rem/1 var(--font-display);
}
.step::after { content: ""; position: absolute; top: 23px; left: 60px; right: -16px; border-top: 2px dashed var(--leaf-soft); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 1rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text p { font-size: 1.1rem; max-width: 62ch; }
.about__motto {
	margin: 0; padding: 36px 32px; border-left: 4px solid var(--gold);
	font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; color: var(--orchard);
	background: var(--sage);
}
.about__motto cite { display: block; margin-top: 14px; font: 500 .95rem/1.4 var(--font-body); color: var(--ink-2); font-style: normal; }
.area { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.area h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.area p { font-size: 1rem !important; color: var(--ink-2); margin: 0; }

/* ---------- Counties map ---------- */
.counties { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.counties__map { margin: 0; position: sticky; top: 110px; }
.ca-map { width: 100%; height: auto; }
.ca-map .county { fill: #4C6424; stroke: var(--orchard); stroke-width: .8; stroke-linejoin: round; transition: fill .15s ease; }
.ca-map .county--home { fill: #7A8C3C; }
.ca-map .county--off { fill: #1F3F25; }
.ca-map .county.is-lit, .ca-map .county--focus { fill: var(--gold); }
.map-pin circle { fill: var(--hull); }
.map-pin .map-pin__dot { fill: var(--orchard); }
.map-pin text { fill: var(--hull); font: 600 13px var(--font-body); paint-order: stroke; stroke: var(--orchard); stroke-width: 3px; }
.county-label { margin-top: 14px; min-height: 1.6em; font-size: .95rem; color: rgba(251, 250, 243, .75); }
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
.region { padding-top: 16px; border-top: 1px solid var(--rule-dark); }
.region h3 { font-size: 1.2rem; margin-bottom: 4px; transition: color .15s ease; }
.region__crops { font-size: .9rem; color: var(--gold); margin: 0 0 10px; }
.region__counties { list-style: none; display: flex; flex-wrap: wrap; font-size: .98rem; line-height: 1.55; color: rgba(251, 250, 243, .82); }
.region__counties li:not(:last-child)::after { content: ","; margin-right: .35em; color: rgba(251, 250, 243, .82); }
.region__counties li.is-lit, .region.is-lit h3 { color: var(--gold); }

/* ---------- Counties mega menu ---------- */
.has-mega { position: static; }
.primary-nav .nav-counties { padding-right: 2px; }
.mega-toggle {
	background: none; border: 0; color: rgba(251, 250, 243, .86); cursor: pointer;
	width: 26px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 3px;
}
.mega-toggle::before {
	content: ""; width: 8px; height: 8px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	transition: transform .2s ease;
}
.has-mega.is-open .mega-toggle::before { transform: rotate(225deg); margin-top: 4px; }
.mega-toggle:hover { color: var(--hull); background: rgba(251, 250, 243, .08); }
.mega {
	visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility 0s linear .15s;
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--orchard); border-top: 1px solid var(--rule-dark); border-bottom: 3px solid var(--gold);
	box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .65); max-height: calc(100vh - 110px); overflow-y: auto;
}
.has-mega:hover .mega { visibility: visible; opacity: 1; transition-delay: .12s, .12s; }
.has-mega.is-open .mega { visibility: visible; opacity: 1; transition-delay: 0s; }
.has-mega.is-suppressed .mega { visibility: hidden; opacity: 0; transition: none; }
.mega__inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-top: 30px; padding-bottom: 34px; }
.mega__intro .mega__title { font: 700 1.45rem/1.15 var(--font-display); color: var(--hull); margin-bottom: 8px; }
.mega__intro p { color: rgba(251, 250, 243, .75); font-size: .95rem; }
.primary-nav .mega .btn { display: inline-flex; min-height: 44px; padding: 0 1.1em; font-size: .92rem; color: var(--orchard); background: var(--gold); border-radius: 4px; }
.primary-nav .mega .btn:hover { background: #C39A58; color: var(--orchard); }
.mega__regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.mega__region-name { font-weight: 600; color: var(--gold); font-size: .9rem; margin-bottom: 6px; }
.mega__region ul { list-style: none; }
.primary-nav .mega__region a { display: block; padding: 3px 0; font-size: .93rem; font-weight: 400; color: rgba(251, 250, 243, .84); background: none; border-radius: 0; }
.primary-nav .mega__region a:hover { color: var(--hull); text-decoration: underline; background: none; }

/* ---------- Inner pages ---------- */
.lead-muted { color: var(--ink-2); font-size: 1.08rem; max-width: 64ch; }
.light-link { color: var(--hull); }
.light-link:hover { color: var(--gold); }
.services__cta { margin-top: 28px; }
.service-more { padding: 22px 0 0; }
.service-more a { font-weight: 600; }
.service-details { border-top: 2px solid var(--orchard); }
.service-detail { padding: 34px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.service-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 10px; }
.service-detail > p { color: var(--ink-2); max-width: 64ch; font-size: 1.05rem; }
.service-detail__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 18px 0 0; }
.service-detail__meta dt { font-weight: 600; font-size: .88rem; color: var(--gold-deep); }
.service-detail__meta dd { margin: 2px 0 0; font-size: .98rem; }
.included { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.included li { border-top: 2px solid var(--gold); padding-top: 16px; }
.included strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 6px; }
.included span { color: rgba(251, 250, 243, .76); font-size: .98rem; }
.cta-band { background: var(--orchard-2); color: var(--hull); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.cta-band p { color: rgba(251, 250, 243, .78); margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.big-steps { list-style: none; counter-reset: bigstep; }
.big-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--rule); }
.big-step:first-child { border-top: 2px solid var(--orchard); padding-top: 40px; }
.big-step__head { position: relative; padding-left: 72px; }
.big-step__head::before {
	counter-increment: bigstep; content: counter(bigstep);
	position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center; background: var(--orchard); color: var(--hull); font: 700 1.4rem/1 var(--font-display);
}
.big-step__head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.big-step__head p { color: var(--ink-2); font-size: 1.08rem; }
.big-step .standard-list { margin-top: 0; }
.contact__info h2 { margin-bottom: 0; }
.next-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin: 32px 0 14px; }
.next-steps { list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding: 0 0 16px 44px; counter-increment: next; }
.next-steps li::before {
	content: counter(next); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
	background: var(--orchard); color: var(--hull); display: grid; place-items: center; font: 700 1rem/1 var(--font-display);
}
.next-steps strong { display: block; }
.next-steps span { color: var(--ink-2); font-size: .98rem; }

/* ---------- County pages ---------- */
.county-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.county-main { min-width: 0; }
.county-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.county-h2 { margin-top: 56px; }
.county-h2--flush { margin-top: 0; margin-bottom: 18px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.county-main > p { max-width: 66ch; }
.county-main .faq { max-width: none; margin-top: 12px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.chip-list li { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: .95rem; }
.chip-list--links li { padding: 0; border: 0; background: none; }
.chip-list--links a { display: block; padding: 8px 16px; border: 1px solid #C8CCB8; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; }
.chip-list--links a:hover { border-color: var(--leaf); color: var(--leaf); }
.county-card { position: sticky; top: 110px; background: var(--orchard); color: var(--hull); border-radius: 6px; padding: 24px; }
.county-card__map { max-width: 250px; margin: 0 auto 18px; }
.county-facts { margin: 0 0 20px; border-top: 1px solid var(--rule-dark); }
.county-facts div { padding: 10px 0; border-bottom: 1px solid var(--rule-dark); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.county-facts dt { color: rgba(251, 250, 243, .65); font-size: .88rem; }
.county-facts dd { margin: 0; font-size: .95rem; }
.county-card .btn { width: 100%; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.county-card__call { margin: 12px 0 0; font-size: .92rem; text-align: center; color: rgba(251, 250, 243, .75); }
.county-card__call a { color: var(--hull); font-weight: 600; }
.region__counties a { color: rgba(251, 250, 243, .86); text-decoration: none; }
.region__counties a:hover, .region__counties li.is-lit a { color: var(--gold); }
.region__counties a:hover { text-decoration: underline; }
.ca-map a { cursor: pointer; }
.ca-map a:focus-visible { outline: none; }
.ca-map a:focus-visible .county { fill: var(--gold); }

/* ---------- Crop pages ---------- */
.task-when { display: inline-block; margin-left: 8px; font-weight: 500; font-size: .88rem; color: var(--gold-deep); }
.season { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 620px; font-size: .9rem; margin-top: 8px; }
.season th, .season td { padding: 0; border-bottom: 1px solid var(--rule); height: 40px; text-align: center; vertical-align: middle; }
.season thead th { font-weight: 600; font-size: .82rem; color: var(--ink-2); height: 32px; }
.season .season__task { text-align: left; font-weight: 600; padding-right: 14px; width: 30%; color: var(--ink); }
.season thead .season__task { color: var(--ink-2); }
.season td.on { background: linear-gradient(var(--leaf), var(--leaf)) center / 100% 14px no-repeat; }
.season td.on.start { background-size: calc(100% - 4px) 14px; background-position: right center; border-radius: 0; }
.season td.on.end { background-size: calc(100% - 4px) 14px; background-position: left center; }
.season td.on.start.end { background-size: calc(100% - 8px) 14px; background-position: center; }
.season .is-now { background-color: rgba(176, 135, 72, .14); }
.season thead th.is-now { color: var(--gold-deep); }
.season__note { font-size: .9rem; color: var(--ink-2); margin-top: 10px; }
.county-card__legend { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(251, 250, 243, .75); margin: -6px 0 16px; }
.county-card__legend span { width: 12px; height: 12px; border-radius: 2px; background: var(--gold); flex: none; }
.county-h2--next { margin-top: 40px; }
.chip-intro { margin: 18px 0 6px; font-weight: 600; font-size: .95rem; }
.crops .chip-list { margin: 0; }
.crop-group + .crop-group { margin-top: 56px; }
.crop-group h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.crop-rows { list-style: none; border-top: 2px solid var(--orchard); }
.crop-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.crop-row h3 { margin: 0; font-size: 1.4rem; }
.crop-row h3 a { color: var(--ink); text-decoration: none; }
.crop-row h3 a:hover { color: var(--leaf); text-decoration: underline; }
.crop-row p { margin: 0; color: var(--ink-2); }
.crop-row__regions { font-size: .9rem; color: var(--gold-deep) !important; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-layout__head { position: sticky; top: 120px; }
.faq-layout__head p { color: var(--ink-2); font-size: 1.1rem; }
.faq-layout__head a { font-weight: 600; white-space: nowrap; }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
	list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; color: var(--ink);
	font: 700 1.25rem/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
	border-right: 2px solid var(--orchard); border-bottom: 2px solid var(--orchard); transform: rotate(45deg);
	transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Post list ---------- */
.post-list { list-style: none; border-top: 2px solid var(--orchard); }
.post-row { border-bottom: 1px solid var(--rule); }
.post-row article { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 40px; padding: 28px 0; }
.post-row__meta { margin: 0; font-size: .92rem; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.post-row__cat { color: var(--gold-deep); font-weight: 600; }
.post-row__title { margin: 0 0 8px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.post-row__title a { color: var(--ink); text-decoration: none; }
.post-row__title a:hover { color: var(--leaf); text-decoration: underline; }
.post-row__excerpt { margin: 0; color: var(--ink-2); max-width: 66ch; }
.post-row__body { grid-column: 2; }
.section-foot { margin-top: 32px; }

/* ---------- Workers (Spanish) ---------- */
.crew-call { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.crew-call h2 { margin-bottom: .35em; }
.crew-call p { color: rgba(251, 250, 243, .8); font-size: 1.1rem; max-width: 58ch; }
.crew-call__en { font-size: .98rem !important; color: rgba(251, 250, 243, .62) !important; }
.crew-call__box { border: 1px solid var(--rule-dark); border-radius: 6px; padding: 28px; }
.crew-call__box p { margin-bottom: 16px; font-size: 1rem; }
.crew-call__phone { display: block; font: 700 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--font-display); color: var(--gold); text-decoration: none; margin-bottom: 8px; }
.crew-call__phone:hover { color: #C9A063; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__info p { color: var(--ink-2); font-size: 1.1rem; }
.contact-lines { list-style: none; margin-top: 28px; border-top: 1px solid var(--rule); }
.contact-lines li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.contact-lines span { color: var(--ink-2); font-size: .92rem; }
.contact-lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-lines a, .site-footer a { overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.crew-form { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(24px, 4vw, 40px); }
.crew-form h3 { margin-bottom: 4px; }
.crew-form > p { color: var(--ink-2); font-size: .98rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field label .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
	font: 400 1rem/1.4 var(--font-body); color: var(--ink);
	padding: 12px 14px; border: 1.5px solid #C8CCB8; border-radius: 4px; background: var(--hull); width: 100%;
}
.field input, .field select { min-height: 50px; }
.field select {
	appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
	background: var(--hull) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2316211A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(92, 111, 43, .22); }
.hp-field { position: absolute; left: -9999px; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--ink-2); }
.form-notice { padding: 14px 16px; border-radius: 4px; margin: 16px 0 0; font-weight: 500; }
.form-notice--ok { background: #E3EBD3; color: #2B4414; border: 1px solid #BFD09E; }
.form-notice--err { background: #F6E3DC; color: #6B2412; border: 1px solid #E5B9A8; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--orchard); color: var(--hull); padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 20ch; }
.page-hero__lead { font-size: 1.15rem; color: rgba(251, 250, 243, .8); max-width: 60ch; }
.page-hero .field-lines { width: 100%; height: 72px; margin-top: 40px; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: rgba(251, 250, 243, .7); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: rgba(251, 250, 243, .88); }

/* ---------- Compliance page ---------- */
.standards { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 120px; font-size: .95rem; }
.toc p { font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--orchard); border-left-color: var(--gold); }
.standard { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--rule); }
.standard:last-child { border-bottom: 0; margin-bottom: 0; }
.standard h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.standard > p { font-size: 1.08rem; max-width: 66ch; color: var(--ink-2); }
.standard-list { list-style: none; margin-top: 18px; }
.standard-list li { padding: 16px 0 16px 34px; border-top: 1px solid var(--rule); position: relative; max-width: 70ch; }
.standard-list li::before {
	content: ""; position: absolute; left: 0; top: 21px; width: 16px; height: 9px;
	border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg);
}
.standard-list strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.standard-list span { color: var(--ink-2); }
.callout { background: var(--sage); border-left: 4px solid var(--gold); padding: 22px 24px; margin-top: 22px; border-radius: 0 4px 4px 0; max-width: 70ch; }
.callout p:last-child { margin: 0; }
.disclaimer { font-size: .9rem; color: var(--ink-2); margin-top: 28px; max-width: 70ch; }

/* ---------- Blog & single ---------- */
.blog-index { max-width: 1000px; }
.article { max-width: 720px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: rgba(251, 250, 243, .75); margin-top: 8px; }
.article-meta strong { color: var(--gold); font-weight: 600; }
.entry-content { font-size: 1.12rem; line-height: 1.72; }
.entry-content > * { max-width: 68ch; }
.entry-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); margin-top: 1.7em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--leaf); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.entry-content .takeaways { background: var(--sage); padding: 22px 26px; border-radius: 4px; margin: 0 0 1.6em; }
.entry-content .takeaways h2 { font-size: 1.25rem; margin: 0 0 10px; }
.entry-content .takeaways ul { margin: 0; }
.entry-content img { border-radius: 4px; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0 0 1.4em; }
.entry-content th, .entry-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.entry-content th { font-weight: 600; background: var(--sage); }
.table-scroll { overflow-x: auto; position: relative; }
.article-cta { margin: 56px auto 0; max-width: 720px; background: var(--orchard); color: var(--hull); border-radius: 6px; padding: 32px; }
.article-cta h2 { font-size: 1.7rem; margin-bottom: 8px; }
.article-cta p { color: rgba(251, 250, 243, .8); }
.article-note { max-width: 720px; margin: 28px auto 0; font-size: .9rem; color: var(--ink-2); }
.pagination { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--orchard); color: var(--hull); border-color: var(--orchard); }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1.5px solid #C8CCB8; border-radius: 4px; font: inherit; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--orchard); color: rgba(251, 250, 243, .78); padding: 72px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; }
.footer-brand img { width: 112px; height: 112px; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font: 600 1rem/1.3 var(--font-body); color: var(--hull); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(251, 250, 243, .88); text-decoration: none; }
.site-footer a:hover { color: var(--hull); text-decoration: underline; }
.licenses li { color: rgba(251, 250, 243, .78); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.primary-nav a { padding: 10px 9px; }
	.facts__list { grid-template-columns: repeat(2, 1fr); }
	.facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts__item:nth-child(n+3) { border-top: 1px solid var(--rule); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.step:nth-child(2)::after { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
	.nav-toggle { display: grid; place-items: center; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--orchard); border-bottom: 1px solid var(--rule-dark);
		display: none; padding: 8px var(--gutter) 20px; max-height: calc(100vh - 72px); overflow-y: auto;
	}
	.nav-open .primary-nav { display: block; }
	.primary-nav .nav-list { flex-direction: column; gap: 0; }
	.nav-list > li { display: block; }
	.nav-call { display: block !important; }
	.primary-nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--rule-dark); border-radius: 0; }
	.nav-call a { color: var(--gold) !important; font-weight: 600; }
	.header-call { display: none; }
	.has-mega { display: flex !important; flex-wrap: wrap; align-items: stretch; }
	.has-mega .nav-counties { flex: 1; }
	.mega-toggle { width: 52px; height: auto; border-bottom: 1px solid var(--rule-dark); border-radius: 0; }
	.mega { position: static; box-shadow: none; border: 0; max-height: none; background: transparent; flex-basis: 100%; display: none; visibility: visible; opacity: 1; transition: none; }
	.has-mega.is-open .mega { display: block; }
	.mega__inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0 8px; }
	.mega__intro { display: none; }
	.mega__regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
	.primary-nav .mega__region a { border-bottom: 0; padding: 5px 0; font-size: 1rem; }
}
@media (max-width: 900px) {
	.services, .compliance-grid, .about, .crew-call, .contact, .standards, .faq-layout, .county-layout, .big-step { grid-template-columns: minmax(0, 1fr); }
	.county-card { position: static; order: -1; }
	.county-card__map { max-width: 220px; }
	.included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.services__intro, .toc, .faq-layout__head, .counties__map { position: static; }
	.counties { grid-template-columns: minmax(0, 1fr); }
	.counties__map { max-width: 460px; }
	.toc { display: none; }
	.post-row article { grid-template-columns: minmax(0, 1fr); }
	.post-row__body { grid-column: 1; }
	.post-row__meta { flex-direction: row; gap: 14px; }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.brand img { width: 50px; height: 50px; }
	.brand__name strong { font-size: 1.25rem; }
	.site-header__inner { min-height: 72px; }
	.facts__list { grid-template-columns: minmax(0, 1fr); }
	.facts__item, .facts__item + .facts__item { padding: 18px 0; border-left: 0; }
	.facts__item + .facts__item { border-top: 1px solid var(--rule); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step::after { display: none; }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.regions { grid-template-columns: minmax(0, 1fr); }
	.included, .service-detail__meta { grid-template-columns: minmax(0, 1fr); }
	.crop-row { grid-template-columns: minmax(0, 1fr); }
	.big-step__head { padding-left: 64px; }
	.cta-band__actions .btn { width: 100%; }
	.hero__actions .btn { width: 100%; }
	.hero__copy { padding-top: 32px; }
	.hero__lead { margin-bottom: 1.4em; }
	.hero-art { width: 200vw; max-width: none; height: auto; margin-left: -69.6vw; margin-top: 0; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.contact-lines li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	/* Phones and computers with "Reduce motion" on get a soft fade-in instead of movement */
	.js .hero-art:not(.is-playing) .sun, .js .hero-art:not(.is-playing) .rows-g { transform: none; opacity: 0; }
	.hero-art.is-playing .sun, .hero-art.is-playing .rows-g { animation: fade-in 1.2s ease both; transform: none; }
}
