:root {
  --nest-cream: #f4f0e4;
  --nest-cream-2: #fbf8ef;
  --nest-green: #073d2a;
  --nest-green-2: #0f5a3b;
  --nest-sage: #dce5d4;
  --nest-mint: #eaf0df;
  --nest-rust: #b7653f;
  --nest-blue: #7bb6c9;
  --nest-text: #0f241a;
  --nest-muted: #657066;
  --nest-line: rgba(15, 36, 26, .10);
  --nest-shadow: 0 22px 60px rgba(28, 44, 33, .10);
  --nest-radius: 18px;
  --nest-radius-lg: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--nest-text);
  background:
    linear-gradient(var(--nest-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--nest-line) 1px, transparent 1px),
    radial-gradient(circle at 70% 10%, rgba(92, 142, 79, .13), transparent 36%),
    var(--nest-cream);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--nest-green-2); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section-pad { padding: 110px 0; }
.section-pad.compact { padding: 90px 0 58px; }

.skip-link, .screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: white;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  backdrop-filter: blur(16px);
  background: rgba(244, 240, 228, .78);
  border-bottom: 1px solid rgba(15, 36, 26, .08);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; letter-spacing: -.03em; }
.custom-logo { max-height: 46px; width: auto; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  color: var(--nest-cream-2); background: var(--nest-green); font-weight: 900;
}
.brand-text { line-height: 1; }
.menu { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.menu > li { position: relative; list-style: none; margin: 0; }
.menu a {
  display: inline-flex; padding: 10px 13px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 700; color: rgba(15, 36, 26, .78);
}
.menu a:hover { background: rgba(7, 61, 42, .08); color: var(--nest-green); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--nest-green); margin: 5px 0; }


/* Header refinements, dropdown menus and GTranslate compatibility */
.primary-nav { margin-left: auto; }
.primary-nav .menu,
.primary-nav .menu ul { list-style: none; }
.primary-nav .menu li::marker { content: ""; }
.menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 10px;
  margin: 0;
  border-radius: 16px;
  background: rgba(251, 248, 239, .98);
  border: 1px solid rgba(15, 36, 26, .12);
  box-shadow: var(--nest-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 140;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  white-space: nowrap;
}

/* GTranslate often injects flags as lists/dropdowns. This keeps it inside the header. */
.site-header .gtranslate_wrapper,
.site-header .gt_switcher,
.site-header .gt_float_switcher,
.site-header .gt_selector,
.site-header [class*="gtranslate"] {
  max-width: 190px;
  font-size: 13px;
  line-height: 1.2;
}
.site-header .gtranslate_wrapper ul,
.site-header .gt_switcher ul,
.site-header [class*="gtranslate"] ul,
.site-header .menu .gtranslate_wrapper ul,
.site-header .menu [class*="gtranslate"] ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-header .gtranslate_wrapper li,
.site-header .gt_switcher li,
.site-header [class*="gtranslate"] li {
  list-style: none !important;
  margin: 0 !important;
}
.site-header a.glink,
.site-header .gtranslate_wrapper a,
.site-header .gt_switcher a,
.site-header [class*="gtranslate"] a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 8px !important;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-header a.glink img,
.site-header .gtranslate_wrapper img,
.site-header .gt_switcher img,
.site-header [class*="gtranslate"] img {
  display: inline-block !important;
  width: 18px !important;
  height: auto !important;
  margin: 0 2px 0 0 !important;
  vertical-align: middle !important;
}
.site-header select.gt_selector,
.site-header select[class*="gt_selector"] {
  max-width: 150px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15,36,26,.14);
  background: rgba(251,248,239,.85);
  color: var(--nest-text);
  padding: 4px 8px;
}
.site-header .gt_options,
.site-header .gt_languages,
.site-header .gt_switcher .gt_option {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  width: max-content !important;
  min-width: 145px !important;
  max-width: 190px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--nest-shadow) !important;
  background: rgba(251, 248, 239, .98) !important;
  border: 1px solid rgba(15,36,26,.12) !important;
}

