/* ========================================
   VARIABLES
   ======================================== */
:root {
  --light-brown: #ecd09e;
  --mid-brown: #dca45a;
  --dark-brown: #dda457;
  --neon-green: #99cc00;
  --dark-green: #4b6212;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f9f9f7;
  --gray: #666666;
  --light-gray: #e8e8e8;
  --max-width: 1100px;
}

/* ========================================
   RESET
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--off-white);
}

/* ========================================
   UTILITY BAR
   ======================================== */
.utility-bar {
  background: var(--dark-green);
  color: var(--light-brown);
  font-size: 13px;
}

.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-bar__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.utility-bar__info a {
  color: var(--light-brown);
  transition: color 0.2s;
}

.utility-bar__info a:hover {
  color: var(--neon-green);
}

.utility-bar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-bar__social a {
  color: var(--light-brown);
  transition: color 0.2s;
}

.utility-bar__social a:hover {
  color: var(--neon-green);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--mid-brown);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  max-width: 200px;
  height: auto;
}

@media (max-width: 900px) {
  .site-logo img {
    max-width: 150px;
  }
}

.site-logo__text {
  line-height: 1.2;
}

.site-logo__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.site-logo__sub {
  font-size: 10px;
  color: var(--dark-brown);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ========================================
   NAVIGATION
   ======================================== */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav > li {
	position: relative;
}

.primary-nav > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}

.primary-nav > li > a:hover,
.primary-nav > li:hover > a {
  color: var(--dark-green);
}

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--dark-green);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
}

.primary-nav > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--black);
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.15s;
}

.primary-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.primary-nav .sub-menu li a:hover {
  background: var(--light-brown);
  color: var(--dark-green);
}

/* Header CTA */
.header-cta {
  display: inline-block;
  background: var(--neon-green);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: #88b300;
}

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }
  .primary-nav,
  .header-cta {
    display: none;
  }
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 3px solid var(--mid-brown);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__list {
  padding: 10px 0;
}
.mobile-nav__list > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--light-gray);
  transition: color 0.2s;
}
.mobile-nav__list > li:last-child > a {
  border-bottom: none;
}
.mobile-nav__list > li > a:hover {
  color: var(--dark-green);
}
.mobile-nav__list .sub-menu {
  background: var(--off-white);
}
.mobile-nav__list .sub-menu li a {
  display: block;
  padding: 10px 20px 10px 36px;
  font-size: 13px;
  color: var(--gray);
  border-bottom: 1px solid var(--light-gray);
  transition: color 0.2s;
}
.mobile-nav__list .sub-menu li:last-child a {
  border-bottom: none;
}
.mobile-nav__list .sub-menu li a:hover {
  color: var(--dark-green);
}
@media (min-width: 901px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ========================================
   TAGLINE BAR
   ======================================== */
.tagline-bar {
  background: var(--dark-green);
  text-align: center;
  padding: 14px 20px;
}

.tagline-bar span {
  color: var(--neon-green);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--black);
  color: var(--light-brown);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.footer-column h3 {
  color: var(--neon-green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  font-size: 13px;
  color: var(--light-brown);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--neon-green);
}

.footer-bottom {
  border-top: 1px solid var(--dark-green);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

.footer-bottom__copy {
  font-size: 11px;
  color: var(--mid-brown);
}

.footer-bottom__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom__social a {
  font-size: 11px;
  color: var(--mid-brown);
  transition: color 0.2s;
}

.footer-bottom__social a:hover {
  color: var(--neon-green);
}

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

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTENT - DEFAULT PAGE
   ======================================== */
.page-header {
  background: var(--dark-green);
  padding: 40px 0;
}

.page-header h1 {
  color: var(--white);
  font-size: 32px;
}

.page-header .breadcrumbs {
  color: var(--light-brown);
  font-size: 13px;
  margin-top: 8px;
}

.page-header .breadcrumbs a {
  color: var(--neon-green);
  transition: color 0.2s;
}

.page-header .breadcrumbs a:hover {
  color: var(--white);
}

.page-content {
  padding: 48px 0;
}

.page-content h2 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--dark-green);
}

.page-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--black);
}

.page-content p {
  margin-bottom: 16px;
  color: var(--black);
  line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--neon-green);
  color: var(--black);
}

.btn--primary:hover {
  background: #88b300;
}

.btn--secondary {
  background: var(--dark-green);
  color: var(--white);
}

.btn--secondary:hover {
  background: #3a4e0e;
}

.btn--outline {
  background: transparent;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}

.btn--outline:hover {
  background: var(--dark-green);
  color: var(--white);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  font-size: 28px;
  color: var(--dark-green);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 700px;
  line-height: 1.7;
}

