:root {
  --green-900: #173f23;
  --green-800: #24572f;
  --green-700: #326b3c;
  --green-600: #3f7f49;
  --sage: #78956f;
  --blue-700: #2e6388;
  --blue-500: #527da8;
  --earth: #8a5a38;
  --purple: #7761a0;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --white: #fff;
  --text: #1c2821;
  --muted: #647066;
  --border: rgba(23, 63, 35, .16);
  --shadow: 0 22px 56px rgba(23, 63, 35, .13);
  --shadow-card: 0 10px 26px rgba(34, 53, 37, .09);
  --container: min(1280px, calc(100% - 64px));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font: 400 16px/1.65 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--green-900); font-family: var(--serif); font-weight: 600; line-height: 1.08; }
.container { width: var(--container); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%);
}
.skip-link {
  position: fixed; z-index: 100;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap;
  left: 16px; top: 0;
  background: var(--green-900); color: var(--white); border-radius: 0 0 8px 8px;
}
.skip-link:focus-visible {
  width: auto; height: auto; margin: 0; padding: 10px 18px;
  overflow: visible; clip: auto; clip-path: none;
}

/* Header */
.site-header {
  position: relative; z-index: 20; height: 88px;
  background: #fff; border-bottom: 1px solid rgba(23, 63, 35, .09);
  box-shadow: 0 2px 12px rgba(23, 63, 35, .035);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 46px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { width: 62px; height: 62px; }
.brand-mark circle { fill: #fff; stroke: var(--blue-700); stroke-width: 2.6; }
.mark-sky { fill: #ccdfdf; }
.mark-hill { fill: var(--green-700); }
.mark-water { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; }
.mark-leaf { fill: var(--green-800); stroke: #fff; stroke-width: 1.2; }
.brand-copy { display: grid; gap: 2px; }
.brand-name { color: var(--green-800); font: 700 clamp(25px, 2.15vw, 31px)/1 var(--serif); white-space: nowrap; }
.brand-tagline {
  color: var(--blue-700); font-size: 10px; letter-spacing: .065em;
  font-weight: 700; text-transform: uppercase; white-space: nowrap;
}
.nav-panel { display: flex; align-items: center; gap: 45px; margin-left: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 2.1vw, 38px); }
.primary-nav a {
  color: #243029; font-size: 14px; font-weight: 500; line-height: 88px;
  border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav .is-active {
  color: var(--green-800); border-color: var(--green-800);
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 51px; padding: 0 27px; border: 1px solid transparent; border-radius: 15px;
  font-weight: 600; line-height: 1; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary {
  color: white; background: var(--green-800);
  box-shadow: 0 6px 16px rgba(36, 87, 47, .18);
}
.button-primary:hover, .button-primary:focus-visible { background: var(--green-900); box-shadow: 0 10px 18px rgba(23, 63, 35, .25); }
.header-cta { min-height: 54px; padding-inline: 30px; border-radius: 16px; font-size: 16px; }
.menu-toggle {
  display: none; width: 48px; height: 45px; margin-left: auto; padding: 11px;
  border: 1px solid var(--border); border-radius: 10px; background: white; cursor: pointer;
}
.menu-toggle span:not(.visually-hidden) {
  display: block; height: 2px; margin: 5px 0; border-radius: 5px; background: var(--green-900);
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-last-child(3) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-last-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Hero and focus cards */
.hero {
  position: relative; min-height: 820px; padding-top: 48px; padding-bottom: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, 0) 52%, rgba(255,253,248,.82) 88%, var(--paper) 100%), url("assets/images/hero-farm.jpg");
  background-position: center 40%; background-size: cover;
}
.hero-card {
  width: min(585px, 100%); padding: 40px 46px 39px; border-radius: 24px;
  background: rgba(255, 254, 249, .93); box-shadow: 0 13px 34px rgba(21, 41, 25, .11);
  backdrop-filter: blur(4px); text-align: center;
}
.hero-card h1 { font-size: clamp(54px, 4.45vw, 63px); letter-spacing: -.02em; }
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 21px auto; color: var(--green-700); }
.leaf-divider span { display: block; width: min(190px, 40%); height: 1px; background: var(--sage); }
.leaf-divider svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-card p { font-size: 17px; color: #27342c; line-height: 1.68; }
.button-row { display: flex; justify-content: center; gap: 22px; margin-top: 28px; }
.button-outline {
  border-color: var(--green-700); color: var(--green-800); background: rgba(255, 255, 255, .5);
}
.button-outline:hover, .button-outline:focus-visible { color: white; background: var(--green-800); }
.focus-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  position: absolute; z-index: 2; left: 50%; bottom: -88px; transform: translateX(-50%);
}
.focus-card {
  display: flex; flex-direction: column; align-items: center; min-height: 354px;
  padding: 28px 20px 23px; border: 1px solid #e7e0d4; border-radius: 22px;
  background: rgba(255, 255, 255, .97); text-align: center; box-shadow: var(--shadow-card);
  transition: transform .23s ease, box-shadow .23s ease;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon, .resource-icon {
  display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 20px;
  border-radius: 50%; color: var(--white); background: var(--green-600);
}
.card-icon svg { width: 51px; height: 51px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.focus-card.aquaculture .card-icon, .resource-card.aquaculture .resource-icon { background: var(--blue-500); }
.focus-card.soil .card-icon, .resource-card.soil .resource-icon { background: var(--earth); }
.focus-card.education .card-icon, .resource-card.education .resource-icon { background: var(--purple); }
.focus-card.partnerships .card-icon { background: #597a46; }
.focus-card h2 { font: 600 19px/1.18 var(--sans); color: #152219; margin-bottom: 16px; }
.focus-card p { color: #384238; font-size: 14px; line-height: 1.7; margin-bottom: auto; }
.focus-card a, .resource-card a {
  margin-top: 21px; color: var(--green-700); font-size: 14px; font-weight: 600; transition: color .2s, letter-spacing .2s;
}
.focus-card.aquaculture a, .resource-card.aquaculture a { color: var(--blue-700); }
.focus-card.soil a, .resource-card.soil a { color: var(--earth); }
.focus-card.education a, .resource-card.education a { color: var(--purple); }
.focus-card a:hover, .resource-card a:hover { color: var(--green-900); letter-spacing: .015em; }
.focus-card a span, .resource-card a span { margin-left: 3px; font-size: 19px; vertical-align: -1px; }

/* Virginia */
.virginia {
  min-height: 570px; padding: 174px 0 62px; position: relative;
  background: linear-gradient(90deg, rgba(248,248,242,.67), rgba(248,248,242,.76)), url("assets/images/valley-band.jpg") center 57% / cover;
}
.virginia-grid { display: grid; grid-template-columns: 55% 45%; align-items: center; gap: 26px; }
.map-wrap { padding: 0 35px 0 0; transform: scale(1.06); transform-origin: center right; }
.virginia-map { width: 100%; overflow: visible; }
.map-shadow { fill: rgba(32, 57, 31, .2); transform: translateY(8px); filter: blur(5px); }
.map-shape { fill: #799366; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.map-detail { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 5px; }
.map-route { fill: none; stroke: #f4f5ee; stroke-width: 2; stroke-dasharray: 4 3; }
.marker circle { r: 28px; fill: #fff; stroke: var(--blue-700); stroke-width: 3; }
.marker use { fill: none; stroke: var(--blue-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.marker.green circle { stroke: var(--green-700); }
.marker.green use { stroke: var(--green-700); }
.eyebrow { color: var(--blue-700); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 13px; }
.virginia-copy h2 { font-size: clamp(43px, 3.55vw, 50px); }
.small-divider { display: flex; align-items: center; gap: 8px; height: 31px; color: var(--green-700); }
.small-divider span { width: 25px; height: 1px; background: var(--sage); }
.small-divider svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.virginia-copy > p:not(.eyebrow) { max-width: 530px; margin: 12px 0 28px; font-size: 16px; line-height: 1.72; color: #28352d; }
.virginia-copy .button { min-height: 51px; padding-inline: 24px; border-radius: 11px; }

/* Resources */
.resources { padding: 53px 0 64px; background: var(--paper); }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(38px, 3.2vw, 45px); }
.section-heading .leaf-divider { margin: 10px auto 0; }
.section-heading .leaf-divider span { width: 24px; }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.resource-card {
  position: relative; overflow: hidden; min-height: 426px; border-radius: 20px;
  border: 1px solid #e7e0d4; background: #fff; box-shadow: var(--shadow-card);
  transition: transform .23s ease, box-shadow .23s ease;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.resource-image {
  height: 191px; background-image: url("assets/images/resources-montage.jpg");
  background-size: 400% 100%; background-position-y: center;
}
.resource-card.agriculture .resource-image { background-position-x: 0; }
.resource-card.aquaculture .resource-image { background-position-x: 33.333%; }
.resource-card.soil .resource-image { background-position-x: 66.666%; }
.resource-card.education .resource-image { background-position-x: 100%; }
.resource-icon {
  position: absolute; top: 159px; left: 27px; width: 64px; height: 64px;
  margin: 0; border: 3px solid #fff;
}
.resource-icon svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.resource-body { padding: 45px 27px 25px; display: flex; flex-direction: column; min-height: 231px; }
.resource-body h3 { font: 600 21px/1.2 var(--sans); color: #152219; margin-bottom: 13px; }
.resource-body p { color: #39443d; font-size: 14px; line-height: 1.64; margin-bottom: auto; }

/* CTA */
.cta-band {
  position: relative; min-height: 183px; display: flex; align-items: center; color: white; padding: 38px 0;
  background: linear-gradient(90deg, rgba(22, 38, 25, .8), rgba(29, 43, 27, .65)), url("assets/images/valley-band.jpg") center 61% / cover;
}
.cta-grid { display: grid; grid-template-columns: 1.62fr 1.84fr auto; align-items: center; gap: 32px; }
.cta-intro { display: flex; align-items: center; gap: 25px; }
.cta-leaf {
  display: grid; place-items: center; width: 84px; height: 84px; flex-shrink: 0;
  border: 2px solid white; border-radius: 50%;
}
.cta-leaf svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cta-intro h2 { color: white; font-size: 38px; margin-bottom: 10px; }
.cta-intro p { font-size: 14px; line-height: 1.62; }
.cta-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(255,255,255,.7); }
.cta-actions div { min-height: 105px; padding: 4px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.7); }
.cta-actions svg { margin: 0 auto 6px; width: 35px; height: 35px; fill: none; stroke: #fff; stroke-width: 1.4; }
.cta-actions h3 { color: white; font: 600 16px var(--sans); }
.cta-actions p { font-size: 12px; line-height: 1.48; }
.button-light { color: white; border-color: white; background: rgba(36,87,47,.84); white-space: nowrap; }
.button-light:hover { background: var(--green-900); }

/* Footer */
.site-footer { background: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr .72fr 1.18fr 1.22fr 1.25fr;
  gap: 39px; padding: 43px 0 40px;
}
.footer-brand .brand { align-items: flex-start; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 66px; height: 66px; }
.footer-brand .brand-name { font-size: 32px; }
.footer-brand p, .newsletter p { font-size: 14px; line-height: 1.68; color: #39443d; }
.socials { display: flex; gap: 12px; margin-top: 23px; }
.socials a {
  display: grid; place-items: center; height: 33px; width: 33px; color: white;
  border-radius: 50%; background: var(--green-800); font-weight: 600;
}
.footer-grid h2 { margin: 0 0 17px; color: #202c24; font: 600 17px var(--sans); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-contact a, .footer-contact p {
  color: #39443d; font-size: 13px; line-height: 1.65; transition: color .2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--green-700); text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact p { display: flex; gap: 14px; }
.footer-contact span { color: var(--green-700); font-weight: 700; }
.newsletter p { margin: 0 0 16px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input {
  width: 100%; height: 45px; padding: 0 13px; border: 1px solid #d5dcd3; border-radius: 9px;
  font: 13px var(--sans); color: var(--text); background: #fbfbfa;
}
.newsletter .button { min-height: 44px; margin-left: auto; padding: 0 21px; border-radius: 10px; font-size: 13px; }
.form-message { min-height: 18px; margin-top: 5px !important; color: var(--green-700) !important; }
.footer-bottom { color: white; background: var(--green-800); }
.bottom-inner {
  display: flex; justify-content: center; align-items: center; gap: 31px; min-height: 56px;
  font-size: 13px;
}
.bottom-inner span + span { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 1140px) {
  .header-inner { gap: 18px; }
  .nav-panel { gap: 18px; }
  .primary-nav { gap: 17px; }
  .brand-mark { width: 57px; height: 57px; }
  .brand-name { font-size: 25px; }
  .focus-grid { gap: 10px; }
  .focus-card { padding-inline: 14px; }
  .cta-grid { grid-template-columns: 1.4fr 1.6fr; }
  .cta-grid > .button { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 960px) {
  :root { --container: min(100% - 40px, 760px); }
  .site-header { height: 84px; }
  .menu-toggle { display: block; }
  .nav-panel {
    display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 10px 20px 22px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-card);
  }
  .nav-panel.is-open { display: flex; }
  .primary-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { line-height: 47px; border-bottom: 1px solid rgba(23,63,35,.09); }
  .primary-nav .is-active { border-bottom-color: var(--green-700); }
  .header-cta { width: 100%; }
  .hero { min-height: auto; padding: 42px 0 0; background-position: 68% top; }
  .hero-card { margin-bottom: 58px; }
  .focus-grid {
    position: relative; bottom: auto; left: auto; transform: none;
    grid-template-columns: repeat(2, 1fr); padding-bottom: 44px;
  }
  .focus-card { min-height: 314px; }
  .focus-card:last-child { grid-column: span 2; max-width: calc(50% - 5px); justify-self: center; }
  .virginia { min-height: auto; padding: 66px 0; }
  .virginia-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-wrap { padding: 0; transform: none; }
  .virginia-copy { max-width: 620px; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-column: 1 / -1; max-width: 370px; }
  .bottom-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 14px; gap: 10px 18px; }
}
@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }
  body { font-size: 14px; }
  .site-header { height: 76px; }
  .brand { gap: 8px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 22px; }
  .brand-tagline { font-size: 8px; }
  .hero { padding-top: 28px; background-position: 72% top; }
  .hero-card { padding: 31px 18px 30px; border-radius: 19px; }
  .hero-card h1 { font-size: clamp(40px, 12vw, 47px); }
  .hero-card p { font-size: 14px; }
  .button-row { flex-direction: column; gap: 12px; }
  .button-row .button { width: 100%; }
  .focus-grid { grid-template-columns: 1fr; gap: 14px; }
  .focus-card, .focus-card:last-child { grid-column: auto; max-width: none; min-height: 288px; }
  .virginia-copy h2 { font-size: 35px; }
  .resources { padding-block: 47px; }
  .resources-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 402px; }
  .cta-intro { flex-direction: column; align-items: flex-start; }
  .cta-actions { grid-template-columns: 1fr; border: 0; gap: 16px; }
  .cta-actions div { display: grid; grid-template-columns: 43px 1fr; column-gap: 12px; text-align: left; border: 0; min-height: auto; }
  .cta-actions svg { grid-row: span 2; }
  .cta-grid > .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 29px; }
  .footer-brand .brand-name { font-size: 28px; }
  .newsletter { grid-column: auto; }
  .bottom-inner { display: grid; }
  .bottom-inner span + span { padding-left: 0; border-left: 0; }
}
