:root {
  color-scheme: light;
  --bg: #f4f5f6;
  --surface: #ffffff;
  --surface-alt: #eef1f3;
  --text: #171b1f;
  --muted: #5c6670;
  --divider: rgba(23,27,31,0.1);
  --shadow: 0 18px 45px rgba(23,27,31,0.07);
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1240px;

  --navy: #161d27;
  --navy-800: #1d2735;
  --navy-700: #263243;
  --navy-text: #f5f6f7;
  --navy-muted: rgba(245,246,247,0.68);
  --navy-divider: rgba(245,246,247,0.12);

  --accent: #e07c34;
  --accent-dark: #c2631f;
  --accent-tint: rgba(224,124,52,0.12);
  --accent-tint-strong: rgba(224,124,52,0.2);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.typewriter {
  visibility: hidden;
}

.typewriter.typewriter-active {
  visibility: visible;
}

.typewriter.typewriter-active::after {
  content: "";
  display: inline-block;
  width: .06em;
  margin-left: .06em;
  height: .82em;
  background: currentColor;
  vertical-align: -.05em;
  animation: typewriter-blink 1s step-end infinite;
}

@keyframes typewriter-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

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

button {
  font: inherit;
}

ul {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
}

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: hidden;
  background: linear-gradient(180deg, #1b2431, var(--navy));
  box-shadow: inset 0 1px 0 rgba(245,246,247,.08), 0 1px 0 var(--navy-divider);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('logo.png');
  background-repeat: no-repeat;
  background-position: right -40px center;
  background-size: 220px;
  opacity: .05;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  width: 100%;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--navy-text);
}

.brand img,
.brand-footer img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 600;
}

.nav-links a,
.mobile-menu a {
  color: var(--navy-muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.mobile-menu a:hover,
.nav-links a.active,
.mobile-menu a.active {
  color: var(--navy-text);
  border-bottom-color: var(--accent);
}

.phone-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.3;
}

.phone-block .label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-muted);
}

.phone-block a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy-text);
}

.phone-icon-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(224,124,52,.35);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy-text);
  font-size: 1.15rem;
  cursor: pointer;
}

.mobile-menu {
  position: relative;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
  font-weight: 600;
  border-top: 1px solid var(--navy-divider);
}

.mobile-menu.visible {
  display: flex;
}

/* ---------- Dark hero band (used on every page) ---------- */

.hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--navy-text);
  padding: 100px 24px 70px;
}

.hero-dark.has-photo {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding-top: 90px;
  padding-bottom: 110px;
}

.hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  filter: brightness(.68) saturate(1.15) contrast(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ---------- Scroll reveal ---------- */

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: revealUp .7s cubic-bezier(.16,.8,.3,1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
  }
  .reveal.is-visible {
    animation: none;
  }
}

.hero-dark.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,29,39,.4), rgba(22,29,39,.94) 82%);
}

.hero-dark .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-dark.has-photo .hero-inner {
  max-width: 780px;
  margin: 0 auto 0 0;
  padding: 0 24px;
  width: auto;
}

.hero-dark.has-photo .hero-inner.hero-pagehead {
  max-width: 820px;
  margin: 0 auto;
}

.hero-pagehead {
  text-align: center;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-top-row .hero-tag,
.hero-top-row .hero-badges {
  margin-bottom: 0;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-pagehead .hero-badges {
  justify-content: center;
}

.hero-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--navy-divider);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--navy-divider);
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .04em;
  margin-bottom: 20px;
}

.section-label {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid rgba(224,124,52,.28);
  background: var(--accent-tint);
  border-radius: 999px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-label.on-dark {
  border-color: var(--navy-divider);
  background: rgba(224,124,52,.16);
}

.hero-dark h1 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 800;
}

#hero-title {
  min-height: 3.3em;
}

.hero-pagehead h1 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-dark .eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 1rem;
  margin-top: 18px;
}

.hero-dark p.lede {
  font-size: 1.06rem;
  max-width: 42rem;
  opacity: .82;
  margin: 20px 0 32px;
}

