/* ============================================================
   TEN Website V2 — main.css — nav green update
   Tŝilhqot'in ʔEten Nadiltil / Indigenous-Led Civil Construction
   ============================================================ */

/* ─── Custom Properties ─── */
:root {
  --green:       #00483a;
  --green-dark:  #00352b;
  --green-90:    #00493b;
  --teal:        #68b5a5;
  --teal-80:     #8ec9bc;
  --teal-60:     #a8d5cb;
  --teal-40:     #c5e2dc;
  --black:       #231F20;
  --white:       #ffffff;
  --grey-light:  #f4f4f4;
  --grey-warm:   #f4f4f4;
  --body-text:   #3a3a3a;
  --mid-grey:    #707070;
  --nav-height:  85px;
  --bar-height:   38px;  /* Option 5: contact bar */
  --header-total: calc(var(--nav-height) + var(--bar-height));
  --transition:  0.2s ease;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: clamp(10pt, 1vw, 16pt);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
}

/* ─── Utility ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  border-radius: 0;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-80);
  color: var(--white);
}

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

/* Ghost button: border follows the 45° clip-path via layered pseudo-element */
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: none;
  position: relative;
  z-index: 0;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  background: rgba(255,255,255,.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13.5px), calc(100% - 13.5px) 100%, 0 100%);
  z-index: -1;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.16);
  color: var(--white);
}

/* Ghost-dark button: same border technique, dark context */
.btn-ghost-dark {
  background: rgba(0,72,58,.12);
  color: var(--green);
  border: none;
  position: relative;
  z-index: 0;
}
.btn-ghost-dark::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  background: rgba(0,72,58,.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13.5px), calc(100% - 13.5px) 100%, 0 100%);
  z-index: -1;
}
.btn-ghost-dark:hover {
  background: rgba(0,72,58,.2);
  color: var(--green);
}

/* ─── Navigation ─── */
.site-nav {
  position: fixed;
  top: 38px; /* offset for Option 5 contact bar */
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(244,244,244,.97); /* #f4f4f4 — per Cheryl */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px; /* match body container */
}

/* Mobile: nav spans full viewport width, no container padding */
@media (max-width: 768px) {
  .site-nav .container {
    max-width: 100%;
    padding: 0 16px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.nav-logo img {
  height: 60px; /* increased per Cheryl, ratio intact */
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-text .name-indigenous {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: 0.01em;
  display: block;
  width: 100%;
}

.nav-logo-text .name-english {
  font-size: 0.833rem;
  font-weight: 300;
  color: #231f20;
  line-height: 1.2;
  letter-spacing: 0.04em;
  display: block;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* All nav items must flex-align their content to prevent height variance */
.nav-links > li {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green); /* green nav text per Cheryl */
  transition: color var(--transition);
  position: relative;
  padding: 4px 4px; /* horizontal only — vertical centering via flex li */
  line-height: 1.4;
}

.nav-links a:hover {
  color: var(--teal); /* green text → teal on hover */
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green); /* green nav text per Cheryl */
  transition: color var(--transition);
  background: none;
  border: none;
  font-family: var(--font);
  padding: 0 4px; /* no vertical padding — li height controlled by nav-links flex container */
  line-height: 1.6;
}

/* Ensure the Services dropdown li aligns correctly in the flex nav */
.nav-links .nav-dropdown {
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle:hover {
  color: var(--teal); /* green text → teal on hover */
}

.nav-dropdown-toggle svg {
  display: inline;
  transition: transform var(--transition);
}

.nav-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(-6px);
  background: rgba(0,53,43,.92);
  border-top: 3px solid var(--teal);
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border-radius: 0 0 4px 4px;
  /* ✅ fix: extend hover zone above dropdown to bridge the gap */
  margin-top: -8px;
  padding-top: 8px;
}

.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Desktop only: .open class gets desktop transform */
@media (min-width: 769px) {
  .nav-dropdown-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Mobile .open: no transform, just show */
@media (max-width: 768px) {
  .nav-dropdown-menu.open {
    display: block;
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
  }
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,1);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:first-child {
  padding-top: 16px;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
  padding-bottom: 16px;
}

.nav-dropdown-menu a:hover {
  background: rgba(104,181,165,.18);
  color: var(--teal); /* white text → teal on hover */
}

.nav-links a.nav-cta,
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 6px 22px; /* reduced vertical padding to stay flush with other nav items */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  border-radius: 0;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--teal-80);
  color: var(--white);
}

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  transition: all var(--transition);
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  position: relative;
  background: #1a2e28;
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-total) + 80px) 0 100px;
  min-height: 650px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Black tint overlay — matches homepage hero-overlay rgba exactly */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(35,31,32,0.60), rgba(35,31,32,0.15)); /* desktop gradient — matches hero-overlay */
  z-index: 0;
  pointer-events: none;
}

