:root {
  --brand-green: #338533;
  --brand-green-dark: #2c732c;
  --brand-green-deep: #245f24;
  --brand-green-soft: #edf5ed;
  --bg: #faf8f3;
  --bg-soft: #f4f4ef;
  --text: #111111;
  --muted: #5f5f5f;
  --border: rgba(17, 17, 17, 0.08);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.container--narrow {
  width: min(calc(100% - 2rem), 900px);
}

.site-main {
  min-height: calc(100vh - 320px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding: 0.85rem 0;
  background: rgba(250, 248, 243, 0.98);
  border-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding .custom-logo,
.site-branding img {
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.site-navigation--desktop {
  display: none;
}

.menu,
.footer-menu,
.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu--desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu--desktop > .menu-item {
  position: relative;
}

.menu--desktop > .menu-item > a {
  display: inline-flex;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f2f2f;
}

.menu--desktop > .menu-item:hover > a {
  color: var(--text);
}

.menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu--desktop .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.menu--desktop .menu-item:hover > .sub-menu,
.menu--desktop .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu--desktop .sub-menu a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--muted);
}

.menu--desktop .sub-menu a:hover {
  background: var(--brand-green-soft);
  color: var(--text);
}

.site-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.site-nav-toggle__line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #2f2f2f;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .site-nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .site-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.site-header.is-open .mobile-menu {
  display: block;
}

.mobile-menu__inner {
  padding-bottom: 1rem;
}

.menu--mobile {
  margin-top: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--bg);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
}

.menu--mobile > .menu-item {
  position: relative;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
}

.menu--mobile > .menu-item > a {
  display: block;
  padding: 1rem 3.5rem 1rem 1.25rem;
  font-weight: 600;
}

.menu--mobile .submenu-toggle {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu--mobile .submenu-toggle span,
.menu--mobile .submenu-toggle span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 2px;
  content: "";
  background: #666;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.menu--mobile .submenu-toggle span::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.menu--mobile .menu-item.is-expanded > .submenu-toggle span::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

.menu--mobile .sub-menu {
  display: none;
  margin: 0 0.75rem 0.75rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
}

.menu--mobile .menu-item.is-expanded > .sub-menu {
  display: block;
}

.menu--mobile .sub-menu a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--muted);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 5.5rem;
}

.hero-section__background,
.hero-section__overlay {
  position: absolute;
  inset: 0;
}

.hero-section__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.5;
}

.hero-section__overlay {
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.34) 0%, rgba(250, 248, 243, 0.7) 56%, rgba(250, 248, 243, 0.94) 100%);
}

.hero-section__content {
  position: relative;
  z-index: 1;
}

.hero-section__inner {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 3rem 0 1rem;
}

.hero-copy {
  max-width: 48rem;
}

.hero-copy__kicker,
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green-deep);
}