.hero-pagehead p.lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-pagehead .hero-actions {
  justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .92rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

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

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(245,246,247,.35);
  color: var(--navy-text);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--divider);
  color: var(--text);
}

/* ---------- Overlap expertise card (home) ---------- */

.overlap-wrap {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.overlap-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23,27,31,.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overlap-card .overlap-item {
  padding: 32px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid var(--divider);
}

.overlap-card .overlap-item:last-child {
  border-right: none;
}

.overlap-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.overlap-item p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Icon badges ---------- */

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-badge.on-dark {
  background: rgba(224,124,52,.16);
}

/* ---------- Sections ---------- */

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

.section-block.tight {
  padding-top: 0;
}

.section-block.on-dark {
  max-width: none;
  background: var(--navy);
  color: var(--navy-text);
}

.section-block.on-dark .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.centered {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 800;
}

.section-heading p {
  max-width: 42rem;
  color: var(--muted);
  margin-top: 14px;
}

.on-dark .section-heading p {
  color: var(--navy-muted);
}

.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-head-row .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--accent);
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.three-col,
.services-grid,
.project-grid,
.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-grid {
  align-items: start;
}

.image-stack {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  height: 460px;
}

.image-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack .image-card {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}

.image-card img,
.project-card img,
.gallery-item img,
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.image-card:hover img {
  transform: scale(1.06);
}

.years-badge {
  position: absolute;
  right: 20px;
  bottom: -22px;
  z-index: 2;
  background: var(--navy);
  color: var(--navy-text);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(23,27,31,.25);
  text-align: center;
  line-height: 1.15;
}

.years-badge strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}

.years-badge span {
  display: block;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--navy-muted);
  max-width: 11ch;
}

.tint-band {
  background: var(--surface-alt);
}

/* ---------- Stats / milestones ---------- */

.stats-section {
  padding: 56px 24px;
}

.stat-card {
  padding: 30px 24px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224,124,52,.3);
  box-shadow: 0 20px 40px rgba(23,27,31,.12);
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--accent);
  font-weight: 800;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stats-section.on-dark .stat-card {
  background: var(--navy-800);
  border-color: var(--navy-divider);
  box-shadow: none;
}

.stats-section.on-dark .stat-card p {
  color: var(--navy-muted);
}

/* ---------- Service / dark cards ---------- */

.card-dark {
  position: relative;
  background: var(--navy-800);
  border: 1px solid var(--navy-divider);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.card-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.card-dark:hover {
  transform: translateY(-6px);
  border-color: rgba(224,124,52,.35);
  background: var(--navy-700);
  box-shadow: 0 24px 45px rgba(0,0,0,.35);
}

.card-dark:hover::before {
  transform: scaleX(1);
}

.card-dark:hover .icon-badge.on-dark {
  background: var(--accent);
  color: #fff;
}

.card-dark h3 {
  margin: 18px 0 10px;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.card-dark p {
  margin: 0 0 14px;
  color: var(--navy-muted);
  font-size: .92rem;
}

.card-dark ul {
  padding-left: 18px;
  margin: 0;
  color: var(--navy-muted);
  font-size: .88rem;
  display: grid;
  gap: 6px;
}

.icon-badge {
  transition: background .25s ease, color .25s ease;
}

.center-cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Light cards (services/projects) ---------- */

.service-card,
.project-card,
.info-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card {
  padding: 28px 24px;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 1.08rem;
}

.service-card p,
.project-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.project-card {
  padding: 0;
}

.project-card .project-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card .project-body {
  padding: 20px;
}

.project-card .project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-card h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.tag.outline {
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--muted);
}

/* ---------- Service detail rows (services.html) ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail .detail-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail .detail-photo img {
  transition: transform .5s ease;
}

.service-detail:hover .detail-photo img {
  transform: scale(1.06);
}

.service-detail.reverse .detail-photo {
  order: 2;
}

.detail-copy {
  position: relative;
}

.detail-bignum {
  position: absolute;
  top: -34px;
  right: 0;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-tint);
  z-index: 0;
  user-select: none;
}

.detail-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.service-detail .detail-num {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .85rem;
  text-transform: uppercase;
}

.service-detail h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 10px 0 14px;
}

.service-detail p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  margin: 0;
}

/* ---------- Leadership avatars ---------- */

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

.leader-card {
  text-align: center;
  padding: 28px 26px 30px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224,124,52,.3);
  box-shadow: 0 20px 40px rgba(23,27,31,.12);
}