/* loon-motif-wrap stays absolute — z-index 1 sits above ::before overlay (z-index 0) */
.page-hero .loon-motif-wrap {
  z-index: 1;
}

/* page-hero::after diagonal removed — horizontal border only */

.page-hero-green-dark::after {
  background: var(--green-dark);
}

.page-hero-grey::after {
  background: var(--grey-light);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  cursor: default; /* non-clickable — no pointer cursor */
  user-select: none;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: none;
}

.page-hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
  max-width: 600px;
}

/* Triangle — anchored bottom-right, no margin */
.loon-motif-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 1;
}

.loon-teal-triangle {
  width: 100%;
  height: 100%;
  display: block;
}

/* Loon — separate, anchored bottom-right with 45px margin */
.page-hero .loon-motif {
  position: absolute;
  right: 45px;
  bottom: 45px;
  width: 112px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
  filter: brightness(0) invert(1);
}

/* ─── Section Base ─── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Shadow only on eyebrow text inside hero/header sections */
.page-hero .section-eyebrow,
.page-hero-eyebrow {
  text-shadow: 0 1px 4px rgba(0,72,58,0.18), 0 2px 12px rgba(104,181,165,0.22);
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.section-heading--white {
  color: var(--white);
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mid-grey);
  max-width: 680px;
  margin-bottom: 60px;
}

.section-lead--white {
  color: rgba(255,255,255,.65);
}

/* accent-rule removed per design update */

/* ─── Diagonal Section Cuts ─── */
/* section diagonal helpers removed — sections use straight horizontal borders */

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #707070;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Poster frame — first frame still shown while Vimeo loads */
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('https://i.vimeocdn.com/video/2186843689-bfae353870f3a5f8c955261ad6a3b741df4c5f100dd9bf843ccec577d5c0d4fa-d_1280x720?region=us');
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* No ::after tint on poster — .hero-overlay covers both poster and video uniformly */

.hero-poster--hidden {
  opacity: 0;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(35,31,32,0.60), rgba(35,31,32,0.15)); /* desktop gradient per Cheryl — #231f20 */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-total);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-total));
  padding: 80px 0;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 88px;
  font-weight: 700;
  color: var(--white);
  line-height: 0.87;
  margin-top: -0.18em; /* trim font ascender gap — keeps first cap flush with optical baseline */
  margin-bottom: 32px;
  margin-left: 0; /* no optical shift — keep both tagline lines flush */
}
.tagline-white {
  color: var(--white);
}
.tagline-teal {
  color: var(--teal);
}

.hero-tagline-block {
  display: flex;
  gap: 16px;
  margin: 32px 0;
  align-items: flex-start;
}

.hero-tagline-rule {
  width: 3px;
  min-height: 52px;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-tagline-text .name-primary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.hero-tagline-text .name-secondary {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  display: block;
}

.hero-body {
  font-size: 1rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

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

/* Stats grid */
/* hero-stats removed — stat blocks eliminated per design update */
.hero-stats { display: none; }
.stat-card { display: none; }

/* hero-diagonal removed — hero ends at straight horizontal edge */
.hero-diagonal { display: none; }

/* Hero loon wrap — triangle anchored bottom-right, no margin */
.hero-loon-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 2;
}

/* Hero loon — separate, anchored bottom-right with 45px margin */
.hero-loon {
  position: absolute;
  right: 45px;
  bottom: 45px;
  width: 112px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 3;
  filter: brightness(0) invert(1);
}

/* ─── What Sets Us Apart ─── */
.apart-section {
  background: var(--white);
  padding: 120px 0 100px;
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.apart-pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apart-marker { display: none; }

.apart-pillar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

.apart-pillar p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.75;
}

/* ─── Services Section ─── */
.services-section {
  background: var(--grey-light);
  padding: 120px 0;
  position: relative;
}

/* services-section diagonal pseudo-elements removed */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* service-card-icon removed from homepage — icons stripped per design update */
.service-card-icon { display: none; }

.service-card-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.service-card h3,
.service-card p,
.service-card-link {
  padding-left: 28px;
  padding-right: 28px;
}

.service-card h3 { padding-top: 28px; }
.service-card-link { padding-bottom: 28px; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
}

.service-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
}