.hero-copy__title,
.section-title,
.page-hero__inner h1 {
  margin: 0 0 1.5rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy__title {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

.hero-copy__description,
.section-copy__text,
.archive-description,
.post-single {
  color: var(--muted);
}

.hero-copy__description {
  margin: 0 0 2.5rem;
  font-size: 1rem;
}

.hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 0.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button__icon,
.icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.button--primary {
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(51, 133, 51, 0.18);
}

.button--primary:hover {
  background: var(--brand-green-dark);
}

.button--secondary {
  border: 3px solid var(--brand-green);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-green);
}

.button--pill {
  border: 1px solid rgba(51, 133, 51, 0.16);
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: var(--brand-green-deep);
}

.button--light {
  background: #fff;
  color: var(--brand-green-deep);
}

.hero-highlights-wrap {
  padding-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-highlights__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.hero-highlights__item span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon--accent {
  color: var(--brand-green);
}

.icon--round {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

.icon--soft {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

.section {
  padding: 6rem 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(244, 244, 239, 1) 0%, rgba(250, 248, 243, 1) 100%);
}

.section--about__grid,
.section--careers__grid,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.section-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
}

.section-title span {
  color: var(--brand-green);
}

.section-title--medium {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.section-copy__text {
  margin: 0;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-item strong {
  font-size: 1.8rem;
  line-height: 1;
}

.feature-item span:last-child {
  color: #444;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-image-card,
.careers-image-card,
.post-featured-image {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.85rem;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.about-image-card img,
.careers-image-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-header {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.service-cards,
.post-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card,
.post-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.9rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  background: var(--brand-green-soft);
}

.service-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green-deep) 0%, var(--brand-green) 100%);
}

.service-card__ghost {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 7rem;
  height: 7rem;
  color: rgba(17, 17, 17, 0.06);
}

.service-card h3,
.post-card h2 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.7rem;
}

.service-card p,
.post-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-green-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.section--careers {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2f7a2f 0%, #245f24 100%);
  color: #fff;
}

.section--careers__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(135deg, transparent 0 40%, rgba(255, 255, 255, 0.4) 40% 42%, transparent 42% 100%),
    linear-gradient(45deg, transparent 0 40%, rgba(255, 255, 255, 0.4) 40% 42%, transparent 42% 100%);
  background-size: 40px 40px;
}

.section--careers .section-copy,
.section--careers .section-title,
.section--careers .section-copy__text,
.careers-list {
  position: relative;
  z-index: 1;
}

.section-copy--light .section-copy__text {
  color: rgba(255, 255, 255, 0.9);
}

.careers-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.careers-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.careers-list .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.section--contact .section-header--compact {
  margin-bottom: 2rem;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
}

.contact-card--info {
  background: var(--brand-green-soft);
}

.contact-card--form {
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item a,
.contact-info-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.contact-form__grid {
  display: grid;
  gap: 1rem;
}

.contact-form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.9rem;
  background: #f8f7f4;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-green);
}

.contact-form__honeypot {
  display: none;
}

.form-message {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-message--success {
  background: var(--brand-green-soft);
  border: 1px solid rgba(51, 133, 51, 0.18);
  color: var(--brand-green-deep);
}

.form-message--error {
  background: #fff0f0;
  border: 1px solid #f1c7c7;
  color: #b33f3f;
}

.form-message--warning {
  background: #fff7e8;
  border: 1px solid #efd8a6;
  color: #8c6517;
}

.page-hero {
  padding: 9rem 0 3rem;
}

.page-hero--light {
  background: linear-gradient(180deg, #faf8f3 0%, #f4f4ef 100%);
}

.page-hero__inner {
  max-width: 52rem;
}

.page-hero__inner--post {
  max-width: 46rem;
}

.page-hero__inner h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.archive-description,
.post-meta {
  color: #666;
}

.post-card__image {
  overflow: hidden;
  margin: -2rem -2rem 1.5rem;
}

.post-card__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.post-single > *:first-child {
  margin-top: 0;
}

.post-single img {
  border-radius: 1.25rem;
}

.post-single h2,
.post-single h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
}

.post-single p,
.post-single li {
  color: #343434;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #f2f2ec;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.site-footer__brand .custom-logo-link,
.site-footer__brand .custom-logo {
  display: inline-block;
}

.site-footer__brand .custom-logo {
  width: auto;
  height: 2.7rem;
  object-fit: contain;
}

.site-footer__brand p {
  max-width: 24rem;
  color: var(--muted);
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-menu li,
.site-footer__contact li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.footer-menu a:hover,
.site-footer__contact a:hover {
  color: var(--brand-green);
}

.site-footer__contact-spacer {
  padding-top: 0.75rem;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: #777;
  font-size: 0.95rem;
}

.site-footer__socials {
  display: flex;
  gap: 1rem;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-green);
}

.site-footer__socials a svg {
  width: 1.15rem;
  height: 1.15rem;
}

@media (min-width: 782px) {
  .admin-bar .site-header {
    top: 32px;
  }

  .hero-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .hero-highlights__item + .hero-highlights__item {
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
  }

  .hero-highlights__item {
    padding: 0 1.5rem;
  }

  .section--about__grid,
  .section--careers__grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 4rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-cards,
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .site-navigation--desktop {
    display: block;
  }

  .site-nav-toggle {
    display: none;
  }

  .hero-section__inner {
    min-height: 600px;
    padding: 4rem 0 2rem;
  }
}

@media (max-width: 781px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .hero-copy__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy__actions .button {
    width: 100%;
  }

  .section {
    padding: 4.5rem 0;
  }

  .page-hero {
    padding-top: 8rem;
  }
}