/* ========================================
   PRODUCTS HUB
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.product-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 24px;
  transition: all 0.2s;
}

.product-card:hover {
  border-color: var(--mid-brown);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  height: 160px;
  background: var(--off-white);
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card:hover .product-card__link {
  color: var(--neon-green);
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ADDITIONAL PRODUCTS
   ======================================== */
.additional-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.additional-product {
  padding: 20px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--light-gray);
}

.additional-product h3 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 6px;
}

.additional-product p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.additional-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray);
}

.additional-note a {
  color: var(--dark-green);
  font-weight: 600;
}

.additional-note a:hover {
  color: var(--neon-green);
}

@media (max-width: 768px) {
  .additional-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .additional-products {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 28px;
  color: var(--black);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  margin: 0 8px;
}

/* ========================================
   SERVICES HUB
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--dark-green);
  border-radius: 0 0 4px 4px;
  padding: 32px 24px;
  transition: all 0.2s;
}

.service-card:hover {
  border-top-color: var(--neon-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card h2 {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card:hover .service-card__link {
  color: var(--neon-green);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.gallery-grid img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - HERO
   ======================================== */
.hero {
  background: var(--dark-green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  /* max-height controlled per breakpoint */
}

.hero__content {
  max-width: 650px;
}

.hero__content h1 {
  color: var(--white);
  font-size: 38px;
  margin-bottom: 16px;
}

.hero__content p {
  color: var(--light-brown);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__buttons .btn--outline {
  color: var(--white);
  border-color: var(--white);
}

.hero__buttons .btn--outline:hover {
  background: var(--white);
  color: var(--dark-green);
}

/* ========================================
   HOMEPAGE - VALUE PROPS
   ======================================== */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-prop {
  padding: 28px;
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--mid-brown);
  border-radius: 0 0 4px 4px;
}

.value-prop h3 {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
}

.value-prop p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}

.value-prop a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-prop a:hover {
  color: var(--neon-green);
}

@media (max-width: 768px) {
  .value-props {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - BRAND LOGOS
   ======================================== */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  min-width: 140px;
}

/* ========================================
   HOMEPAGE - FEATURED PROJECTS
   ======================================== */
.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.featured-project__placeholder {
  height: 250px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .featured-projects {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - TESTIMONIALS
   ======================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.testimonial {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--black);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  font-style: normal;
}

@media (max-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - SERVICE AREA
   ======================================== */
.service-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-area__text h2 {
  font-size: 28px;
  color: var(--dark-green);
  margin-bottom: 16px;
}

.service-area__text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-area__map {
  height: 350px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .service-area {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - CONTACT STRIP
   ======================================== */
.contact-strip {
  background: var(--dark-green);
  padding: 48px 0;
}

.contact-strip h2 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-strip p {
  color: var(--light-brown);
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-strip a {
  color: var(--neon-green);
  font-weight: 600;
}

.contact-strip a:hover {
  color: var(--white);
}

/* Community Page Layout */
.community-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.community-main {
  flex: 1;
  min-width: 0;
}
.community-sidebar {
  width: 320px;
  flex-shrink: 0;
}
.community-quick-facts {
  background: var(--off-white, #f9f9f7);
  border: 1px solid var(--light-gray, #e8e8e8);
  border-radius: 6px;
  padding: 24px;
  position: sticky;
  top: 100px;
}
.community-quick-facts h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 16px;
}
.community-quick-facts h3 {
  font-size: 0.95rem;
  margin-top: 16px;
  margin-bottom: 4px;
  color: var(--dark-green, #4b6212);
}
.community-quick-facts p {
  margin-top: 0;
  font-size: 0.9rem;
}

/* Mobile: stack sidebar below main */
@media (max-width: 768px) {
  .community-layout {
    flex-direction: column;
  }
  .community-sidebar {
    width: 100%;
  }
  .community-quick-facts {
    position: static;
  }
}

/* Community page link styling */
.community-main a,
.community-sidebar a,
.page-content a {
  color: var(--dark-green, #4b6212);
  text-decoration: underline;
}
.community-main a:hover,
.community-sidebar a:hover,
.page-content a:hover {
  color: var(--neon-green, #99cc00);
}

/* Communities hub page link styling */
.page-template-page-communities .section a:not(.btn) {
  color: var(--dark-green, #4b6212);
  text-decoration: underline;
}
.page-template-page-communities .section a:not(.btn):hover {
  color: var(--neon-green, #99cc00);
}
/* Hero right-aligned content */
.hero__content--right {
  margin-left: auto;
  margin-right: 0;
  max-width: 520px;
}

/* Value prop card images */
.value-prop__img {
  opacity: 1;
  transition-delay: 0.5s;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Map */
#lakeside-map {
  width: 100%;
  height: 450px;
  border-radius: 8px;
}
.service-area__map {
  overflow: hidden;
}
/* Brand logo images */
.brand-logo img {
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}


/* Hero image and overlay */
.hero__bg {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(51, 62, 25, 0.2) 0%, rgba(51, 62, 25, 0.75) 55%, rgba(51, 62, 25, 0.8) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

/* Hero mobile button spacing */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 100px;
  }
}

/* Featured Projects section */
.section--featured {
  background: var(--dark-green);
}
.section--featured .section-title {
  color: var(--white);
}
.section--featured .section-intro {
  color: var(--light-brown);
}
.section--featured .btn--outline {
  color: var(--white);
  border-color: var(--white);
}
.section--featured .btn--outline:hover {
  background: var(--white);
  color: var(--dark-green);
}
.featured-project__placeholder {
  border-color: var(--mid-brown);
}

/* Featured project images */
.featured-project__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* Scroll animations */
.fade-up {
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }

/* Smooth image loading */
.hero__bg {
  opacity: 1;
  
}
.value-prop__img {
  opacity: 1;
  transition: opacity 0.4s ease 0.8s;
}
.hero__bg.is-loaded,
.value-prop__img.is-loaded {
  opacity: 1;
}

/* Close gap between contact strip and tagline */
.page-template-front-page .tagline-bar {
  margin-top: -1px;
}
.page-template-front-page main {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Kill gap before tagline */
main {
}

/* Hero overlay - solid on mobile for readability */
@media (max-width: 768px) {
  .hero__overlay {
    background: rgba(51, 62, 25, 0.7);
  }
}

/* Hero image focus on building for mobile */
@media (max-width: 768px) {
  .hero__bg {
  opacity: 1;
    object-position: 15% center;
  }
}

/* Tagline bar - white on homepage only */
.page-id-4 .tagline-bar {
  background: var(--off-white);
}
.page-id-4 .tagline-bar span {
  color: var(--dark-green);
}

/* Utility bar mobile centering */
@media (max-width: 768px) {
  .utility-bar .container {
    flex-direction: column;
    text-align: center;
  }
  .utility-bar__info {
    justify-content: center;
    flex-wrap: wrap;
  }
  .utility-bar__social {
    justify-content: center;
  }
}

/* Value prop card hover */
a.value-prop {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
a.value-prop:hover {
  border-color: var(--neon-green);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
a.value-prop h3 {
  color: var(--black);
}
a.value-prop p {
  color: var(--gray);
}
.value-prop__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
a.value-prop:hover .value-prop__link {
  color: var(--neon-green);
}

/* Tagline bar centering */
.tagline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   PRODUCT CARD IMAGES (Hub Page)
   ======================================== */
img.product-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}
.product-card__image--placeholder {
  height: 160px;
  background: var(--off-white);
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ========================================
   PRODUCT HERO (Single Product Page)
   ======================================== */
.product-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: var(--off-white);
}
.product-hero__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .product-hero__img {
    height: 220px;
  }
}

/* ========================================
   PRODUCT PAGE - PROJECT PHOTOS
   ======================================== */
.product-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.product-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}
.product-photos--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .product-photos,
  .product-photos--three {
    grid-template-columns: 1fr;
  }
  .product-photos img {
    height: 220px;
  }
}

/* ========================================
   PRODUCT PAGE - FEATURE IMAGES
   ======================================== */
.product-feature-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .product-feature-img {
    height: 200px;
  }
}

/* Taller feature image for portrait photos */
.product-feature-img--tall {
  height: 450px;
}
@media (max-width: 768px) {
  .product-feature-img--tall {
    height: 350px;
  }
}

/* ========================================
   PRODUCT PAGE - TWO COLUMN SECTION
   ======================================== */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin: 24px 0 32px;
}
.product-split__img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .product-split {
    grid-template-columns: 1fr;
  }
  .product-split__img {
    min-height: 300px;
    max-height: 400px;
  }
}

/* CTA button spacing */
.cta-section .btn + .btn {
  margin-left: 8px;
}
@media (max-width: 480px) {
  .cta-section .btn {
    display: block;
    margin: 0 auto 12px;
    max-width: 280px;
  }
  .cta-section .btn + .btn {
    margin-left: auto;
  }
}


/* ========================================
   PRODUCT PAGE - REFINEMENTS
   ======================================== */


/* ========================================
   PRODUCT PAGE - REFINEMENTS
   ======================================== */
@media (min-width: 769px) {
  .product-feature-img {
    height: 450px;
  }
}
.product-hero__img {
  object-position: center 30%;
}

/* All product hero images - focus on building, less sky */
.product-hero__img {
  object-position: center 70%;
}

/* Doors & Windows hero - show door, less concrete */
.page-id-13 .product-hero__img {
  object-position: center 30%;
}

/* Override hero position for specific pages */
.page-id-13 .product-hero__img,
.page-id-18 .product-hero__img,
.page-id-17 .product-hero__img {
  object-position: center 30%;
}

/* ========================================
   PRODUCT HERO WITH OVERLAY
   ======================================== */
.product-hero--overlay {
  position: relative;
  max-height: 400px;
  overflow: hidden;
}
.product-hero--overlay .product-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(51, 62, 25, 0.75) 0%, rgba(51, 62, 25, 0.3) 50%, rgba(51, 62, 25, 0.05) 100%);
  z-index: 1;
}
.product-hero--overlay .product-hero__content {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 2;
}
.product-hero--overlay .product-hero__content h1 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 4px;
}
.product-hero--overlay .product-hero__content .breadcrumbs {
  color: var(--light-brown);
  font-size: 13px;
}
.product-hero--overlay .product-hero__content .breadcrumbs a {
  color: var(--neon-green);
}
.product-hero--overlay .product-hero__content .breadcrumbs a:hover {
  color: var(--white);
}
@media (max-width: 768px) {
  .product-hero--overlay {
    max-height: 280px;
  }
  .product-hero--overlay .product-hero__content {
    bottom: 20px;
  }
  .product-hero--overlay .product-hero__content h1 {
    font-size: 24px;
  }
}

/* ============================================
   Service page hero images — added 3/29
   ============================================ */
.page-hero--has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}
.page-hero--has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.page-hero--has-image .container {
  position: relative;
  z-index: 2;
}
.page-hero--has-image h1,
.page-hero--has-image .breadcrumbs,
.page-hero--has-image .breadcrumbs a {
  color: #fff;
}
.page-hero--has-image .breadcrumbs a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .page-hero--has-image {
    min-height: 360px;
  }
}

/* Service hub card images */
.hub-card__image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.hub-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hub-card:hover .hub-card__image img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .hub-card__image img {
    height: 260px;
  }
}

/* ========================================
   SERVICE CARD IMAGES (Hub Page) — 3/29
   ======================================== */
img.service-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}
/* Footer mobile center (3/29) */
@media (max-width: 600px) {
    .footer-column {
        text-align: center;
    }
    .footer-column ul {
        padding: 0;
    }
}
/* Center footer columns (3/29) */
.footer-columns {
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

/* =============================================
   DESIGN & DRAFTING — Sliders, Jamie Callout
   Added 3/29/2026
   ============================================= */
.ba-section { margin: 3rem 0; }
.ba-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green, #4a8c5e);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ba-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--green, #4a8c5e), transparent);
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .ba-grid { grid-template-columns: 1fr; }
}
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  background: #111;
  aspect-ratio: 16 / 9;
}
.ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.ba-slider .ba-after { z-index: 1; }
.ba-slider .ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 10;
  width: 4px;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: box-shadow 0.2s;
}
.ba-slider .ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border: 3px solid var(--green, #5fb97a);
}
.ba-slider .ba-handle::before {
  content: '\25C2  \25B8';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  font-size: 13px;
  color: #1a3c2a;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}
.ba-slider:hover .ba-handle {
  box-shadow: 0 0 20px rgba(95, 185, 122, 0.5);
}
.ba-label {
  position: absolute;
  bottom: 14px;
  z-index: 5;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before {
  left: 14px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}
.ba-label-after {
  right: 14px;
  background: rgba(255,255,255,0.9);
  color: #1a3c2a;
  backdrop-filter: blur(4px);
}
.ba-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}
.ba-caption strong { color: #333; }
.jamie-callout {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  background: #faf9f6;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0.75rem;
  padding: 1.75rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.jamie-callout img {
  width: 140px;
  height: 140px;
  border-radius: 0.625rem;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.jamie-callout .jamie-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green, #4a8c5e);
  margin-bottom: 0.25rem;
}
.jamie-callout .jamie-info p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .jamie-callout {
    flex-direction: column;
    text-align: center;
  }
  .jamie-callout img {
    width: 120px;
    height: 120px;
  }
}

/* Page-level horizontal overflow fix 3/29 */
.page-content {
  overflow-x: hidden;
}

/* ============================================
   Gallery — Filters, Grid, Lightbox
   ============================================ */

/* Filter bar */
.gallery-filters {
  border-bottom: 1px solid #e5e2dc;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
}
.gallery-filters .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gallery-filters__track {
  display: flex;
  gap: 8px;
  padding: 14px 0;
  white-space: nowrap;
}
.gallery-filter {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.gallery-filter:hover {
  border-color: #2D5A27;
  color: #2D5A27;
  background: #f0f5ef;
}
.gallery-filter.active {
  background: #2D5A27;
  color: #fff;
  border-color: #2D5A27;
}

/* Gallery count */
.gallery-count {
  font-size: 14px;
  color: #888;
  margin-bottom: 16px;
}

/* Gallery empty state */
.gallery-empty {
  text-align: center;
  color: #999;
  padding: 3rem 1rem;
  font-size: 15px;
}

/* Grid — masonry via CSS columns, mobile-first */
.gallery-grid {
  columns: 2;
  column-gap: 12px;
}
@media (min-width: 600px) {
  .gallery-grid { columns: 3; }
}
@media (min-width: 900px) {
  .gallery-grid { columns: 3; column-gap: 16px; }
}

/* Individual gallery item */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #f5f0eb;
}
@media (min-width: 900px) {
  .gallery-item { margin-bottom: 16px; }
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  transition: opacity 0.2s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
}
/* On touch devices, always show captions */
@media (hover: none) {
  .gallery-item figcaption {
    opacity: 1;
  }
}
.gallery-item figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.gallery-item figcaption span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}
.gallery-lightbox.open {
  display: flex;
}
.gallery-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  padding: 8px;
}
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  opacity: 1;
}
.gallery-lightbox__prev { left: 8px; }
.gallery-lightbox__next { right: 8px; }
.gallery-lightbox__content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.gallery-lightbox__content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
}
.gallery-lightbox__info {
  margin-top: 16px;
}
.gallery-lightbox__caption {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.gallery-lightbox__meta {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 4px 0 0;
}

/* Gallery filters — mobile grid layout */
@media (max-width: 599px) {
  .gallery-filters__track {
    flex-wrap: wrap;
    white-space: normal;
  }
  .gallery-filter {
    flex: 1 1 calc(33.33% - 6px);
    text-align: center;
    font-size: 13px;
    padding: 8px 4px;
  }
}

/* Gallery filters — tablet wrap */
@media (max-width: 1096px) {
  .gallery-filters__track {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Gallery — remove bg gap, let images size naturally */
.gallery-item {
  background: transparent;
  line-height: 0;
}
.gallery-item figcaption {
  line-height: 1.3;
}

/* Gallery grid — flexbox row layout, natural image heights */
.gallery-grid {
  columns: unset;
  column-gap: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 900px) {
  .gallery-grid {
    gap: 16px;
  }
}
.gallery-item {
  break-inside: unset;
  flex: 0 0 calc(50% - 6px);
}
@media (min-width: 600px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 8px);
  }
}
@media (min-width: 900px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 11px);
  }
}
.gallery-item img {
  width: 100%;
  height: auto;
}