.service-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 10px;
  color: var(--green);
}

/* ─── Sectors Section ─── */
.sectors-section {
  background: var(--green-90); /* #00493b — 90% primary green per Cheryl 2026-08-08 */
  padding: 120px 0;
  position: relative;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.sector-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border-radius: 0;
}


.sector-icon {
  width: 28px;
  height: 28px;
}

.sector-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0); /* dark icons on light background */
}

.sector-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* ─── Values Section ─── */
.values-section {
  background: var(--grey-light);
  padding: 120px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-marker { display: none; }

.value-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}

.value-item p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.7;
}

/* ─── CTA Band ─── */
.cta-band .container {
  max-width: 100%;
  padding: 0 80px;
  text-align: center;
}

.cta-band {
  background: var(--green-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--teal);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Project Inquiries box — column in footer grid alongside brand/company/services */
.footer-inquiries-box {
  background: var(--green);
  border-radius: 0;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-inquiries-box h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.footer-inquiries-divider {
  height: 1px;
  background: rgba(0,0,0,.15);
  margin: 8px 0;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 0.833rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  max-width: 420px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--teal); /* white text → teal on hover */
}

/* ── Footer address blocks ── */
.footer-address-block {
  margin-bottom: 24px;
}

.footer-address-city {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.footer-address-line {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin: 0;
}

.footer-address-phone {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.footer-address-phone:hover {
  color: var(--teal);
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.footer-contact-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-contact-links a:hover {
  color: var(--teal);
}

.footer-bar {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bar p {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,.35);
}

.footer-loon {
  position: absolute;
  right: -20px;
  bottom: 40px;
  width: 220px;
  opacity: 0.06;
  pointer-events: none;
}

/* ─── About Page ─── */
.about-story {
  padding: 120px 0;
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-visual {
  background: var(--grey-light);
  padding: 2.5rem;
  border-top: 3px solid var(--teal);
}

.about-visual img {
  width: 120px;
  opacity: 0.3;
  filter: brightness(0) invert(1);
}

/* Partnership inline (about-visual replacement) */
.about-visual--partnership {
  background: var(--grey-light);
  padding: 2.5rem;
  border-top: 3px solid var(--teal);
}

.partnership-inline-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.partnership-inline-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partnership-inline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.partnership-inline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.partnership-inline-item .partnership-marker {
  color: var(--teal);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.partnership-inline-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.15rem;
}

.partnership-inline-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 300;
  color: #888;
}

/* Partnership section */
.partnership-section {
  background: var(--grey-light);
  padding: 100px 0;
}

.partnership-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.partnership-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 24px;
}

.partnership-inner p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Leadership section */
.leadership-section {
  padding: 100px 0;  background: var(--white);
}

.leadership-intro {
  max-width: 640px;
  margin-bottom: 60px;
}

.leadership-intro p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
}

/* ─── Loon Story Section ─── */
.loon-story {
  background: var(--green-dark);
  padding: 100px 0;
  color: var(--white);
}

.loon-story .section-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.loon-story h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 48px;
  max-width: 100%;
}

.loon-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}

.loon-image {
  width: 100%;
}

.loon-image svg {
  width: 100%;
  height: auto;
  display: block;
}

.loon-text p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.loon-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .loon-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .loon-image {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ─── Services Page ─── */
.services-alternating {
  padding: 100px 0;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--grey-light);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-row-visual {
  background: var(--green);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-row-visual img {
  width: 80px;
  opacity: 0.3;
  filter: brightness(0) invert(1);
}

.service-row-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.service-row-content p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.capabilities-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--body-text);
}

.capabilities-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  flex-shrink: 0;
  /* rotate removed — plain square bullet */
}

/* ─── Service Subpages ─── */
.service-detail {
  padding: 100px 0;
}

.service-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  margin-bottom: 80px;
}

