/* ==========================================================================
   Lwamwa Contractors Limited — Global Stylesheet
   Design system per CLAUDE.md: charcoal/white/concrete-grey with confident
   green accent. Condensed display headings, clean sans body.
   ========================================================================== */

:root {
  --green: #009C4A;
  --green-accent: #85C545;
  --charcoal: #1A1F1D;
  --charcoal-soft: #23291F;
  --white: #FFFFFF;
  --grey-light: #E8E8E4;
  --grey-mid: #6B6B6B;
  --steel: #B8BDBF;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 88px;
  --header-h-shrunk: 62px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.8s;

  --container: 1240px;
  --radius: 4px;
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-shrunk); }
body, h1, h2, h3, h4, p, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

/* Safety net: nothing should ever force the page wider than the viewport on
   mobile. The real overflow sources (long nowrap button/badge text) are
   fixed at the source below — this is a backstop, not the fix. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }

p { color: var(--grey-mid); }

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 999;
  background: var(--white);
  color: var(--charcoal);
  padding: 12px 20px;
  border-radius: var(--radius);
}
.visually-hidden:focus {
  left: 16px;
  top: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .container { padding: 0 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green-accent);
}

.eyebrow--light { color: var(--green-accent); }

section { position: relative; }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head p { margin-top: 14px; font-size: 1.05rem; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section--pad { padding: 96px 0; }
.section--pad-sm { padding: 64px 0; }

@media (max-width: 640px) {
  .section--pad { padding: 64px 0; }
  .section--pad-sm { padding: 44px 0; }
}

.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal p { color: rgba(255,255,255,0.68); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--white); }
.bg-grey { background: var(--grey-light); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  max-width: 100%;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(0, 156, 74, 0.55);
}
.btn--primary:hover { background: #00893f; box-shadow: 0 10px 28px -6px rgba(0, 156, 74, 0.6); }

.btn--ghost {
  background: transparent;
  color: currentColor;
  border: 1.5px solid rgba(26, 31, 29, 0.25);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.bg-charcoal .btn--ghost { border-color: rgba(255,255,255,0.3); color: var(--white); }
.bg-charcoal .btn--ghost:hover { border-color: var(--green-accent); color: var(--green-accent); }

.btn--sm { padding: 11px 20px; font-size: 0.82rem; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(26,31,29,0.85), rgba(26,31,29,0));
  transition: height var(--dur-med) var(--ease), background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.site-header.is-scrolled {
  height: var(--header-h-shrunk);
  background: rgba(26, 31, 29, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
}

/* Inner pages have no dark hero behind the header, so it needs a solid base from the start */
.site-header.header--solid {
  background: rgba(26, 31, 29, 0.97);
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header__logo img {
  height: 40px;
  width: auto;
  transition: height var(--dur-med) var(--ease);
}
.site-header.is-scrolled .site-header__logo img { height: 32px; }

/* Home page only: green logo (logo.png) needs a light backing to read
   against the dark header/hero — other pages keep the plain white mark. */
.site-header__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
  transition: padding var(--dur-med) var(--ease);
}
.site-header.is-scrolled .site-header__logo-badge { padding: 4px; }

.site-nav {
  display: none;
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .site-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    padding: 6px 0;
    position: relative;
    transition: color var(--dur-fast) var(--ease);
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--green-accent);
    transition: width var(--dur-fast) var(--ease);
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
}

.site-header__actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  background: var(--charcoal);
  z-index: 250;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a[aria-current="page"] { color: var(--green-accent); }
.mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 960px) {
  .mobile-nav, .nav-scrim { display: none; }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,31,29,0.55) 0%, rgba(26,31,29,0.35) 40%, rgba(26,31,29,0.85) 100%),
    linear-gradient(90deg, rgba(26,31,29,0.75) 0%, rgba(26,31,29,0.25) 55%, rgba(26,31,29,0.1) 100%);
}

.hero__canvas-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: min(46vw, 720px);
  height: 100%;
  z-index: 2;
  display: none;
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero__canvas-wrap.is-active { display: block; }
}

.hero__canvas-wrap canvas { width: 100%; height: 100%; display: block; }

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: var(--header-h);
}

.hero__content .eyebrow { color: var(--green-accent); margin-bottom: 22px; }

.hero h1 {
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 22px;
}

.hero__lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}
.hero__scroll-cue::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--green-accent);
  border-radius: 50%;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Page (inner) hero banner — About/Services/Projects/Contact */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--charcoal);
  overflow: hidden;
  color: var(--white);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.34;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,31,29,0.4), var(--charcoal) 96%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 60ch; margin-top: 16px; font-size: 1.05rem; }
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--green-accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* -------------------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.09s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.27s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.36s; }
.reveal-group .reveal:nth-child(n+6) { transition-delay: 0.42s; }