/* Gallery — cap tall images, keep natural aspect for landscapes */
.gallery-item img {
  max-height: 350px;
  object-fit: cover;
}
@media (max-width: 599px) {
  .gallery-item img {
    max-height: 250px;
  }
}

/* Fix filter wrap — re-apply after grid changes */
.gallery-filters__track {
  flex-wrap: wrap;
  white-space: normal;
}
@media (max-width: 599px) {
  .gallery-filter {
    flex: 1 1 calc(33.33% - 6px);
    text-align: center;
    font-size: 13px;
    padding: 8px 4px;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.contact-info h2,
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--black);
}
.contact-info > p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail a {
  color: var(--dark-green);
  text-decoration: none;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark-green);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-directions {
  margin-top: 20px;
}
.contact-directions h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--black);
}
.contact-directions p {
  color: var(--gray);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* What We Do intro */
.value-props-intro {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Homepage FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item h3 {
  font-size: 17px;
  color: var(--black);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICE + CONTACT PAGE HERO FOCAL POINTS
   ======================================== */
.page-id-20 .product-hero__img,
.page-id-21 .product-hero__img,
.page-id-22 .product-hero__img,
.page-id-11 .product-hero__img {
  object-position: center top;
}

/* Contact + Design & Drafting hero focal point refinement */
.page-id-11 .product-hero__img {
  object-position: center 20%;
}
.page-id-20 .product-hero__img {
  object-position: center 20%;
}

/* Contact hero focal point refinement v2 */
.page-id-11 .product-hero__img {
  object-position: center 40%;
}

/* Contact strip link contrast fix — accessibility */
.contact-strip a {
  color: var(--white);
}