.service-detail-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.service-detail-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-detail-visual {
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 300px;
  height: auto;
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capabilities-section {
  background: var(--grey-light);
  padding: 80px;
}

.capabilities-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 36px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Category-style cap grid (civil-construction, etc.) */
.cap-grid--categories {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cap-category {
  padding: 24px;
  background: var(--grey-light);
  border-top: 3px solid var(--teal);
}

.cap-category h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.cap-category p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.sectors-served {
  margin-top: 60px;
}

.sectors-served h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 24px;
}

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

.sector-tag {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* ─── Projects Page ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.project-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  cursor: default;
}

.project-card:hover {
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transform: none;
}

.project-card-image {
  height: 180px;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.project-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  /* skew removed — straight horizontal teal bar */
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-badge {
  display: inline-block;
  background: var(--teal-40);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}

.project-location {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
}

/* ─── Team Page ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.team-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}

.team-avatar {
  height: 160px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initials {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.team-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.team-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
}

.team-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-card-bio {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.6;
  margin-top: 4px;
}

/* ─── Team Page — Portrait Cards ─── */
.team-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card--portrait {
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  max-width: 363px;
  height: auto;
}

.team-photo-wrap {
  width: 100%;
  height: 363px;
  flex-shrink: 0;
  background: var(--green);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-photo-placeholder {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  user-select: none;
}

.team-card--portrait .team-info {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card--portrait h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

.team-card--portrait .team-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.team-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.team-linkedin {
  color: var(--teal);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.team-linkedin:hover {
  color: var(--green);
}

.team-bio-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.team-bio-link:hover {
  color: var(--teal);
}

/* ─── Bio Modal ─── */
.bio-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bio-modal-overlay.is-open {
  display: flex;
}

.bio-modal {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 8px 48px rgba(0,0,0,.18);
}

/* Mobile: square photo, stacked layout */
.bio-modal-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 20px;
  border: none;
  flex-shrink: 0;
}
.bio-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Desktop: two-column grid */
@media (min-width: 768px) {
  .bio-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    position: relative;
    max-width: 680px;
  }
  .bio-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10;
  }
  .bio-modal-photo-wrap {
    grid-column: 1;
    width: 100%;
    height: 100%;
    min-height: 260px;
    margin: 0;
    padding: 24px 16px 24px 24px;
    box-sizing: border-box;
    background: var(--off-white, #f4f4f4);
    display: flex;
    align-items: stretch;
  }
  .bio-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
  }
  .bio-modal-text {
    grid-column: 2;
    padding: 32px 32px 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.bio-modal h2 {
  font-size: 1.4rem;
  color: var(--green);
  margin: 0 0 6px;
}

.bio-modal-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}

.bio-modal-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body-text);
  margin: 0;
}

.bio-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--mid-grey);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.bio-modal-close:hover {
  color: var(--green);
}

/* ─── Contact Page ─── */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--body-text);
  background: var(--grey-warm);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-40);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.6;
}

.contact-detail-text a:hover {
  color: var(--teal);
}

.map-placeholder {
  background: var(--green);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.85;
}

/* ─── Careers Page ─── */
.careers-why {
  background: var(--grey-warm);
  padding: 100px 0;
}

.careers-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-left: 4px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}

.why-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.7;
}

.openings-section {
  padding: 100px 0;
  background: var(--white);
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  border-radius: 0;
}

.job-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.job-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.job-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}

.job-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-40);
  padding: 3px 10px;
}

.job-location {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid-grey);
}

.job-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.65;
}

