:root {
  --primary: #1f8a4c;
  --primary-dark: #0e4429;
  --lime: #a6e22e;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --accent: #e8a33d;
  --border: #d8d8d8;
  --bg: #f7f7f5;
  --text: #1a1a1a;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.utility-bar {
  background: #eef2f7;
  color: var(--text);
  text-align: center;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
}

.utility-bar a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.utility-bar a:hover,
.utility-bar a:focus-visible {
  text-decoration: underline;
}

.staging-notice {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 8px 0 0;
}

.site-header {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  line-height: 0;
}

.logo img {
  height: 28px;
  display: block;
}

/* Mobile menu toggle button - hidden at desktop widths */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
  flex-shrink: 0;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 1px;
}

/* Nav panel - collapsed by default (mobile-first), toggled by nav.js */
.site-nav {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  order: 3;
  background: var(--primary-dark);
  box-sizing: border-box;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a,
.nav-dropdown-summary {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.9;
  display: block;
  padding: 12px 8px;
  min-height: 44px;
  box-sizing: border-box;
}

.site-nav a:hover,
.nav-dropdown-summary:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-nav a.nav-cta {
  background: var(--lime);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 6px;
  opacity: 1;
  text-align: center;
  margin-top: 4px;
}

.site-nav a.nav-cta:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.nav-dropdown {
  position: relative;
  border: none;
}

.nav-dropdown-summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.nav-dropdown-summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-summary::after {
  content: "\25BE";
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 0.75rem;
}

.nav-dropdown[open] .nav-dropdown-summary::after {
  content: "\25B4";
}

.nav-dropdown-menu {
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
}

.nav-dropdown[open] > .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  padding: 10px 10px;
  border-radius: 4px;
  white-space: normal;
  font-size: 0.88rem;
  opacity: 0.85;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  opacity: 1;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: auto;
    order: 0;
    gap: 14px;
    background: transparent;
  }

  .site-nav a,
  .nav-dropdown-summary {
    padding: 6px 2px;
    min-height: auto;
    font-size: 0.88rem;
  }

  .site-nav a.nav-cta {
    padding: 8px 14px;
    margin-top: 0;
  }

  .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px;
    padding-left: 6px;
    z-index: 20;
  }

  .nav-dropdown[open] > .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-menu a {
    white-space: nowrap;
  }
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.hero {
  text-align: center;
  padding: 48px 16px 36px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.hero-image {
  width: 100%;
  max-width: 900px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin: 24px auto 24px;
  display: block;
}

.hero p.subhead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #196e3c;
}

.usp-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}

@media (min-width: 640px) {
  .usp-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.85rem;
}

.usp-card .usp-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.section-heading {
  text-align: center;
  font-size: 1.4rem;
  margin: 48px 0 8px;
  color: var(--primary);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 28px;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
}

.step-card .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.cta-band {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 36px 20px;
  margin: 48px 0 20px;
}

.cta-band h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.cta-band p {
  color: #cfe8d8;
  margin-bottom: 20px;
}

.cta-band .btn-primary {
  background: var(--lime);
  color: var(--primary-dark);
}

.cta-band .btn-primary:hover {
  filter: brightness(1.05);
}

.placeholder-notice {
  background: #fff4e0;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #7a5210;
  text-align: center;
  margin: 24px auto 0;
  max-width: 560px;
}

.verified-job-notice {
  background: #eaf6ec;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--primary-dark);
  text-align: center;
  margin: 24px auto 0;
  max-width: 560px;
}

.case-study-card {
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 16px 0 24px;
  background: var(--card-bg, #fafafa);
}

.case-study-card h3,
.case-study-card h4 {
  margin-top: 0;
}

.case-study-thumb {
  width: 100%;
  max-width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color, #ddd);
  display: block;
  margin-bottom: 16px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 32px;
}

@media (min-width: 640px) {
  .case-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

.case-gallery figcaption {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.job-meta-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 20px 0 32px;
}

@media (min-width: 640px) {
  .job-meta-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.job-meta-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
}

article h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin: 30px 0 10px;
}

article p {
  margin: 0 0 16px;
  color: var(--text);
}

article a {
  color: var(--blue);
}

article a:hover {
  text-decoration: none;
}

article strong {
  color: var(--primary-dark);
}

article table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

article th,
article td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

article th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
}

article tbody tr:nth-child(even) {
  background: #eef3f0;
}

@media (max-width: 640px) {
  article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.borough-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

@media (min-width: 640px) {
  .borough-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.borough-list a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
}

.borough-list a:hover {
  text-decoration: underline;
}

.footer-sitemap {
  background: var(--primary-dark);
  color: #cfe8d8;
  padding: 40px 20px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-sitemap {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.footer-col a {
  display: block;
  color: #cfe8d8;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer {
  background: var(--primary-dark);
  text-align: center;
  font-size: 0.78rem;
  color: #9dc4ab;
  padding: 20px;
  margin: 0;
}

.footer-legal {
  background: var(--primary-dark);
  text-align: center;
  padding: 0 20px 20px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-legal a {
  color: #9dc4ab;
  text-decoration: none;
  padding: 0 8px;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb {
  max-width: 900px;
  margin: 1rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.breadcrumb a { color: inherit; text-decoration: underline; }