/* -------------------------------------------------------------------------
   Stats
   ------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}
@media (min-width: 780px) {
  .stats { grid-template-columns: repeat(5, 1fr); }
}
.stat { text-align: left; border-left: 3px solid var(--green); padding-left: 18px; }
.stat__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat__number .unit { color: var(--green-accent); }
.stat__label {
  margin-top: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}
.stat--soft .stat__number { font-size: clamp(1.3rem, 2.2vw, 1.6rem); text-transform: none; letter-spacing: 0; }

/* -------------------------------------------------------------------------
   Cards: services / projects / credentials
   ------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid rgba(26,31,29,0.08);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(26,31,29,0.28);
  border-color: rgba(0,156,74,0.3);
}
.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grey-light);
  border-radius: var(--radius);
  color: var(--green);
  margin-bottom: 22px;
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--green); color: var(--white); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; }
.service-card--flagship {
  background: var(--charcoal);
  border-color: var(--charcoal);
  grid-column: 1 / -1;
}
.service-card--flagship h3, .service-card--flagship .service-card__flag { color: var(--white); }
.service-card--flagship p { color: rgba(255,255,255,0.68); }
.service-card--flagship .service-card__icon { background: var(--green); color: var(--white); }

.flag-badge {
  display: inline-block;
  background: var(--green-accent);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Media-frame hover zoom, used across service/project imagery */
.media-frame { overflow: hidden; border-radius: var(--radius); background: var(--grey-light); }
.media-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.media-frame:hover img { transform: scale(1.06); }

/* Services detail rows */
.service-row {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(26,31,29,0.08);
}
.service-row:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-row--reverse .service-row__media { order: 2; }
}
.service-row__media { aspect-ratio: 4 / 3; }
.service-row__media--icon {
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  aspect-ratio: 4/3;
}
.service-row__media--icon svg { width: 30%; height: 30%; color: var(--green-accent); }
.service-row__list { margin-top: 20px; }
.service-row__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: var(--charcoal);
}
.service-row__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 2px;
}

/* Projects gallery */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border: 1.5px solid rgba(26,31,29,0.15);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.project-card.is-hidden { display: none; }
.project-card__media { aspect-ratio: 4/3; overflow: hidden; }
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.08); }
.project-card:hover { transform: translateY(-4px); }
.project-card__body { padding: 20px 22px 24px; }
.project-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 8px;
}
.project-card__body h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.project-card__body p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin: 0; }
.project-card--thumb .project-card__media { aspect-ratio: 1/1; }

/* Credentials wall */
.credentials-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--grey-light);
  border-left: 3px solid var(--green);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.credentials-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green); margin-top: 2px; }

.credential-card {
  background: var(--white);
  border: 1px solid rgba(26,31,29,0.1);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.credential-card:hover { border-color: var(--green); transform: translateY(-3px); }
.credential-card h4 { margin-bottom: 8px; color: var(--charcoal); }
.credential-card__num { font-size: 0.9rem; color: var(--grey-mid); }
.credential-card__num strong { color: var(--charcoal); }

/* Pending / to-do flags — visible so the client can spot every gap before launch.
   Remove the element (not just the badge) once the real content is supplied. */
.pending {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a6d1c;
  background: #fdf3d8;
  border: 1px dashed #c9a227;
  border-radius: 8px;
  padding: 6px 11px;
  max-width: 100%;
}
.pending::before { content: "⏳"; font-size: 0.85em; }

.placeholder-photo {
  aspect-ratio: 1/1;
  width: 140px;
  border-radius: 50%;
  background: var(--grey-light);
  border: 1.5px dashed var(--grey-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  flex-shrink: 0;
}
.placeholder-photo svg { width: 44%; height: 44%; }

/* Director / leadership */
.leader-card {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 32px;
}
.leader-card__info h3 { margin-bottom: 4px; }
.leader-card__title { color: var(--green); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; }

/* Testimonials placeholder */
.testimonial-placeholder {
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
}
.testimonial-placeholder p { color: rgba(255,255,255,0.7); max-width: 52ch; margin: 0 auto; }

/* -------------------------------------------------------------------------
   Clients marquee
   ------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.marquee__item:hover { color: var(--green-accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   CTA banner
   ------------------------------------------------------------------------- */
.cta-banner {
  background: var(--green);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 30px; font-size: 1.05rem; }
.cta-banner .btn--primary { background: var(--charcoal); box-shadow: none; }
.cta-banner .btn--primary:hover { background: #10140f; }
.cta-banner .btn--ghost { border-color: rgba(255,255,255,0.5); }
.cta-banner .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }
.cta-banner__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--green-accent); }
.footer-col address { font-style: normal; font-size: 0.92rem; margin-bottom: 16px; }
.footer-col address strong { display: block; color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26,31,29,0.1);
}
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--grey-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item a, .contact-item address { color: var(--charcoal); font-size: 1rem; font-style: normal; }
.contact-item a:hover { color: var(--green); }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26,31,29,0.1);
  aspect-ratio: 4/3.4;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------------------
   Blueprint / concrete motif divider
   ------------------------------------------------------------------------- */
.blueprint-divider {
  height: 64px;
  background-image:
    linear-gradient(90deg, rgba(0,156,74,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,156,74,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--grey-light);
}

/* -------------------------------------------------------------------------
   Reduced motion & mobile perf overrides
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html.reduced-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.reduced-motion .marquee__track { animation: none; }
html.reduced-motion .hero__scroll-cue::before { animation: none; }
html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
}

@media (max-width: 899px) {
  .hero__canvas-wrap { display: none !important; }
}