/* ─── Mobile Nav ─── */
@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-total);
    left: 0;
    right: 0;
    width: 100%; /* Note: mobile dropdown opens below nav, contact bar may not apply */
    overflow: hidden; /* hard guardrail — nothing can spill past viewport edge */
    background: rgba(0,53,43,.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
    box-sizing: border-box;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-dropdown-toggle {
    display: block;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    color: rgba(255,255,255,.85) !important; /* ✅ fix: white text on dark mobile bg */
    border-bottom: 1px solid rgba(255,255,255,.08); /* ✅ fix: visible separator */
  }

  .nav-dropdown-menu {
    /* Reset all desktop positioning — must not overflow viewport on mobile */
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    /* Show/hide via display, not opacity */
    opacity: 1;
    pointer-events: auto;
    display: none;
    /* Full-width, contained within nav-links panel */
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    /* Visual style — indent with left margin + left border */
    background: rgba(0,40,32,.95);
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 4px solid var(--teal);
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 0 50px;
    padding: 4px 0 4px 20px;
    text-align: left;
  }

  .nav-dropdown-menu.open {
    display: block; /* ✅ fix: JS-controlled open state */
  }

  .nav-dropdown-menu a {
    white-space: normal;
    padding: 13px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-dropdown-menu a:last-child {
    border-bottom: none;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(104,181,165,.15);
    padding-left: 20px;
    color: var(--teal); /* white text → teal on hover */
  }

  .nav-cta {
    margin: 16px 24px;
  }
}

/* ─── Responsive Breakpoints ─── */
@media (max-width: 1200px) {
  .hero-inner {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: calc(100vh - 85px);
    height: calc(100vh - 85px);
  }

  .hero-video-wrap {
    min-height: calc(100vh - 85px);
  }

  .hero-content {
    /* no extra hero padding — .container handles side padding on mobile */
  }

  .hero-inner {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .apart-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile footer: brand full-width, company+services side by side, inquiries full-width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1; /* full width */
  }

  .footer-inquiries-box {
    grid-column: 1 / -1; /* full width */
    padding: 24px;
  }

  .footer-tagline {
    max-width: none;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-row.reverse {
    direction: ltr;
  }

  .service-detail-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-why-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo-text .name-indigenous {
    font-size: 1.05rem; /* mobile: larger — brochure 1.5:1 ratio */
  }
  .nav-logo-text .name-english {
    font-size: 0.7rem; /* mobile: smaller counterpart — maintains ratio */
  }
  .footer-brand-name {
    font-size: 1.1rem; /* mobile: enlarged to match header prominence */
  }
}

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

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══ PROJECT CARD IMAGES ═══ */
.project-image--green {
  background: var(--green-dark);
  height: 200px;
  position: relative;
}
.project-image--teal {
  background: var(--green);
  height: 200px;
  position: relative;
}
.project-sector-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,.35);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.project-card-accent { display: none; }
.project-location {
  font-size: 0.8rem;
  color: var(--mid-grey);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.projects-section { padding: 5rem 0; }

/* ═══ CONTACT EXTRAS ═══ */
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.contact-info-block address { font-style: normal; color: var(--body-text); line-height: 1.6; }
.contact-info-block a { display: block; color: var(--green); text-decoration: none; font-weight: 500; }
.contact-info-block a:hover { color: var(--teal); }

/* Featured block — Project Inquiries */
.contact-info-block--featured {
  margin-bottom: 2.5rem;
}
.contact-info-block--featured h3 {
  color: var(--teal);
}
.contact-info-block--featured a {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.35rem;
}
.contact-info-block--featured a:hover { color: var(--teal); }
.contact-map-placeholder {
  background: var(--grey-light);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}
.map-label { color: var(--mid-grey); font-size: 0.85rem; font-weight: 400; }

/* ═══ CAREERS EXTRAS ═══ */
.position-card {
  border: 1px solid var(--grey-light);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 0;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.position-card:hover { border-color: var(--teal); }
.position-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.position-header h3 { margin-bottom: 0.25rem; font-size: 1.2rem; color: var(--green); }
.position-location { font-size: 0.8rem; color: var(--mid-grey); font-weight: 400; }
.position-type {
  background: var(--grey-light);
  color: var(--body-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.position-card p { color: var(--mid-grey); font-size: 0.9rem; margin-bottom: 1.5rem; }
.position-card .btn { display: inline-block; }
.careers-apply-cta {
  text-align: center;
  padding: 3rem 0 0;
  border-top: 1px solid var(--grey-light);
  margin-top: 2rem;
}
.careers-apply-cta p { color: var(--mid-grey); margin-bottom: 1.5rem; }
.careers-positions { padding: 5rem 0; background: var(--grey-warm); }

/* ═══ TEAM EXTRAS ═══ */
.team-section { padding: 5rem 0; }
.team-info { flex: 1; }
.team-info h3 { color: var(--green); margin-bottom: 0.25rem; }
.team-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.team-info p { font-size: 0.88rem; color: var(--mid-grey); line-height: 1.7; }

/* ═══ PHOTO BAND (replaces Values section on homepage) ═══ */
.photo-band {
  position: relative;
  overflow: hidden;
}
.photo-band-inner {
  /* Placeholder: dark green gradient until real photo is provided */
  background: var(--green-dark);
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
}
.photo-band-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}

/* When a real photo is available, swap in via:
   .photo-band-inner { background-image: url('../assets/photos/field-photo.jpg'); background-size: cover; background-position: center; }
   .photo-band-inner::before { content:''; position:absolute; inset:0; background:rgba(0,52,43,.65); z-index:1; }
*/

/* ══════════════════════════════════════════════════════════════
   PHONE PLACEMENT OPTIONS — Project Inquiries: 778.644.5119
   ══════════════════════════════════════════════════════════════ */

/* ─── Project Inquiries teal box (replaces Option 4 col) ─── */
.footer-inquiries-phone {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.2;
  margin: 0;
}

.footer-inquiries-phone:hover {
  color: var(--green); /* white → teal hover; using green for legibility on teal bg */
}

.footer-inquiries-email {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,.80);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  margin-top: -2px;
}

.footer-inquiries-email:hover {
  color: var(--teal); /* white → teal hover */
}

/* Address blocks inside the teal inquiries column — white text on teal */
.footer-inquiries-box .footer-address-block {
  margin-bottom: 10px;
}

.footer-inquiries-box .footer-address-city {
  color: var(--white);
  opacity: 0.9;
  font-weight: 600;
}

.footer-inquiries-box .footer-address-line {
  color: rgba(255,255,255,.75);
}

.footer-inquiries-box .footer-address-phone {
  color: var(--white);
  font-weight: 600;
}

.footer-inquiries-box .footer-address-phone:hover {
  color: var(--green-dark);
}

/* ─── Option 5: Header Contact Bar ─── */
.contact-bar {
  background: var(--green);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* above site-nav */
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-bar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.90);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-bar-phone {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.contact-bar-phone:hover {
  color: var(--teal-40);
}

.contact-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
}

@media (max-width: 640px) {
  .contact-bar {
    justify-content: center;
    padding: 0 16px;
  }
}



/* ─── Page Hero — Mobile Fixes (Cheryl Aug 12, revised) ─── */
@media (max-width: 768px) {
  /* Shorter than homepage by header-total — leaves visual room for nav menu below hero */
  .page-hero {
    min-height: calc(100vh - var(--header-total));
    height: calc(100vh - var(--header-total));
    padding: calc(var(--header-total) + 80px) 0 100px;
  }

  /* Subtitle text restored — visible on mobile */
  .page-hero p {
    display: block;
    max-width: 100%;
  }

  /* Loon/triangle: boost z-index to match hero-loon-wrap (z-index:2) on homepage */
  .page-hero .loon-motif-wrap {
    z-index: 2;
  }
}

/* ─── Desktop-Only Photo Positioning (Cheryl Aug 2026) ─── */
@media (min-width: 769px) {
  /* Contact hero: shift photo down 100px */
  #contact-hero {
    background-position: center calc(50% + 50px) !important;
  }
}

/* ─── Mobile-Only Photo Positioning (Cheryl Aug 2026) ─── */
@media (max-width: 768px) {
  /* 1. Homepage — Civil Construction card: right-align */
  #home-civil-card-image {
    background-position: right center !important;
  }
  /* 2. About hero — shift photo 150px right on mobile (Cheryl Aug 2026) */
  /* cover + calc(100%+150px): image fills hero height; right side visible, 150px cropped off right edge */
  #about-hero {
    background-size: cover !important;
    background-position: calc(100% + 150px) center !important;
  }
  /* 3. Civil Construction hero — right align (mobile, Cheryl Aug 2026 update) */
  #civil-hero {
    background-position: right center !important;
  }
  /* 6. News index hero — shift 100px right (mobile, Cheryl Sep 2026) */
  #news-index-hero {
    background-size: cover !important;
    background-position: calc(100% + 100px) center !important;
  }
  /* 4. Municipal Infrastructure hero — right-align */
  #municipal-hero {
    background-position: right center !important;
  }
  /* 5. Contact hero — centered (mobile) */
  #contact-hero {
    background-position: center center !important;
  }
}