.avatar-initials {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  letter-spacing: .02em;
  transition: transform .25s ease;
}

.leader-card:hover .avatar-initials {
  transform: scale(1.08);
}

.avatar-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 0 18px;
  transition: transform .4s ease;
}

.leader-card:hover .avatar-photo {
  transform: scale(1.04);
}

.why-card {
  text-align: center;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224,124,52,.3);
  box-shadow: 0 20px 40px rgba(23,27,31,.12);
}

.why-card .icon-badge {
  margin: 0 auto 16px;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: .98rem;
}

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

.leader-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.leader-card p,
.leader-role {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.leader-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.leader-bio {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
}

.leader-bio .icon-badge {
  width: 38px;
  height: 38px;
  min-width: 38px;
}

.leader-bio p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

/* ---------- Masonry gallery ---------- */

.masonry-grid {
  column-count: 4;
  column-gap: 20px;
}

.masonry-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: block;
  width: 100%;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,29,39,.6));
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(22,29,39,.55);
  color: var(--navy-text);
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-item:hover .tag {
  opacity: 1;
}

/* ---------- Contact ---------- */

.contact-grid {
  grid-template-columns: 1.1fr .9fr;
}

.info-card {
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.info-card h3 {
  margin: 0 0 4px;
  font-size: .98rem;
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.form-card h3 {
  margin: 0;
}

.form-card label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: .95rem;
}

.form-card label:has(textarea) {
  flex: 1;
}

.form-card label:has(textarea) textarea {
  height: 100%;
  min-height: 140px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  resize: none;
}

.form-note {
  margin: 0;
  color: var(--accent-dark);
  font-size: .92rem;
}

/* ---------- CTA band ---------- */

.cta-section {
  background: var(--navy);
  color: var(--navy-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 24px;
}

.cta-section .cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
}

.cta-copy p {
  margin: 0;
  color: var(--navy-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--navy-text);
  padding: 36px 24px 20px;
}

.footer-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 340px;
  height: 340px;
  opacity: .06;
  transform: rotate(-8deg);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner > div:first-child {
  max-width: 360px;
}

.brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 14px;
  font-weight: 800;
}

.footer-inner p {
  color: var(--navy-muted);
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-links div {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--navy-muted);
}

.footer-links a:hover {
  color: var(--navy-text);
}

.footer-label {
  color: var(--accent);
  margin: 0;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--navy-divider);
  color: var(--navy-muted);
  font-size: .85rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 45px rgba(23,27,31,.25);
  z-index: 20;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,17,18,.95);
  padding: 24px;
  display: grid;
  place-items: center;
  gap: 18px;
  z-index: 40;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  border-radius: 20px;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(245,246,247,.14);
  color: var(--navy-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-nav.prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox p {
  margin: 0;
  color: rgba(245,246,247,.75);
  max-width: 90vw;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .stats-grid,
  .four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masonry-grid {
    column-count: 3;
  }

  .services-grid,
  .project-grid,
  .featured-grid,
  .three-col,
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .overlap-card .overlap-item {
    border-right: none;
    border-bottom: 1px solid var(--divider);
  }

  .overlap-card .overlap-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .phone-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section-block,
  .cta-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .two-col,
  .about-grid,
  .contact-grid,
  .services-grid,
  .project-grid,
  .featured-grid,
  .three-col,
  .leadership-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .detail-photo {
    order: 0;
  }

  .masonry-grid {
    column-count: 2;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-inner .btn {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    padding: 14px 16px;
  }

  .hero-dark {
    padding: 90px 16px 60px;
  }

  .overlap-wrap {
    padding: 0 16px;
    margin-top: 40px;
  }

  .masonry-grid {
    column-count: 1;
  }

  .stats-grid,
  .four-col {
    grid-template-columns: 1fr;
  }
}