@media (min-width: 721px) {
  .primary-nav > .menu { flex-wrap: nowrap; }
  .primary-nav > .menu > li > a { min-height: 38px; }
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--nest-rust);
  font-size: 12px;
  font-weight: 900;
}
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(3rem, 6.05vw, 6.35rem); max-width: 780px; }
h2 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h3 { font-size: 1.08rem; line-height: 1.1; letter-spacing: -.035em; }
p { line-height: 1.75; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--nest-muted); max-width: 640px; }

.hero { padding-top: 74px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: clamp(34px, 5vw, 60px); align-items: center; }
.hero-copy h1 { margin-bottom: 28px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 900; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--nest-green); color: var(--nest-cream-2); box-shadow: 0 12px 30px rgba(7, 61, 42, .18); }
.btn-primary:hover { color: white; background: #052f20; }
.btn-ghost { border-color: rgba(7, 61, 42, .22); background: rgba(251, 248, 239, .55); }

.hero-panel {
  min-height: 560px; border-radius: var(--nest-radius-lg); position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 61, 42, .04), rgba(7, 61, 42, .12)),
    linear-gradient(135deg, rgba(124, 166, 86, .26), rgba(123, 182, 201, .18)),
    url('../img/field-pattern.svg');
  border: 1px solid rgba(7, 61, 42, .12);
  box-shadow: var(--nest-shadow);
}
.hero-panel::before {
  content: ""; position: absolute; inset: 44px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(7,61,42,.12)); border: 1px solid rgba(255,255,255,.38);
}
.floating-card {
  position: absolute; width: min(245px, 70%); padding: 18px; border-radius: 18px;
  background: rgba(251, 248, 239, .88); border: 1px solid rgba(7,61,42,.12);
  box-shadow: 0 20px 44px rgba(7,61,42,.13); backdrop-filter: blur(12px);
}
.floating-card strong { display:block; font-size: 1.18rem; margin: 8px 0 6px; }
.floating-card small { color: var(--nest-muted); line-height: 1.5; }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--nest-green); color: white; }
.soil-card { left: 30px; top: 46px; }
.gis-card { right: 34px; top: 190px; }
.policy-card { left: 76px; bottom: 66px; }

.mission-card {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center;
  padding: 54px; background: rgba(7, 61, 42, .96); color: white; border-radius: var(--nest-radius-lg);
  box-shadow: var(--nest-shadow); overflow: hidden; position: relative;
}
.mission-card p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.mission-symbol { font-size: clamp(4rem, 10vw, 10rem); font-weight: 900; opacity: .11; letter-spacing: -.09em; line-height: .75; }

.section-heading { margin-bottom: 38px; }
.section-heading h2 { max-width: 780px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .post-card, .content-card {
  background: rgba(251, 248, 239, .78); border: 1px solid rgba(15, 36, 26, .09);
  border-radius: var(--nest-radius); box-shadow: 0 18px 42px rgba(32, 42, 33, .07);
}
.service-card { min-height: 188px; padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(32, 42, 33, .12); }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; color: white; border-radius: 10px; margin-bottom: 34px; font-weight: 900; }
.icon-green { background: var(--nest-green-2); }
.icon-blue { background: var(--nest-blue); }
.icon-rust { background: var(--nest-rust); }
.service-card p { margin-bottom: 0; color: var(--nest-muted); font-size: .92rem; }