/* ─── Footer Social Icons ─── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  color: rgba(255,255,255,.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social-link:hover {
  color: var(--teal);
}

/* ─── Link Hover Colour Logic (Cheryl Aug 12) ─── */
/* White text links → teal on hover */
.site-footer a:not(.btn):not(.footer-social-link):hover,
.cta-band a:not(.btn):hover,
.page-hero a:not(.btn):hover {
  color: var(--teal);
}

/* Green text links → teal on hover */
a[style*="color: var(--green)"],
a[style*="color: #00483a"],
a[style*="color: #00493b"] {
  transition: color var(--transition);
}
a[style*="color: var(--green)"]:hover,
a[style*="color: #00483a"]:hover,
a[style*="color: #00493b"]:hover {
  color: var(--teal) !important;
}

/* Teal text links → green on hover */
/* NOTE: .nav-links a is green (not teal) — its hover is handled earlier as green→teal */
.footer-col a:hover {
  color: var(--green);
}
/* .page-hero-eyebrow is non-clickable text — no hover state */

/* General: any anchor whose inherited colour is teal → green on hover */
a.teal-link:hover { color: var(--green); }

/* Utility classes for explicit hover overrides */
a.hover-teal:hover { color: var(--teal) !important; }
a.hover-green:hover { color: var(--green) !important; }

/* ─── Hyperlink Styling (Cheryl Aug 12) ─── */
/* Default: no underline, no bold — hover colour only (handled per-context above) */
/* Bold exception: specific named partner links on /about */
a.link-bold {
  font-weight: 700;
  color: var(--green);
}
a.link-bold:hover {
  color: var(--teal);
}

/* ─── Body Copy Link Hover (Cheryl Aug 12) ─── */
/* Black/dark text links in body content → teal on hover */
.about-story a:not(.btn):hover,
.about-values a:not(.btn):hover,
.service-detail a:not(.btn):hover,
.service-content a:not(.btn):hover,
.project-content a:not(.btn):hover,
.careers-content a:not(.btn):hover,
.contact-content a:not(.btn):hover,
.page-content a:not(.btn):hover,
article a:not(.btn):hover,
p a:not(.btn):hover {
  color: var(--teal);
}

/* ─── Partnership Structure Section (About page) ─── */
.partnership-section {
  padding: 80px 0;
  background: white;
}
.partnership-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #034534;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.partnership-item {
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}
.partnership-item:last-child { border-bottom: none; }
.partnership-marker {
  font-size: 48px;
  color: #00a99d;
  margin-bottom: 24px;
  line-height: 1;
}
.partnership-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #034534;
  margin-bottom: 12px;
  line-height: 1.3;
}
.partnership-item p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* ─── Stats Section (About page) ─── */
.stats-section {
  background: #00493b;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #00a99d;
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .partnership-section { padding: 60px 0; }
  .partnership-section h2 { font-size: 28px; margin-bottom: 40px; }
  .partnership-grid { padding: 0 20px; gap: 30px; }
  .partnership-marker { font-size: 32px; margin-bottom: 12px; }
  .partnership-item h3 { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number { font-size: 36px; }
  .stat-label { font-size: 12px; }
  .caps-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 32px; }
}

/* ─── Mobile hero overlay: solid tint (no gradient) ─── */
@media (max-width: 768px) {
  .hero-overlay,
  .page-hero::before {
    background: rgba(35,31,32,0.575);
  }
  /* Inner pages: height = 100vh minus full header (contact bar + nav) — loon visible, room for menu */
  .page-hero {
    min-height: calc(100vh - var(--header-total));
    height: calc(100vh - var(--header-total));
  }
}

/* ── Active nav state (current page indicator) ─────────────────────── */
/* Top-level link: bright teal, underline */
.nav-links > li > a.nav-active {
  color: var(--teal) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Services toggle button when a sub-page is active */
.nav-dropdown-toggle.nav-active-parent {
  color: var(--teal) !important;
}

/* Dropdown link: active service page — bright teal text + strong left border */
.nav-dropdown-menu a.nav-dropdown-active {
  color: var(--teal) !important;
  background: rgba(104,181,165,0.22) !important;
  border-left: 3px solid var(--teal);
  padding-left: 19px; /* compensate for 3px border */
  font-weight: 700 !important;
}

/* Mobile: same treatment */
@media (max-width: 768px) {
  .nav-links > li > a.nav-active {
    color: var(--teal) !important;
  }
  .nav-dropdown-menu a.nav-dropdown-active {
    color: var(--teal) !important;
    background: rgba(104,181,165,0.22) !important;
    font-weight: 700 !important;
  }
}