.lab-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 52px; align-items: center; }
.image-card { position: relative; margin: 0; min-height: 430px; border-radius: 16px; overflow: hidden; box-shadow: var(--nest-shadow); }
.image-fallback { width: 100%; height: 100%; min-height: inherit; background-size: cover; background-position: center; }
.field-image { background-image: linear-gradient(180deg, rgba(7,61,42,.02), rgba(7,61,42,.22)), url('../img/field-pattern.svg'), linear-gradient(135deg, #b8c783, #4d7b49 58%, #153f2e); }
.soil-image { background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 24%), linear-gradient(135deg, #716b4d, #253325 58%, #0b2419); }
.image-card figcaption { position: absolute; left: 20px; bottom: 18px; color: white; font-weight: 900; font-size: .94rem; }
.steps h2 { margin-bottom: 28px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 10px;
  background: rgba(251, 248, 239, .72); border: 1px solid rgba(15,36,26,.10); color: var(--nest-muted);
}
.step-list span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--nest-green); color: white; font-weight: 900; }

.biodiversity-card {
  display: grid; grid-template-columns: .88fr 1.12fr; gap: 0; overflow: hidden;
  background: var(--nest-green); color: white; border-radius: var(--nest-radius-lg); box-shadow: var(--nest-shadow);
}
.biodiversity-image { min-height: 430px; }
.biodiversity-copy { padding: clamp(32px, 6vw, 72px); }
.biodiversity-copy h2 { max-width: 650px; }
.biodiversity-copy p { color: rgba(255,255,255,.75); max-width: 560px; }
.link-light { display: inline-flex; margin-top: 8px; color: white; font-weight: 900; text-decoration: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tag-row span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }

.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-card-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.post-card { padding: 24px; min-height: 170px; transition: transform .2s ease, box-shadow .2s ease; }
.post-card-rich { padding: 0; overflow: hidden; }
.post-card-rich > :not(.post-thumb) { margin-inline: 24px; }
.post-card-rich .read-more { margin-bottom: 24px; }
.post-thumb img { aspect-ratio: 1.48 / 1; object-fit: cover; width: 100%; }
.post-number { color: var(--nest-rust); font-weight: 900; font-size: 13px; display: inline-block; margin-bottom: 18px; }
.post-card h2, .post-card h3 { font-size: clamp(1.12rem, 2vw, 1.5rem); line-height: 1.05; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card p { color: var(--nest-muted); font-size: .94rem; margin-bottom: 18px; }
.post-meta { color: var(--nest-muted); font-size: 13px; margin-bottom: 12px; }
.post-meta a { color: inherit; }
.read-more { display: inline-flex; font-weight: 900; font-size: .9rem; color: var(--nest-green); }

.archive-hero h1 { max-width: 850px; }
.pagination-wrap { margin-top: 34px; }
.nav-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.page-numbers { padding: 10px 14px; border-radius: 999px; background: rgba(251,248,239,.72); text-decoration: none; }
.page-numbers.current { background: var(--nest-green); color: white; }

.single-featured { border-radius: var(--nest-radius-lg); overflow: hidden; box-shadow: var(--nest-shadow); margin-bottom: 34px; }
.single-featured img { width: 100%; max-height: 580px; object-fit: cover; }
.content-card { padding: clamp(28px, 5vw, 58px); margin-bottom: 90px; }
.content-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 1.2em; }
.content-card h3 { font-size: 1.6rem; margin-top: 1.3em; }
.content-card p, .content-card li { font-size: 1.05rem; color: #314136; }
.content-card blockquote { border-left: 5px solid var(--nest-rust); margin-left: 0; padding: 10px 0 10px 22px; color: var(--nest-green); font-weight: 700; }

.site-footer { padding: 64px 0 30px; }
.footer-cta {
  min-height: 390px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 42px;
  padding: clamp(30px, 6vw, 72px); border-radius: var(--nest-radius-lg); overflow: hidden;
  background: linear-gradient(90deg, rgba(7,61,42,.92), rgba(7,61,42,.58)), linear-gradient(135deg, #87965b, #24442d);
  color: white; box-shadow: var(--nest-shadow);
}
.footer-cta h2 { max-width: 620px; }
.footer-cta p { color: rgba(255,255,255,.76); max-width: 590px; }
.newsletter { padding: 20px; border-radius: 14px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.newsletter label { display: block; color: white; font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: 14px 12px; }
.newsletter button { width: 48px; border: 0; border-radius: 8px; background: var(--nest-rust); color: white; font-size: 22px; cursor: pointer; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 34px; color: var(--nest-muted); font-size: 14px; }
.footer-menu { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-menu a { text-decoration: none; color: inherit; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 980px) {
  .hero-grid, .mission-card, .lab-grid, .biodiversity-card, .footer-cta { grid-template-columns: 1fr; }
  .service-grid, .blog-card-grid, .blog-card-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel { min-height: 500px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad, .section-pad.compact { padding: 64px 0; }
  h1 { font-size: clamp(2.9rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); padding: 14px; border-radius: 18px; background: rgba(251,248,239,.97); border: 1px solid rgba(15,36,26,.12); box-shadow: var(--nest-shadow); display: none; }
  .primary-nav.is-open { display: block; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu a { justify-content: center; }
  .menu .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 4px 0 4px 14px;
    margin-top: 2px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .menu li:hover > .sub-menu,
  .menu li:focus-within > .sub-menu { transform: none; }
  .site-header .gtranslate_wrapper,
  .site-header .gt_switcher,
  .site-header .gt_float_switcher,
  .site-header .gt_selector,
  .site-header [class*="gtranslate"] { max-width: 100%; }

  .hero-panel { min-height: 440px; }
  .floating-card { width: 220px; }
  .gis-card { right: 18px; top: 166px; }
  .policy-card { left: 18px; }
  .mission-card, .biodiversity-copy, .footer-cta { padding: 28px; }
  .service-grid, .blog-card-grid, .blog-card-grid-large { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-row { flex-direction: column; }
  .newsletter button { width: 100%; }
}

/* === NEST Field Labs v1.2 professional system === */
.topbar {
  background: rgba(7, 61, 42, .96);
  color: rgba(251,248,239,.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: inline-flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(251,248,239,.88); text-decoration: none; }
.topbar a:hover { color: white; }

.site-header { top: 0; padding: 12px 0; background: rgba(244, 240, 228, .72); }
.admin-bar .site-header { top: 32px; }
.nav-shell {
  min-height: 66px;
  padding: 9px 14px 9px 18px;
  border-radius: 24px;
  background: rgba(251,248,239,.88);
  border: 1px solid rgba(15,36,26,.11);
  box-shadow: 0 16px 44px rgba(28,44,33,.08);
}
.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.header-widget { display: inline-flex; align-items: center; max-height: 44px; }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 15px;
  border-radius: 999px;
  background: var(--nest-green);
  color: var(--nest-cream-2);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(7,61,42,.16);
}
.header-cta:hover { color: white; background: #052f20; }

.btn-light { background: var(--nest-cream-2); color: var(--nest-green); }
.btn-light:hover { background: white; color: var(--nest-green); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.btn-outline-light:hover { color: white; background: rgba(255,255,255,.16); }

.impact-section { padding-top: 68px; }
.impact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border-radius: var(--nest-radius-lg);
  background: rgba(251, 248, 239, .62);
  border: 1px solid rgba(15,36,26,.09);
  box-shadow: 0 18px 44px rgba(32,42,33,.06);
}
.impact-intro { padding: 26px; border-radius: 22px; background: rgba(7,61,42,.06); }
.impact-intro h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.impact-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.impact-metrics article {
  display: grid;
  align-content: center;
  min-height: 160px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(251,248,239,.88);
  border: 1px solid rgba(15,36,26,.08);
}
.impact-metrics strong { display: block; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .9; letter-spacing: -.06em; color: var(--nest-green); }
.impact-metrics span { display: block; margin-top: 12px; color: var(--nest-muted); font-weight: 800; font-size: .88rem; line-height: 1.35; }

.method-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start; }
.method-copy { position: sticky; top: 142px; }
.method-timeline { display: grid; gap: 12px; counter-reset: method; }
.method-timeline article {
  display: grid;
  grid-template-columns: 58px minmax(110px,.32fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: rgba(251,248,239,.72);
  border: 1px solid rgba(15,36,26,.09);
  box-shadow: 0 14px 32px rgba(32,42,33,.05);
}
.method-timeline span {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--nest-green);
  color: white;
  font-weight: 900;
  font-size: 12px;
}
.method-timeline h3 { font-size: 1.25rem; }
.method-timeline p { margin: 0; color: var(--nest-muted); font-size: .95rem; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card {
  overflow: hidden;
  border-radius: var(--nest-radius);
  background: rgba(251,248,239,.78);
  border: 1px solid rgba(15,36,26,.09);
  box-shadow: 0 18px 42px rgba(32,42,33,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(32,42,33,.12); }
.project-thumb { display: block; min-height: 210px; background: linear-gradient(135deg, rgba(7,61,42,.16), rgba(183,101,63,.10)); text-decoration: none; }
.project-thumb img { width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; }
.project-thumb-fallback { display:block; min-height: 210px; background: linear-gradient(180deg, rgba(7,61,42,.02), rgba(7,61,42,.22)), url('../img/field-pattern.svg'), linear-gradient(135deg, #c6d6a0, #557f4a 58%, #123f2c); background-size: cover; }
.project-body { padding: 24px; }
.project-status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(7,61,42,.08); color: var(--nest-green); font-size: 12px; font-weight: 900; margin-bottom: 18px; }
.project-card h2, .project-card h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.04; }
.project-card h2 a, .project-card h3 a { text-decoration: none; }
.project-card p { color: var(--nest-muted); font-size: .94rem; margin-bottom: 0; }

.site-footer { padding: 84px 0 30px; }
.footer-cta-pro {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(90deg, rgba(7,61,42,.96), rgba(7,61,42,.70)),
    linear-gradient(135deg, #87965b, #24442d);
}
.footer-cta-pro::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 180px;
  height: 180px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.footer-buttons { margin-top: 30px; }
.newsletter-panel { position: relative; z-index: 1; }
.newsletter small { display: block; margin-top: 12px; color: rgba(255,255,255,.66); line-height: 1.5; }
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .7fr .85fr .9fr;
  gap: 34px;
  padding: 54px 0 34px;
  border-bottom: 1px solid rgba(15,36,26,.10);
}
.footer-about p { max-width: 360px; color: var(--nest-muted); font-size: .95rem; }
.footer-brand { margin-bottom: 18px; }
.footer-brand .custom-logo { max-height: 44px; }
.footer-column h3 {
  margin: 0 0 16px;
  font-size: .82rem;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--nest-green);
}
.footer-menu-pro, .legal-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu-pro { display: grid; gap: 11px; }
.footer-menu-pro a { color: var(--nest-muted); text-decoration: none; font-weight: 750; font-size: .94rem; }
.footer-menu-pro a:hover { color: var(--nest-green); }
.footer-contact-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(251,248,239,.68);
  border: 1px solid rgba(15,36,26,.09);
}
.footer-contact-card p { color: var(--nest-muted); font-size: .92rem; }
.footer-email { display: inline-flex; margin-top: 6px; font-weight: 900; color: var(--nest-green); text-decoration: none; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-socials a {
  display: inline-flex; padding: 8px 11px; border-radius: 999px;
  background: rgba(7,61,42,.07); color: var(--nest-green); text-decoration: none; font-weight: 900; font-size: 13px;
}
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; color: var(--nest-muted); font-size: 13px; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-menu a { color: var(--nest-muted); text-decoration: none; }
.legal-menu a:hover { color: var(--nest-green); }
.footer-bottom { display: none; }

@media (max-width: 1100px) {
  .header-actions { display: none; }
  .impact-grid, .method-grid, .footer-main { grid-template-columns: 1fr; }
  .method-copy { position: static; }
  .impact-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .topbar-links { flex-wrap: wrap; }
  .nav-shell { border-radius: 18px; }
  .method-timeline article { grid-template-columns: 44px 1fr; }
  .method-timeline article p { grid-column: 2; }
  .impact-metrics, .project-grid { grid-template-columns: 1fr; }
  .footer-main, .footer-legal { align-items: flex-start; }
  .footer-legal { flex-direction: column; }
}
