﻿:root {
  --navy: #081a2c;
  --ink: #111827;
  --charcoal: #26313b;
  --steel: #607080;
  --line: #d7dde3;
  --mist: #f3f6f8;
  --white: #ffffff;
  --gold: #c9a45d;
  --blue: #2b74a8;
  --shadow: 0 24px 70px rgba(8, 26, 44, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 253, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(215, 221, 227, 0.9);
  box-shadow: 0 14px 40px rgba(8, 26, 44, 0.08);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 34px;
  padding: 7px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, #071420, var(--navy));
  color: #dfe7ed;
  font-size: 12px;
}
.utility-bar span {
  margin-right: auto;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  padding: 14px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(243,246,248,0.94)),
    radial-gradient(circle at 22% 0%, rgba(201,164,93,0.14), transparent 34%);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(280px, 24vw, 390px);
  min-width: 280px;
  padding: 13px 18px 12px;
  background: var(--white);
  border: 1px solid rgba(215, 221, 227, 0.95);
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(8, 26, 44, 0.1);
}
.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.1vw, 16px);
  font-size: 12px;
  font-weight: 700;
}
.nav-links a {
  color: var(--charcoal);
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-color: var(--gold); }
.nav-links .nav-cta {
  padding: 13px 18px;
  background: var(--navy);
  color: var(--white);
  border: 0;
  box-shadow: 0 12px 28px rgba(8, 26, 44, 0.2);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-content {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto 120px;
  position: relative;
  z-index: 2;
}
.hero h1, .page-hero h1 {
  margin: 0;
  max-width: 970px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero p { max-width: 720px; font-size: 20px; color: #dbe6ef; }
.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    linear-gradient(90deg, rgba(8, 26, 44, 0.94), rgba(8, 26, 44, 0.52)),
    linear-gradient(135deg, #20384c, #0f2538 55%, #0a1624);
}
.technical-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 24%, black 74%, transparent);
}
.photo-slate {
  position: absolute;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(201,164,93,0.22), rgba(43,116,168,0.28)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 14px);
}
.photo-slate {
  overflow: hidden;
}

.photo-slate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.photo-slate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,26,44,0.02), rgba(8,26,44,0.38));
  pointer-events: none;
}
.photo-slate-one { right: 6vw; top: 130px; width: min(42vw, 620px); height: 360px; }
.photo-slate-two { right: 18vw; bottom: 82px; width: 360px; height: 230px; }
.hero-proof {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-proof span { padding-top: 18px; color: #e7edf2; font-weight: 700; font-size: 13px; }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.button.primary { background: var(--gold); color: var(--navy); }
.button.secondary { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.35); }
.button.dark { background: var(--navy); color: var(--white); }

.section { padding: 96px clamp(18px, 4vw, 56px); }
.section-label, .eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) 1fr;
  gap: clamp(36px, 7vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
}
h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0 0 10px; line-height: 1.16; }
.prose p { margin: 0 0 18px; color: #3c4854; font-size: 17px; }
.section-heading { max-width: 900px; margin: 0 auto 40px; }
.section-heading h2 { margin-top: 8px; }

.dark-section {
  background: var(--navy);
  color: var(--white);
}
.service-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.home-service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card {
  min-height: 250px;
  padding: 24px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 220ms ease, background 220ms ease;
}
.service-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.service-card p { color: #c9d5df; margin-bottom: 0; font-size: 14px; }
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  background: rgba(201,164,93,0.16);
  color: var(--gold);
  font-weight: 800;
  border: 1px solid rgba(201,164,93,0.4);
}

.filter-bar {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
  color: var(--charcoal);
  font-weight: 700;
  cursor: pointer;
}
.filter-button.active, .filter-button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.project-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(8, 26, 44, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project-image, .image-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255,255,255,0.82);
  background:
    linear-gradient(135deg, rgba(8,26,44,0.88), rgba(43,116,168,0.62)),
    repeating-linear-gradient(120deg, #394857 0 1px, #526270 1px 12px);
}
.media-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.media-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,26,44,0.06), rgba(8,26,44,0.46));
  opacity: 0;
  transition: opacity 180ms ease;
}
.media-image.image-loaded::after { opacity: 1; }
.media-image.image-loaded .missing-note { display: none; }
.missing-note {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
}
.image-tag { z-index: 3; }
.project-copy { padding: 24px; }
.project-copy span { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.project-copy p { color: #4b5865; margin-bottom: 0; }
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}
.text-link:hover { color: var(--blue); }

.section-action {
  max-width: 1180px;
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
}

.work-map-section {
  background:
    linear-gradient(180deg, var(--white), #f6f8fa);
}
.work-map-card {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.beach-map-card {
  max-width: 980px;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(135deg, rgba(8,26,44,0.08), rgba(43,116,168,0.12)),
    var(--white);
}
.beach-map-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: #75cfd5;
  border: 1px solid rgba(8, 26, 44, 0.12);
}
.beach-map-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.map-title-mask {
  position: absolute;
  right: 1.4%;
  bottom: 1.35%;
  width: 49.5%;
  height: 14.8%;
  z-index: 2;
  background:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(135deg, #72d7dc, #63c8cf);
  box-shadow: 0 0 28px rgba(99, 200, 207, 0.75);
}
.map-work-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  z-index: 3;
  transform: translate(-50%, -50%);
  border: clamp(3px, 0.45vw, 5px) solid var(--gold);
  border-radius: 999px;
  background: rgba(201, 164, 93, 0.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.86),
    0 14px 30px rgba(8, 26, 44, 0.2);
}
.map-work-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--navy);
  border: 2px solid var(--white);
}
.map-callout {
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  z-index: 4;
  width: var(--label-w);
  padding: 8px 10px;
  color: var(--white);
  background: rgba(8, 26, 44, 0.88);
  border-left: 3px solid var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 10px 24px rgba(8, 26, 44, 0.18);
}
.map-callout::before {
  content: "";
  position: absolute;
  left: var(--line-left, auto);
  right: var(--line-right, auto);
  top: var(--line-top, 50%);
  width: var(--line-w);
  height: 1.5px;
  background: rgba(8, 26, 44, 0.52);
  transform: rotate(var(--line-rotate));
  transform-origin: var(--line-origin, left center);
}
.marker-myrtle {
  --x: 83.2%;
  --y: 14.9%;
  --size: clamp(58px, 8.4vw, 84px);
}
.callout-myrtle {
  --label-x: 69.5%;
  --label-y: 10.2%;
  --label-w: 126px;
  --line-left: 100%;
  --line-top: 52%;
  --line-w: 70px;
  --line-rotate: -6deg;
}
.marker-wild-dunes {
  --x: 48.9%;
  --y: 64.7%;
  --size: clamp(48px, 6.6vw, 66px);
}
.callout-wild-dunes {
  --label-x: 54.5%;
  --label-y: 60.8%;
  --label-w: 180px;
  --line-left: -58px;
  --line-top: 58%;
  --line-w: 70px;
  --line-rotate: 15deg;
}
.marker-mount-pleasant {
  --x: 41.8%;
  --y: 62.7%;
  --size: clamp(42px, 6vw, 58px);
}
.callout-mount-pleasant {
  --label-x: 48.8%;
  --label-y: 54.8%;
  --label-w: 126px;
  --line-left: -70px;
  --line-top: 82%;
  --line-w: 82px;
  --line-rotate: 38deg;
}
.marker-downtown {
  --x: 36.3%;
  --y: 65.8%;
  --size: clamp(42px, 6vw, 60px);
}
.callout-downtown {
  --label-x: 17.5%;
  --label-y: 62.8%;
  --label-w: 152px;
  --line-left: 100%;
  --line-top: 50%;
  --line-w: 84px;
  --line-rotate: 5deg;
}
.marker-kiawah {
  --x: 28.8%;
  --y: 78.2%;
  --size: clamp(44px, 6.6vw, 64px);
}
.callout-kiawah {
  --label-x: 39.5%;
  --label-y: 76%;
  --label-w: 118px;
  --line-left: -76px;
  --line-top: 55%;
  --line-w: 88px;
  --line-rotate: -8deg;
}
.marker-seabrook {
  --x: 25%;
  --y: 81.8%;
  --size: clamp(44px, 6.4vw, 62px);
}
.callout-seabrook {
  --label-x: 34%;
  --label-y: 83.8%;
  --label-w: 128px;
  --line-left: -86px;
  --line-top: 18%;
  --line-w: 98px;
  --line-rotate: -15deg;
}
.charleston-map {
  width: 100%;
  height: auto;
  display: block;
}
.coastal-map-card {
  background: #dfeaf0;
}
.map-depth {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
}
.depth-two { opacity: 0.72; }
.depth-three { opacity: 0.5; }
.map-coast-shadow {
  fill: rgba(8, 26, 44, 0.12);
  transform: translate(14px, 12px);
}
.map-coast {
  fill: url(#landGradient);
  stroke: rgba(96, 112, 128, 0.34);
  stroke-width: 2;
}
.map-marsh {
  fill: none;
  stroke: rgba(201, 164, 93, 0.28);
  stroke-width: 8;
  stroke-linecap: round;
}
.map-route {
  fill: none;
  stroke: rgba(8, 26, 44, 0.32);
  stroke-width: 5;
  stroke-dasharray: 2 14;
  stroke-linecap: round;
}
.map-harbor {
  fill: rgba(43, 116, 168, 0.24);
  stroke: rgba(43, 116, 168, 0.35);
  stroke-width: 2;
}
.map-barrier {
  fill: #f3ead2;
  stroke: rgba(201, 164, 93, 0.38);
  stroke-width: 2;
}
.map-land {
  fill: #f8fafb;
  stroke: rgba(96, 112, 128, 0.32);
  stroke-width: 2;
}
.map-mainland { fill: #f2f5f7; }
.map-mount-pleasant { fill: #eef3f5; }
.map-peninsula { fill: #dfe6ea; }
.map-kiawah, .map-iop { fill: #f4f1e8; }
.map-water-line {
  fill: none;
  stroke: rgba(43, 116, 168, 0.38);
  stroke-width: 16;
  stroke-linecap: round;
}
.map-road {
  fill: none;
  stroke: rgba(96, 112, 128, 0.4);
  stroke-width: 4;
  stroke-dasharray: 10 12;
}
.map-region-label,
.map-water-label {
  font-size: 18px;
  font-weight: 800;
  fill: rgba(38, 49, 59, 0.52);
}
.coast-label {
  font-size: 22px;
  fill: rgba(8, 26, 44, 0.42);
}
.map-water-label {
  fill: rgba(43, 116, 168, 0.46);
}
.ocean-label {
  font-size: 32px;
  letter-spacing: 3px;
  text-transform: uppercase;
  fill: rgba(43, 116, 168, 0.28);
}
.harbor-label {
  font-size: 14px;
}
.map-ring {
  fill: rgba(201, 164, 93, 0.12);
  stroke: var(--gold);
  stroke-width: 4;
  filter: drop-shadow(0 10px 18px rgba(8, 26, 44, 0.16));
}
.map-ring.large { stroke-width: 5; }
.map-ring.small { stroke-width: 3; }
.map-dot {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 3;
}
.map-leader {
  stroke: rgba(8, 26, 44, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
.map-label {
  min-height: 42px;
  padding: 9px 11px;
  color: var(--navy);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(215, 221, 227, 0.95);
  border-left: 3px solid var(--gold);
  box-shadow: 0 10px 22px rgba(8, 26, 44, 0.1);
}
.map-label-right {
  text-align: right;
  border-right: 3px solid var(--gold);
  border-left: 1px solid rgba(215, 221, 227, 0.95);
}
.map-label strong,
.map-label span {
  display: block;
}
.map-label strong {
  font-size: 13px;
  line-height: 1.15;
}
.map-label span {
  margin-top: 4px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
}
.map-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 13px;
}
.map-note span {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.map-note p {
  margin: 0;
}
.beach-map-card .map-note {
  min-width: 0;
}

.case-study-gallery {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.case-image {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(8, 26, 44, 0.08);
}
.image-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case-image:first-child {
  grid-row: span 2;
  min-height: 740px;
}
.before-after-section {
  background: var(--white);
}
.before-after-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.comparison-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(8, 26, 44, 0.08);
}
.comparison-card .case-image {
  min-height: 430px;
  box-shadow: none;
  border: 0;
}
.comparison-copy {
  padding: 22px;
}
.comparison-copy h3 {
  margin-bottom: 8px;
}
.comparison-copy p {
  margin: 0;
  color: #4b5865;
}
.gallery-wide {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-wide .case-image:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-wide .case-image {
  min-height: 300px;
}

.technical-section { background: var(--mist); }
.technical-showcase {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.drawing-panel {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: #fbfcfd;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.drawing-panel span {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.drawing-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(43,116,168,0.5) 50%, transparent 50.5%),
    linear-gradient(rgba(8,26,44,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,26,44,0.08) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}
.drawing-lines::before, .drawing-lines::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(8,26,44,0.5);
}
.drawing-lines::before { width: 58%; height: 48%; left: 15%; top: 22%; }
.drawing-lines::after { width: 34%; height: 26%; right: 12%; bottom: 15%; transform: rotate(-10deg); }
.drawing-photo-panel {
  padding: 58px 24px 24px;
}
.detail-image-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-image-grid figure {
  min-height: 385px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(8, 26, 44, 0.08);
}
.detail-image-grid img {
  object-fit: contain;
  background: #f8fafb;
  padding: 16px;
}
.detail-image-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 7px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.technical-list {
  padding: 40px;
  background: var(--navy);
  color: var(--white);
}
.check-list { padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li { padding: 12px 0 12px 28px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; }
.check-list li::before { content: ""; width: 9px; height: 9px; background: var(--gold); position: absolute; left: 2px; top: 21px; }

.technical-assets-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.asset-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(8, 26, 44, 0.08);
  overflow: hidden;
}
.asset-card:nth-child(1),
.asset-card:nth-child(2) {
  grid-column: span 2;
}
.asset-image {
  min-height: 290px;
}
.asset-copy {
  padding: 22px;
}
.asset-copy p {
  margin: 0;
  color: #4b5865;
}
.document-asset {
  background: var(--navy);
  color: var(--white);
}
.plan-preview {
  min-height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(201,164,93,0.16), rgba(43,116,168,0.13)),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.plan-preview span {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}
.plan-preview p {
  color: #d7e0e8;
  margin: 0;
}
.plan-preview .text-link {
  color: var(--white);
}

.split-band { background: linear-gradient(90deg, var(--white) 0 50%, var(--mist) 50% 100%); }
.reason-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reason { background: var(--white); padding: 30px; min-height: 210px; }
.reason p { color: #4b5865; margin: 0; }

.industry-row {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industry-row span {
  padding: 14px 18px;
  background: var(--mist);
  border-left: 3px solid var(--gold);
  font-weight: 800;
}

.process-section { background: var(--charcoal); color: var(--white); }
.process-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.process-step {
  padding: 24px;
  border-left: 1px solid rgba(255,255,255,0.14);
  min-height: 260px;
}
.process-step span { color: var(--gold); font-weight: 800; }
.process-step p { color: #d7e0e8; font-size: 14px; }

.testimonial-band {
  padding: 86px clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: var(--white);
}
.testimonial-band > div { max-width: 960px; margin: 0 auto; }
.quote { font-size: clamp(28px, 4vw, 48px); line-height: 1.12; margin: 0 0 20px; }

.contact-preview { background: var(--mist); }
.contact-panel {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.compact-contact {
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
.cta-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-details { display: grid; gap: 10px; margin-top: 24px; color: var(--blue); font-weight: 800; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; color: var(--charcoal); font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.form-note,
.photo-email-note {
  margin: 0;
  color: #4b5865;
  font-size: 14px;
  font-weight: 700;
}
.form-note a,
.photo-email-note a {
  color: var(--blue);
  font-weight: 900;
}
.map-placeholder {
  max-width: 1180px;
  min-height: 240px;
  margin: 28px auto 0;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(8,26,44,0.08), rgba(43,116,168,0.12)),
    repeating-linear-gradient(45deg, #dde5eb 0 1px, transparent 1px 16px);
  border: 1px solid var(--line);
  color: var(--steel);
  font-weight: 800;
}

.page-hero {
  padding: 140px clamp(18px, 4vw, 56px) 90px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8,26,44,0.95), rgba(8,26,44,0.62)),
    linear-gradient(135deg, #21394d, #071827);
}
.page-hero-content { max-width: 1180px; margin: 0 auto; }
.page-hero p { max-width: 760px; color: #dce5ed; font-size: 19px; }
.content-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.content-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}
.content-card p { color: #4b5865; }
.wide-card { grid-column: span 2; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.services-list-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.services-detail-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.service-detail-card {
  overflow: hidden;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid #dce4eb;
  border-top: 7px solid var(--mca-blue, #1f6f9f);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(8, 26, 44, 0.12);
}

.service-detail-card-wide {
  grid-column: auto;
  max-width: none;
  justify-self: stretch;
}

.service-card-media {
  position: relative;
  height: 205px;
  margin: 0;
  overflow: hidden;
  background: #dfe7ee;
}

.service-detail-card-wide .service-card-media {
  height: 205px;
}

.service-detail-card h3 {
  margin: 22px 26px 12px;
  color: #0d1b2a;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.08;
}

.service-icon-list {
  margin: 0;
  padding: 0 26px 28px;
  list-style: none;
}

.service-icon-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  color: #10243a;
  font-size: 15px;
  line-height: 1.35;
  border-top: 1px solid #dce4eb;
}

.service-icon-list li:first-child {
  border-top: 0;
}

.service-icon-list small {
  display: block;
  margin-top: 6px;
  color: #435366;
  font-size: 12px;
  line-height: 1.45;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #08213a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.structural-icon-list {
  display: block;
}

@media (max-width: 900px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-card-wide {
    max-width: none;
  }

  .structural-icon-list {
    display: block;
  }
}

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

@media (max-width: 560px) {
  .service-card-media,
  .service-detail-card-wide .service-card-media {
    height: 220px;
  }

  .service-detail-card h3 {
    margin: 24px 24px 14px;
    font-size: 28px;
  }

  .service-icon-list {
    padding: 0 24px 26px;
  }

  .service-icon-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    font-size: 16px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .service-icon svg {
    width: 27px;
    height: 27px;
  }
}

.site-footer {
  background: #071420;
  color: #d6e0e9;
  padding: 70px clamp(18px, 4vw, 56px) 24px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 38px;
}
.footer-grid h2, .footer-grid h3 { color: var(--white); }
.footer-grid a { display: block; color: #d6e0e9; margin: 9px 0; }
.footer-bottom {
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #9daebc;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1320px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 10px 14px;
    font-weight: 800;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px clamp(18px, 4vw, 56px) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(8, 26, 44, 0.12);
  }
  .nav-links.open { display: flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .home-service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .utility-bar { display: none; }
  .site-header { box-shadow: 0 10px 28px rgba(8, 26, 44, 0.12); }
  .navbar {
    min-height: 82px;
    padding: 10px 14px;
    gap: 10px;
  }
  .brand {
    width: min(58vw, 220px);
    min-width: 178px;
    padding: 9px 11px;
    border-left-width: 3px;
  }
  .nav-toggle {
    min-height: 44px;
    padding: 0 13px;
  }
  .nav-links {
    max-height: calc(100vh - 82px);
    overflow: auto;
    padding: 16px 18px 22px;
  }
  .nav-links a {
    width: 100%;
    padding: 13px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }
  .hero {
    min-height: calc(100vh - 82px);
    align-items: end;
  }
  .hero-content {
    width: calc(100% - 32px);
    margin-bottom: 136px;
  }
  .hero h1, .page-hero h1 {
    font-size: clamp(38px, 14vw, 56px);
    line-height: 0.98;
  }
  .hero p { font-size: 16px; }
  .button-row { gap: 10px; }
  .button {
    width: 100%;
    min-height: 48px;
  }
  
.photo-slate-one { width: 78vw; height: 260px; right: -18vw; top: 110px; }
  .photo-slate-two { display: none; }
  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    bottom: 18px;
  }
  .hero-proof span {
    padding-top: 12px;
    font-size: 12px;
  }
  .two-column, .technical-showcase, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .service-grid, .project-grid, .reason-grid, .process-grid, .content-grid { grid-template-columns: 1fr; }
  .technical-assets-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-card:nth-child(1),
  .asset-card:nth-child(2) { grid-column: span 1; }
  .case-study-gallery { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-template-columns: 1fr; }
  .gallery-wide .case-image:first-child { grid-column: auto; grid-row: auto; }
  .case-image:first-child { min-height: 420px; }
  .wide-card { grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .section { padding: 64px 18px; }
  .page-hero { padding: 86px 18px 58px; }
  .page-hero p { font-size: 16px; }
  h2 { font-size: clamp(30px, 10vw, 42px); }
  .section-heading { margin-bottom: 28px; }
  .service-card {
    min-height: 0;
    padding: 22px;
  }
  .card-icon { margin-bottom: 24px; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .filter-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .project-image,
  .image-placeholder { min-height: 230px; }
  .technical-assets-grid { grid-template-columns: 1fr; }
  .asset-image { min-height: 240px; }
  .plan-preview { min-height: 260px; }
  .project-copy { padding: 20px; }
  .case-image,
  .comparison-card .case-image { min-height: 320px; }
  .technical-list { padding: 28px; }
  .drawing-panel { min-height: 340px; }
  .detail-image-grid { grid-template-columns: 1fr; }
  .detail-image-grid figure { min-height: 280px; }
  .process-step {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .quote { font-size: 28px; }
  .work-map-card {
    overflow-x: auto;
  }
  .charleston-map {
    min-width: 920px;
  }
  .map-note {
    min-width: 920px;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand {
    width: 176px;
    min-width: 176px;
  }
  .hero h1, .page-hero h1 { font-size: 40px; }
  .hero-content { margin-bottom: 128px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof span:nth-child(n+3) { display: none; }
}



/* MCA 2026 clean professional refresh */
:root {
  --mca-blue: #1f6f9f;
  --mca-blue-dark: #174f75;
  --soft-gray: #f6f8fa;
  --card-border: #e4e9ee;
}

body { background: #ffffff; color: #17212b; }

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(215, 221, 227, 0.95);
  box-shadow: 0 10px 30px rgba(8, 26, 44, 0.08);
  backdrop-filter: none;
}

.utility-bar {
  min-height: 36px;
  background: #ffffff;
  color: #536170;
  border-bottom: 1px solid var(--card-border);
  font-size: 13px;
}

.utility-bar span { color: var(--mca-blue-dark); letter-spacing: 0.5px; }
.utility-bar a:hover { color: var(--mca-blue); }

.navbar {
  min-height: 102px;
  background: #ffffff;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: clamp(18px, 2.3vw, 38px);
}

.brand {
  width: clamp(250px, 22vw, 350px);
  min-width: 250px;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-left: 0;
  box-shadow: none;
}

.brand img { width: 100%; max-height: 76px; object-fit: contain; }

.nav-links {
  gap: clamp(16px, 1.35vw, 26px);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links a {
  color: #25313d;
  padding: 18px 0;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--mca-blue-dark); border-color: var(--mca-blue); }

.nav-links .nav-cta {
  padding: 13px 20px;
  background: var(--mca-blue-dark);
  color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(31, 111, 159, 0.22);
}

.nav-links .nav-cta:hover { background: var(--navy); color: #ffffff; }

.nav-item { position: relative; display: flex; align-items: center; }

.services-preview {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 50;
  width: min(680px, 72vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 58px rgba(8, 26, 44, 0.16);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.services-preview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.service-menu:hover .services-preview,
.service-menu:focus-within .services-preview {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.services-preview a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  color: #24313f;
  border: 0;
  border-right: 1px solid var(--card-border);
  white-space: normal;
}

.services-preview a:last-child { border-right: 0; }
.services-preview a:hover { color: var(--navy); background: var(--soft-gray); border-bottom-color: transparent; }
.services-preview strong { color: var(--mca-blue-dark); font-size: 15px; line-height: 1.2; }
.services-preview span { color: #536170; font-size: 13px; font-weight: 600; line-height: 1.45; }

.hero-home { min-height: 680px; align-items: center; background: #8f6732; }
.hero-content { margin-bottom: 86px; }
.hero h1 { max-width: 920px; font-size: clamp(48px, 6.4vw, 84px); }
.hero p { max-width: 760px; color: #dbe6ef; }

.clean-hero-media {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(8, 26, 44, 0.78), rgba(8, 26, 44, 0.42) 48%, rgba(8, 26, 44, 0.68)),
    linear-gradient(180deg, rgba(8, 26, 44, 0.18), rgba(8, 26, 44, 0.5)),
    url("assets/site/engineering-team-review.png") center center / cover no-repeat;
}

.clean-hero-media .technical-grid { opacity: 0.34; background-size: 54px 54px; }

.hero-accent-panel {
  position: absolute;
  right: clamp(22px, 5vw, 76px);
  top: 52%;
  width: min(360px, 34vw);
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.hero-accent-panel span {
  padding: 18px 20px;
  color: rgba(255,255,255,0.9);
  background: rgba(8, 26, 44, 0.42);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 4px solid #e6bd70;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.button { border-radius: 4px; }
.button.primary { background: var(--mca-blue); color: #ffffff; }
.button.primary:hover, .button.dark:hover { background: #0b2034; }
.button.secondary:hover { background: rgba(255,255,255,0.16); }

.services-overview-section { background: linear-gradient(180deg, #ffffff, #f7f9fb); }
.services-overview-section .section-heading { text-align: center; }
.home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.services-overview-section .service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--mca-blue);
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.08);
}

.services-overview-section .service-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 28px 64px rgba(8, 26, 44, 0.13);
}

.services-overview-section .service-card h3 { font-size: 24px; }
.services-overview-section .service-card p { color: #4d5a67; font-size: 15px; }
.services-overview-section .service-card .text-link { margin-top: auto; color: var(--mca-blue-dark); }

.services-overview-section .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  background: #edf6fb;
  color: var(--mca-blue-dark);
  border-color: rgba(31, 111, 159, 0.28);
}

.card-photo {
  position: relative;
  height: 180px;
  margin: -30px -30px 24px;
  overflow: hidden;
  background: #dfe7ee;
}

.content-card .card-photo {
  margin-bottom: 24px;
}

.card-photo img,
.story-photo img,
.side-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.restoration-card-photo img {
  object-position: center 42%;
}

.visual-story-section {
  background: #f7f9fb;
}

.visual-split {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.story-photo {
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.1);
}

.story-copy p:last-child {
  color: #4b5865;
  font-size: 17px;
  line-height: 1.65;
}

.side-photo {
  height: 210px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(8, 26, 44, 0.08);
}

.condition-showcase-section {
  background:
    linear-gradient(180deg, #f7f9fb, #ffffff);
}

.condition-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.condition-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(8, 26, 44, 0.14);
}

.condition-card figure {
  position: relative;
  height: 250px;
  margin: 0;
  overflow: hidden;
  background: #dfe7ee;
}

.condition-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,26,44,0), rgba(8,26,44,0.36));
}

.condition-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.condition-card div {
  padding: 22px;
}

.condition-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--mca-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.condition-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
}

.work-gallery-section {
  background: linear-gradient(180deg, #ffffff, #f7f9fb);
}

.collage-gallery {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.collage-group {
  padding: clamp(18px, 2.4vw, 28px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.08);
}

.collage-header {
  display: grid;
  gap: 8px;
  align-items: start;
  margin-bottom: 18px;
}

.collage-header span {
  color: var(--mca-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.collage-header h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.14;
}

.collage-subtitle {
  margin: 0;
  color: #586979;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1.12fr repeat(3, minmax(0, 0.72fr));
  grid-auto-rows: 150px;
  gap: 12px;
}

.collage-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe7ee;
  border: 1px solid var(--line);
  cursor: pointer;
}

.collage-grid figure:focus-visible {
  outline: 3px solid var(--mca-blue);
  outline-offset: 3px;
}

.collage-grid figure.large {
  grid-row: span 2;
  grid-column: span 1;
}

.collage-grid .exterior-stairs-photo {
  grid-row: span 3;
}

.collage-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.collage-grid .piling-damage-photo img {
  object-position: center 72%;
}

.collage-grid .exterior-stairs-photo img {
  object-position: center 76%;
}

.collage-grid .rendering-lower-photo img {
  object-position: center 76%;
}

.collage-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(8, 26, 44, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.collage-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,26,44,0), rgba(8,26,44,0.35));
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(3, 14, 24, 0.88);
}

.gallery-lightbox.open {
  display: grid;
}

.gallery-lightbox-frame {
  width: min(1180px, 100%);
  max-height: 86vh;
  margin: 0;
  display: grid;
  gap: 12px;
}

.gallery-lightbox-frame img {
  width: 100%;
  max-height: calc(86vh - 54px);
  display: block;
  object-fit: contain;
  background: #071420;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-frame figcaption {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  color: #ffffff;
  background: rgba(8, 26, 44, 0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gallery-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2001;
  min-width: 86px;
  min-height: 44px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(8, 26, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  background: var(--mca-blue-dark);
}

@media (max-width: 760px) {
  .card-photo {
    height: 150px;
    margin: -24px -24px 20px;
  }

  .visual-split {
    grid-template-columns: 1fr;
  }

  .story-photo {
    min-height: 260px;
  }

  .side-photo {
    height: 180px;
  }

  .condition-grid,
  .service-condition-grid {
    grid-template-columns: 1fr;
  }

  .condition-card figure {
    height: 220px;
  }

  .collage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .collage-grid figure.large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .collage-grid .exterior-stairs-photo {
    grid-row: span 2;
  }
}

.project-card, .content-card, .comparison-card, .asset-card, .cta-card, .work-map-card { border-radius: 6px; }

.site-footer { background: #071420; padding-top: 76px; }
.footer-brand-block { display: grid; gap: 18px; align-content: start; }
.footer-brand-block img { width: min(300px, 100%); padding: 16px 18px; background: #ffffff; border-radius: 4px; }
.footer-brand-block p { max-width: 360px; margin: 0; color: #c9d5df; }
.footer-grid h3 { margin-bottom: 16px; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-grid a:hover { color: #ffffff; }

@media (max-width: 1460px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--card-border);
    background: #ffffff;
    padding: 10px 14px;
    font-weight: 800;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px clamp(18px, 4vw, 56px) 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 24px 48px rgba(8, 26, 44, 0.12);
  }

  .nav-links.open { display: flex; }
  .nav-links > a, .nav-item, .service-menu > a { width: 100%; }
  .nav-links a { padding: 13px 0; font-size: 15px; }

  .services-preview {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--card-border);
    margin: 4px 0 14px;
  }

  .services-preview::before { display: none; }
  .services-preview a { min-height: 0; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--card-border); }
  .services-preview a:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  .home-service-grid { grid-template-columns: 1fr; }
  .hero-home { min-height: calc(100vh - 82px); }
  .hero-accent-panel { display: none; }
}

@media (max-width: 760px) {
  .navbar { background: #ffffff; }
  .brand { width: min(62vw, 240px); min-width: 188px; }
  .hero-content { margin-bottom: 132px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .services-overview-section .service-card { min-height: 0; padding: 24px; }
  .footer-brand-block img { width: min(280px, 100%); }
}


/* Keep responsive Services preview open in mobile menu */
@media (max-width: 1460px) {
  .nav-links {
    overflow-x: hidden;
  }

  .nav-links .service-menu {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .nav-links .services-preview {
    display: grid;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 4px 0 14px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--card-border);
  }

  .nav-links .services-preview a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 16px 18px;
    overflow-wrap: anywhere;
  }
}


/* Keep Contact CTA readable in active mobile menu state */
.nav-links .nav-cta,
.nav-links .nav-cta.active,
.nav-links .nav-cta:focus,
.nav-links .nav-cta:hover {
  color: #ffffff;
  border-color: transparent;
}

@media (max-width: 1460px) {
  .nav-links .nav-cta,
  .nav-links .nav-cta.active,
  .nav-links .nav-cta:focus,
  .nav-links .nav-cta:hover {
    color: #ffffff;
    background: var(--mca-blue-dark);
    border-color: transparent;
  }
}


/* Office location map image */
.office-map-card,
.office-map {
  overflow: hidden;
  margin: 26px 0 0;
  background: #ffffff;
  border: 1px solid var(--card-border, var(--line));
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.08);
}

.office-map-card img,
.office-map img {
  width: 100%;
  height: auto;
  display: block;
}

.office-map-card figcaption,
.office-map figcaption {
  margin: 0;
  padding: 14px 16px;
  color: var(--charcoal);
  background: #ffffff;
  border-top: 1px solid var(--card-border, var(--line));
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.map-placeholder.office-map {
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  background: #ffffff;
  color: var(--charcoal);
}


/* Contact page desktop map alignment */
.contact-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.18fr);
  grid-template-rows: auto minmax(240px, 1fr);
  grid-template-areas:
    "info form"
    "map form";
  align-items: stretch;
}

.contact-info-panel {
  grid-area: info;
  padding-left: 34px;
}

.contact-info-panel h2 {
  max-width: 560px;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
}

.contact-layout .contact-form {
  grid-area: form;
  height: 100%;
}

.contact-layout .office-map {
  grid-area: map;
  min-height: 260px;
  height: 100%;
  margin-top: 30px;
}

.contact-layout .office-map img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "info"
      "form"
      "map";
  }

  .contact-info-panel h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .contact-layout .office-map {
    height: auto;
    margin-top: 24px;
  }

  .contact-layout .office-map img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

/* Compact footer refinement */
.site-footer {
  padding: 40px clamp(18px, 4vw, 56px) 18px;
}

.footer-grid {
  grid-template-columns: 1.05fr 0.7fr 0.9fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand-block {
  gap: 12px;
}

.footer-brand-block img {
  width: min(190px, 100%);
  padding: 10px 12px;
}

.footer-brand-block p,
.footer-grid p,
.footer-grid a {
  font-size: 13px;
  line-height: 1.42;
}

.footer-brand-block p {
  max-width: 300px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.footer-grid a {
  margin: 6px 0;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 34px 18px 18px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-brand-block img {
    width: min(180px, 100%);
  }
}

/* Contact page alignment final tune */
.contact-layout {
  gap: 22px 42px;
}

.contact-info-panel h2 {
  max-width: 480px;
  font-size: clamp(28px, 2.3vw, 36px);
  line-height: 1.1;
}

.contact-layout .office-map {
  margin-top: 0;
  align-self: stretch;
}

.contact-layout .office-map img {
  height: calc(100% - 43px);
  min-height: 280px;
}

@media (max-width: 760px) {
  .contact-layout {
    gap: 24px;
  }

  .contact-info-panel h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .contact-layout .office-map img {
    height: auto;
    min-height: 0;
  }
}

/* Keep office map caption visible */
.contact-layout .office-map {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.contact-layout .office-map img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.contact-layout .office-map figcaption {
  min-height: 0;
  overflow: visible;
  white-space: normal;
}

@media (max-width: 760px) {
  .contact-layout .office-map {
    display: block;
    height: auto;
  }

  .contact-layout .office-map img {
    height: auto;
  }
}

/* Refined interior page hero scale */
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
}

@media (max-width: 760px) {
  .page-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.05;
  }
}

@media (max-width: 420px) {
  .page-hero h1 {
    font-size: 34px;
  }
}

/* Compact interior hero band */
.page-hero {
  padding: 74px clamp(18px, 4vw, 56px) 56px;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,26,44,0.92), rgba(8,26,44,0.66)),
    linear-gradient(135deg, #21394d, #071827);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/ChatGPT Image Jun 17, 2026, 04_08_32 PM.png") center / cover no-repeat;
  opacity: 0.5;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,26,44,0.78), rgba(8,26,44,0.4));
}

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

.services-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,26,44,0.92), rgba(8,26,44,0.66)),
    linear-gradient(135deg, #21394d, #071827);
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/ChatGPT Image Jun 17, 2026, 04_08_24 PM.png") center / cover no-repeat;
  opacity: 0.5;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,26,44,0.78), rgba(8,26,44,0.4));
}

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

.projects-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,26,44,0.92), rgba(8,26,44,0.66)),
    linear-gradient(135deg, #21394d, #071827);
}

.projects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/ChatGPT Image Jun 18, 2026, 11_41_11 AM.png") center / cover no-repeat;
  opacity: 0.5;
}

.projects-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,26,44,0.78), rgba(8,26,44,0.4));
}

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

.contact-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #102d44;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/ChatGPT Image Jun 18, 2026, 04_53_34 PM (1).png") center / cover no-repeat;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 26, 44, 0.72), rgba(8, 26, 44, 0.34) 55%, rgba(8, 26, 44, 0.06));
}

.contact-hero .page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding-right: min(42vw, 520px);
}

.contact-hero .page-hero-content h1 {
  max-width: 660px;
  font-size: clamp(30px, 3.1vw, 44px);
}

.contact-hero .page-hero-content > p:last-child {
  max-width: 610px;
}

.contact-hero .page-hero-content::before {
  content: "";
  position: absolute;
  inset: -22px -34px;
  z-index: -1;
  width: min(690px, 58vw);
  background: linear-gradient(90deg, rgba(8, 26, 44, 0.4), rgba(8, 26, 44, 0.12) 62%, transparent);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%);
}

html[data-theme="dark"] .contact-hero::before {
  background-image: url("assets/ChatGPT Image Jun 18, 2026, 04_53_35 PM (2).png");
}

html[data-theme="dark"] .contact-hero::after {
  background: linear-gradient(90deg, rgba(3, 14, 24, 0.62), rgba(3, 14, 24, 0.22) 58%, transparent);
}

html[data-theme="dark"] .contact-hero .page-hero-content::before {
  background: linear-gradient(90deg, rgba(3, 14, 24, 0.34), rgba(3, 14, 24, 0.08) 72%, transparent);
}

@media (max-width: 760px) {
  .page-hero {
    padding: 54px 18px 42px;
  }

  .contact-hero::before {
    background-position: 64% center;
  }

  .contact-hero .page-hero-content::before {
    inset: -18px;
    width: min(590px, 82vw);
  }

  .contact-hero .page-hero-content {
    padding-right: 0;
  }

  .contact-hero .page-hero-content h1,
  .contact-hero .page-hero-content > p:last-child {
    max-width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .page-hero p {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .page-hero h1 {
    font-size: 30px;
  }
}

/* Hide homepage hero service stack */
.hero-accent-panel {
  display: none;
}

/* Project card service and location hierarchy */
.project-card .project-copy > h3 {
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .project-card .project-copy > h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}
/* Extra compact footer strip */
.site-footer {
  padding: 28px clamp(18px, 4vw, 52px) 14px;
}

.footer-grid {
  gap: 18px;
  grid-template-columns: 0.95fr 0.65fr 0.82fr 0.95fr;
}

.footer-brand-block {
  gap: 8px;
}

.footer-brand-block img {
  width: min(150px, 100%);
  padding: 8px 10px;
}

.footer-brand-block p,
.footer-grid p,
.footer-grid a {
  font-size: 12px;
  line-height: 1.32;
}

.footer-brand-block p {
  max-width: 250px;
}

.footer-grid h3 {
  margin: 0 0 7px;
  font-size: 12px;
}

.footer-grid a {
  margin: 4px 0;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 26px 18px 14px;
  }

  .footer-brand-block img {
    width: min(150px, 100%);
  }
}
/* Homepage hero headline spacing refinement */
.hero-home .hero-content h1 {
  line-height: 1.08;
  max-width: 980px;
}

@media (min-width: 901px) {
  .hero-home .hero-content h1 {
    font-size: clamp(48px, 5.8vw, 80px);
  }
}

@media (max-width: 760px) {
  .hero-home .hero-content h1 {
    line-height: 1.06;
  }
}
/* Footer brand text removed, tighter strip */
.footer-brand-block {
  gap: 0;
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 12px;
}

.footer-brand-block img {
  width: min(145px, 100%);
}
/* Smaller utility bar text */
.utility-bar {
  min-height: 26px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 11px;
}

.utility-bar span {
  letter-spacing: 0.35px;
}
/* Consistent section eyebrow alignment */
.section-heading {
  text-align: center;
}

.section-heading .eyebrow {
  display: block;
  width: 100%;
  margin: 0 auto 8px;
  text-align: center;
}
/* Keep homepage copyright visible */
.footer-bottom {
  color: #d6e0e9;
  font-size: 12px;
  line-height: 1.35;
}


/* MCA homepage professional polish pass - May 2026 */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
  box-shadow: 0 8px 28px rgba(8, 26, 44, 0.08);
}

.utility-bar {
  background: #ffffff;
  color: #4e5d6c;
  border-bottom: 1px solid #e3e8ee;
  min-height: 28px;
  padding: 5px clamp(22px, 4vw, 64px);
  font-size: 11px;
}

.utility-bar span {
  color: var(--mca-blue-dark, #174f75);
  font-weight: 900;
  letter-spacing: 0.35px;
}

.navbar {
  min-height: 104px;
  padding: 16px clamp(22px, 4vw, 64px);
  background: #ffffff;
}

.brand {
  width: clamp(260px, 21vw, 340px);
  min-width: 250px;
  padding: 0;
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.brand img {
  max-height: 78px;
  object-fit: contain;
}

.nav-links {
  gap: clamp(18px, 1.6vw, 30px);
  font-size: 15px;
  font-weight: 850;
}

.nav-links a {
  color: #1d2936;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mca-blue-dark, #174f75);
  border-color: var(--mca-blue, #1f6f9f);
}

.nav-links .nav-cta {
  padding: 14px 22px;
  border-radius: 5px;
  background: var(--mca-blue-dark, #174f75);
  color: #ffffff;
}

.services-preview {
  width: min(780px, 78vw);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dbe2e9;
  box-shadow: 0 24px 60px rgba(8, 26, 44, 0.18);
}

.services-preview a {
  min-height: 168px;
  padding: 26px 24px;
  border-top: 4px solid transparent;
  background: #ffffff;
}

.services-preview a:hover {
  border-top-color: var(--mca-blue, #1f6f9f);
  background: #f7fafc;
}

.services-preview strong {
  color: var(--mca-blue-dark, #174f75);
  font-size: 16px;
}

.services-preview span {
  color: #526170;
  font-size: 13px;
  line-height: 1.5;
}

.hero-home {
  min-height: 720px;
  align-items: center;
  background: #0a1724;
}

.clean-hero-media {
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.9), rgba(6, 18, 30, 0.58) 48%, rgba(6, 18, 30, 0.82)),
    linear-gradient(180deg, rgba(6, 18, 30, 0.12), rgba(6, 18, 30, 0.62)),
    url("assets/ChatGPT Image May 21, 2026, 12_15_12 PM.png") center center / cover no-repeat;
}

.hero-home .hero-content {
  width: min(1080px, calc(100% - 44px));
  margin-bottom: 118px;
}

.hero-home .hero-content .eyebrow {
  color: #e6bd70;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero-home .hero-content h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-home .hero-content p {
  max-width: 760px;
  color: #eef5fb;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
}

.hero-home .button {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 15px;
}

.hero-home .button.primary {
  background: #2380b8;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(35, 128, 184, 0.28);
}

.hero-home .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.56);
  color: #ffffff;
}

.hero-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 4px;
  border-top-color: rgba(255, 255, 255, 0.28);
}

.hero-proof span {
  padding: 18px 18px 10px 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
}

.trust-strip {
  padding: 0 clamp(22px, 4vw, 64px);
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
}

.trust-strip-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid #e3e8ee;
}

.trust-item {
  min-height: 112px;
  padding: 24px 22px;
  border-right: 1px solid #e3e8ee;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--mca-blue-dark, #174f75);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.trust-item span {
  display: block;
  color: #526170;
  font-size: 13px;
  line-height: 1.45;
}

.intro-section {
  padding-top: 88px;
  padding-bottom: 78px;
}

.section-heading {
  max-width: 940px;
}

.section-heading h2 {
  text-wrap: balance;
}

.services-overview-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.home-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-overview-section .service-card {
  min-height: 335px;
  padding: 32px;
  border-top: 5px solid var(--mca-blue, #1f6f9f);
  border-radius: 6px;
}

.services-overview-section .service-card h3 {
  color: #0d1b2a;
}

.featured-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.featured-project-grid .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  border: 1px solid #dce4eb;
  box-shadow: 0 18px 44px rgba(8, 26, 44, 0.1);
}

.featured-project-grid .project-image {
  min-height: 260px;
  padding: 0;
}

.featured-project-grid .home-stairs-photo img {
  object-position: center 82%;
}

.featured-project-grid .project-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.featured-project-grid .project-copy span {
  color: var(--mca-blue, #1f6f9f);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.featured-project-grid .project-copy h3 {
  margin-top: 8px;
  color: #101b27;
  font-size: 22px;
  font-weight: 850;
}

.featured-project-grid .project-copy p {
  color: #526170;
  font-size: 14px;
  line-height: 1.58;
}

.featured-project-grid .project-copy .text-link {
  margin-top: auto;
}

.who-help-section {
  background:
    linear-gradient(180deg, #ffffff, #f4f7fa);
}

.audience-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  min-height: 168px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dce4eb;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(8, 26, 44, 0.06);
}

.audience-card h3 {
  color: #101b27;
  font-size: 21px;
}

.audience-card p {
  margin: 0;
  color: #526170;
  font-size: 14px;
}

.why-mca-section {
  background: #f7f9fb;
}

.home-reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-reason-grid .reason {
  min-height: 190px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dce4eb;
  border-left: 4px solid #c9a45d;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(8, 26, 44, 0.06);
}

.home-reason-grid .reason h3 {
  color: #101b27;
  font-size: 20px;
}

.home-reason-grid .reason p {
  color: #526170;
  font-size: 14px;
}

.contact-preview {
  background: #ffffff;
}

.contact-preview .contact-panel {
  border-radius: 7px;
  box-shadow: 0 22px 60px rgba(8, 26, 44, 0.1);
}

.site-footer {
  background: #071420;
  padding: 30px clamp(22px, 4vw, 58px) 14px;
}

.footer-grid-polished {
  grid-template-columns: 0.9fr 0.65fr 0.9fr 1.05fr 0.75fr;
  gap: 22px;
}

.footer-brand-block img {
  width: min(150px, 100%);
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 4px;
}

.footer-grid h3 {
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.8px;
}

.footer-grid p,
.footer-grid a {
  color: #d7e0e8;
  font-size: 12px;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  color: #d7e0e8;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1460px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid #dce4eb;
    background: #ffffff;
    color: #0d1b2a;
    border-radius: 0;
    font-size: 18px;
    font-weight: 900;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px clamp(22px, 4vw, 64px) 26px;
    background: #ffffff;
    border-bottom: 1px solid #dce4eb;
    box-shadow: 0 24px 48px rgba(8, 26, 44, 0.12);
    overflow-x: hidden;
  }

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

  .nav-links > a,
  .nav-item,
  .service-menu > a {
    width: 100%;
  }

  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid #dce4eb;
    font-size: 20px;
  }

  .nav-links .nav-cta {
    margin-top: 14px;
    padding: 18px 22px;
    text-align: center;
  }

  .nav-links .service-menu {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .nav-links .services-preview {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 16px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid #dce4eb;
    border-radius: 0;
  }

  .nav-links .services-preview::before {
    display: none;
  }

  .nav-links .services-preview a {
    width: 100%;
    min-height: 0;
    padding: 18px 20px;
    border: 0;
    border-bottom: 1px solid #dce4eb;
    white-space: normal;
  }

  .nav-links .services-preview a:last-child {
    border-bottom: 0;
  }

  .nav-links .services-preview strong {
    font-size: 20px;
  }

  .nav-links .services-preview span {
    font-size: 15px;
  }

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

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

@media (max-width: 980px) {
  .trust-strip-inner,
  .audience-grid,
  .home-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .utility-bar {
    display: none;
  }

  .navbar {
    min-height: 112px;
    padding: 14px 18px;
  }

  .brand {
    width: min(60vw, 260px);
    min-width: 190px;
  }

  .brand img {
    max-height: 88px;
  }

  .nav-toggle {
    min-height: 52px;
    padding: 0 18px;
    font-size: 16px;
  }

  .nav-links a {
    font-size: 19px;
  }

  .nav-links .services-preview strong {
    font-size: 18px;
  }

  .nav-links .services-preview span {
    font-size: 14px;
  }

  .hero-home {
    min-height: auto;
    padding: 74px 0 32px;
  }

  .hero-home .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto 26px;
  }

  .hero-home .hero-content h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.08;
  }

  .hero-home .button-row {
    gap: 12px;
  }

  .hero-proof {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 36px);
    margin: 32px auto 0;
    grid-template-columns: 1fr;
  }

  .hero-proof span:nth-child(n+4) {
    display: block;
  }

  .trust-strip {
    padding: 0 18px;
  }

  .trust-strip-inner,
  .audience-grid,
  .featured-project-grid,
  .home-reason-grid,
  .footer-grid-polished {
    grid-template-columns: 1fr;
  }

  .trust-strip-inner {
    border-left: 0;
  }

  .trust-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .featured-project-grid .project-image {
    min-height: 250px;
  }

  .audience-card,
  .home-reason-grid .reason {
    min-height: 0;
  }

  .site-footer {
    padding: 28px 18px 14px;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 220px;
    min-width: 190px;
  }

  .hero-home .hero-content h1 {
    font-size: 38px;
  }
}

/* Homepage section spacing and contact preview refinement */
.services-overview-section {
  padding-bottom: 52px;
}

.featured-projects-section {
  padding-top: 52px;
}

.contact-preview .compact-contact {
  max-width: 1280px;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: clamp(56px, 6vw, 96px);
  padding: clamp(34px, 4vw, 58px);
}

.contact-preview .compact-contact > div:first-child {
  max-width: 640px;
}

.contact-preview .compact-contact .cta-card {
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

@media (max-width: 980px) {
  .services-overview-section {
    padding-bottom: 38px;
  }

  .featured-projects-section {
    padding-top: 42px;
  }

  .contact-preview .compact-contact {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .contact-preview .compact-contact .cta-card {
    max-width: none;
    justify-self: stretch;
  }
}

/* About page narrative layout refinement */
.about-narrative-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-narrative {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.about-narrative h2 {
  max-width: 440px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
}

.about-narrative .prose {
  max-width: none;
  columns: 2;
  column-gap: clamp(28px, 4vw, 52px);
}

.about-narrative .prose p {
  margin: 0 0 20px;
  break-inside: avoid;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .about-narrative {
    grid-template-columns: 1fr;
  }

  .about-narrative h2 {
    max-width: 760px;
  }

  .about-narrative .prose {
    columns: 1;
  }
}

/* About page stacked summary layout */
.about-narrative-stacked {
  display: block;
  max-width: 980px;
}

.about-narrative-stacked h2 {
  max-width: 900px;
  margin-bottom: 26px;
}

.about-narrative-stacked > .reveal:nth-of-type(3) {
  margin-top: 34px;
}

.about-narrative-stacked .prose {
  max-width: 920px;
  columns: 1;
}

.about-narrative-stacked .prose p {
  font-size: 18px;
  line-height: 1.72;
}

/* Hero proof strip with four items after removing duplicate license item */
.hero-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-proof {
    grid-template-columns: 1fr;
  }
}

/* Tighten Featured Projects to Who We Help transition */
.featured-projects-section {
  padding-bottom: 46px;
}

.featured-projects-section .section-action {
  margin-top: 26px;
}

.who-help-section {
  padding-top: 50px;
}

@media (max-width: 760px) {
  .featured-projects-section {
    padding-bottom: 34px;
  }

  .who-help-section {
    padding-top: 38px;
  }
}

/* Header logo tagline refinement */
.site-header .navbar {
  background: #fff;
}

.site-header .brand,
.site-header .brand:visited {
  display: grid;
  justify-items: start;
  align-items: start;
  gap: 4px;
  width: clamp(270px, 22vw, 360px);
  min-width: 260px;
  padding: 0;
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

.site-header .brand img {
  display: block;
  width: 100%;
  max-height: 84px;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.brand-tagline {
  display: block;
  width: 100%;
  margin-left: 0;
  color: #0d1b2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-header .brand {
    width: min(64vw, 260px);
    min-width: 210px;
  }

  .site-header .brand img {
    max-height: 82px;
  }

  .brand-tagline {
    font-size: 9px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .site-header .brand {
    width: 210px;
    min-width: 180px;
  }

  .brand-tagline {
    font-size: 8.5px;
  }
}


/* About hero values panel */
.about-values-panel {
  max-width: 1080px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.about-values-kicker {
  max-width: none !important;
  margin: 0 0 16px;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px !important;
  font-style: italic;
  line-height: 1.3;
}

.about-values-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-values-list span {
  display: block;
  min-height: 112px;
  padding: 18px 18px 18px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  background: rgba(3, 28, 48, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--gold);
}

@media (max-width: 900px) {
  .about-values-list {
    grid-template-columns: 1fr;
  }

  .about-values-list span {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .about-values-panel {
    margin-top: 24px;
    padding: 18px;
  }

  .about-values-kicker {
    font-size: 16px !important;
  }

  .about-values-list span {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .contact-info-panel {
    box-sizing: border-box;
    padding-inline: 32px;
  }
}

.desktop-address-line {
  display: block;
}

@media (max-width: 760px) {
  .desktop-address-line {
    display: inline;
  }

  .desktop-address-line::before {
    content: " ";
  }
}

/* Mobile homepage service cards as compact media rows */
@media (max-width: 760px) {
  .services-overview-section .home-service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-overview-section .home-service-grid .service-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 18px;
    row-gap: 6px;
    align-items: start;
    padding: 18px;
  }

  .services-overview-section .home-service-grid .card-photo {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 128px;
    height: 128px;
    margin: 0;
    align-self: stretch;
  }

  .services-overview-section .home-service-grid .card-icon {
    grid-column: 2;
    grid-row: 1;
    width: 34px;
    height: 34px;
    margin: 0 0 4px;
    font-size: 14px;
  }

  .services-overview-section .home-service-grid .service-card h3 {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
  }

  .services-overview-section .home-service-grid .service-card p {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .services-overview-section .home-service-grid .service-card .text-link {
    grid-column: 2;
    grid-row: 4;
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .services-overview-section .home-service-grid .service-card {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
    padding: 14px;
  }

  .services-overview-section .home-service-grid .card-photo {
    width: 104px;
    height: 104px;
  }

  .services-overview-section .home-service-grid .card-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .services-overview-section .home-service-grid .service-card h3 {
    font-size: 18px;
  }

  .services-overview-section .home-service-grid .service-card p {
    font-size: 13px;
  }
}

/* Site-wide light and dark appearance */
.theme-toggle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0;
  color: #174f75;
  background: #f3f7fa;
  border: 1px solid #cad7e1;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
  color: #ffffff;
  background: var(--mca-blue-dark);
  border-color: var(--mca-blue-dark);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf3f7;
  --charcoal: #d5e0e8;
  --steel: #aebdca;
  --line: #33495b;
  --mist: #0d1c29;
  --white: #101f2c;
  --soft-gray: #0b1925;
  --card-border: #304658;
  --mca-blue: #55a8d7;
  --mca-blue-dark: #8cc7e8;
}

html[data-theme="dark"] body {
  color: #e9f0f5;
  background: #07131e;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .navbar,
html[data-theme="dark"] .utility-bar {
  color: #dfe9f0;
  background: #0b1a27;
  border-color: #263b4c;
}

html[data-theme="dark"] .site-header {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .utility-bar,
html[data-theme="dark"] .utility-bar span {
  color: #a9cde2;
}

html[data-theme="dark"] .site-header .brand,
html[data-theme="dark"] .site-header .brand:visited {
  background: transparent !important;
}

html[data-theme="dark"] .site-header .brand img {
  filter: invert(1) brightness(1.85) grayscale(1);
}

html[data-theme="dark"] .brand-tagline,
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .nav-toggle {
  color: #e7eff5;
}

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active {
  color: #8cc7e8;
}

html[data-theme="dark"] .nav-links .nav-cta {
  color: #07131e;
  background: #8cc7e8;
}

html[data-theme="dark"] .nav-links .nav-cta,
html[data-theme="dark"] .nav-links .nav-cta.active,
html[data-theme="dark"] .nav-links .nav-cta:focus,
html[data-theme="dark"] .nav-links .nav-cta:hover {
  color: #07131e !important;
  background: #8cc7e8;
  border-color: #8cc7e8;
}

html[data-theme="dark"] .theme-toggle {
  color: #f1c86f;
  background: #13293a;
  border-color: #40596d;
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #07131e;
  background: #f1c86f;
  border-color: #f1c86f;
}

html[data-theme="dark"] main,
html[data-theme="dark"] .section,
html[data-theme="dark"] .services-overview-section,
html[data-theme="dark"] .featured-projects-section,
html[data-theme="dark"] .who-help-section,
html[data-theme="dark"] .why-mca-section,
html[data-theme="dark"] .visual-story-section,
html[data-theme="dark"] .technical-section,
html[data-theme="dark"] .contact-preview,
html[data-theme="dark"] .services-list-section,
html[data-theme="dark"] .work-gallery-section,
html[data-theme="dark"] .about-narrative-section {
  color: #e9f0f5;
  background: #07131e;
}

html[data-theme="dark"] .intro-section,
html[data-theme="dark"] .trust-strip {
  color: #e9f0f5;
  background: #0a1824;
  border-color: #2c4152;
}

html[data-theme="dark"] .trust-strip-inner,
html[data-theme="dark"] .trust-item {
  border-color: #2c4152;
}

html[data-theme="dark"] .trust-item strong,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .text-link {
  color: #7fc1e5;
}

html[data-theme="dark"] .trust-item span,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .content-card p,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .project-copy p,
html[data-theme="dark"] .audience-card p,
html[data-theme="dark"] .reason p,
html[data-theme="dark"] .prose,
html[data-theme="dark"] .prose p {
  color: #b8c7d2 !important;
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .audience-card,
html[data-theme="dark"] .reason,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .service-detail-card,
html[data-theme="dark"] .collage-group,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .contact-info-panel,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .map-placeholder {
  color: #edf3f7;
  background: #10212f !important;
  border-color: #33495b !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .audience-card h3,
html[data-theme="dark"] .reason h3,
html[data-theme="dark"] .content-card h2,
html[data-theme="dark"] .content-card h3,
html[data-theme="dark"] .service-detail-card h3,
html[data-theme="dark"] .contact-info-panel h2,
html[data-theme="dark"] .section-heading h2 {
  color: #f2f6f9 !important;
}

html[data-theme="dark"] .service-icon-list li {
  color: #dce6ed;
  border-color: #33495b;
}

html[data-theme="dark"] .service-icon-list small {
  color: #b9cad6;
}

html[data-theme="dark"] .service-icon,
html[data-theme="dark"] .card-icon {
  color: #d9effb;
  background: #123754;
  border-color: #457696;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: #edf3f7;
  background: #091823;
  border-color: #405668;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  border-color: #72b9df;
  outline: 2px solid rgba(114, 185, 223, 0.18);
}

html[data-theme="dark"] .form-note,
html[data-theme="dark"] figcaption {
  color: #c0cfda;
}

html[data-theme="dark"] .collage-grid {
  background: #10212f;
}

html[data-theme="dark"] .services-preview,
html[data-theme="dark"] .nav-links.open {
  color: #edf3f7;
  background: #10212f;
  border-color: #33495b;
}

html[data-theme="dark"] .services-preview a {
  border-color: #33495b;
}

html[data-theme="dark"] .footer-brand-block img {
  padding: 0;
  background: transparent;
  filter: invert(1) brightness(1.9) grayscale(1);
}

html[data-theme="dark"] .gallery-lightbox {
  background: rgba(2, 8, 13, 0.94);
}

/* Preserve contrast for text that always sits on dark or photographic surfaces */
html[data-theme="dark"] .image-tag,
html[data-theme="dark"] .map-label,
html[data-theme="dark"] .detail-image-grid figcaption,
html[data-theme="dark"] .collage-grid figcaption,
html[data-theme="dark"] .gallery-lightbox-frame figcaption,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .dark-section,
html[data-theme="dark"] .technical-list,
html[data-theme="dark"] .document-asset,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .testimonial-band,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .footer-grid h2,
html[data-theme="dark"] .footer-grid h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .image-tag,
html[data-theme="dark"] .collage-grid figcaption,
html[data-theme="dark"] .detail-image-grid figcaption {
  background: rgba(5, 25, 40, 0.94) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .button.dark,
html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .plan-preview .text-link,
html[data-theme="dark"] .filter-button.active,
html[data-theme="dark"] .filter-button:hover {
  color: #ffffff !important;
}

html[data-theme="dark"] .button.dark {
  background: #174f75;
}

html[data-theme="dark"] .nav-toggle {
  color: #ffffff !important;
  background: #13293a !important;
  border-color: #40596d !important;
}

html[data-theme="dark"] .nav-toggle:hover,
html[data-theme="dark"] .nav-toggle[aria-expanded="true"] {
  color: #07131e !important;
  background: #8cc7e8 !important;
  border-color: #8cc7e8 !important;
}

html[data-theme="dark"] .project-copy span,
html[data-theme="dark"] .featured-project-grid .project-copy span {
  color: #68b9e6 !important;
}

html[data-theme="dark"] .contact-details,
html[data-theme="dark"] .contact-details a,
html[data-theme="dark"] .form-note a {
  color: #86c8eb;
}

html[data-theme="dark"] .condition-showcase-section {
  background: #07131e;
}

html[data-theme="dark"] .condition-card {
  color: #f4f8fb;
  background: #102433;
  border-color: #405c70;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .condition-card div {
  background: #102433;
}

html[data-theme="dark"] .condition-card span {
  color: #6fc4ef;
}

html[data-theme="dark"] .condition-card h3 {
  color: #ffffff;
}

html[data-theme="dark"] .contact-layout .office-map {
  background: #102433 !important;
  border-color: #405c70 !important;
}

html[data-theme="dark"] .contact-layout .office-map img {
  filter: none;
}

html[data-theme="dark"] .contact-layout .office-map figcaption {
  color: #ffffff !important;
  background: #102433;
  border-top-color: #405c70;
}

html[data-theme="dark"] .work-gallery-section .collage-group {
  background: #102433 !important;
  border-color: #405c70 !important;
}

html[data-theme="dark"] .work-gallery-section .collage-header span {
  color: #6fc4ef;
}

html[data-theme="dark"] .work-gallery-section .collage-header h2 {
  color: #ffffff;
}

html[data-theme="dark"] .work-gallery-section .collage-subtitle {
  color: #b9cad6;
}

html[data-theme="dark"] .site-footer {
  background: #102d44;
  border-top: 2px solid #4d7895;
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .site-footer .footer-bottom {
  border-top-color: rgba(151, 195, 221, 0.3);
}

html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .site-footer .footer-bottom {
  color: #dbe8f0;
}

html[data-theme="dark"] .site-footer a:hover {
  color: #ffffff;
}

html[data-theme="light"] .clean-hero-media {
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.68), rgba(6, 18, 30, 0.3) 48%, rgba(6, 18, 30, 0.5)),
    linear-gradient(180deg, rgba(6, 18, 30, 0.05), rgba(6, 18, 30, 0.36)),
    url("assets/ChatGPT Image May 21, 2026, 12_15_12 PM.png") center center / cover no-repeat;
}

html[data-theme="light"] .about-hero::before,
html[data-theme="light"] .services-hero::before,
html[data-theme="light"] .projects-hero::before {
  opacity: 0.82;
}

html[data-theme="light"] .about-hero::after,
html[data-theme="light"] .services-hero::after,
html[data-theme="light"] .projects-hero::after {
  background: linear-gradient(90deg, rgba(8, 26, 44, 0.64), rgba(8, 26, 44, 0.24));
}

/* Contact layout switches earlier to prevent cramped tablet-width columns */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "info"
      "form"
      "map";
    gap: 24px;
  }

  .contact-info-panel {
    width: 100%;
    padding: 28px 30px;
    text-align: left;
  }

  .contact-info-panel h2 {
    max-width: 100%;
    margin: 0 0 22px;
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.08;
  }

  .contact-info-panel p {
    font-size: 16px;
    line-height: 1.55;
  }

  .contact-details {
    gap: 8px;
    margin-top: 20px;
    font-size: 15px;
  }

  .contact-details a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-layout .contact-form {
    width: 100%;
  }

  .contact-layout .office-map {
    height: auto;
    margin-top: 0;
  }

  .contact-layout .office-map img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

@media (max-width: 520px) {
  .contact-info-panel {
    padding: 24px 22px;
  }

  .contact-info-panel h2 {
    font-size: 28px;
  }

  .contact-info-panel p,
  .contact-details {
    font-size: 14px;
  }
}

.why-mca-section {
  padding-top: 46px;
}

@media (max-width: 760px) {
  .why-mca-section {
    padding-top: 34px;
  }
}

.utility-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.8vw, 26px);
  white-space: nowrap;
}

.utility-bar span {
  min-width: 0;
  margin-right: auto;
  white-space: nowrap;
}

.utility-bar a {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .utility-bar {
    display: none;
  }

  .about-narrative-section {
    padding-bottom: 36px;
  }

  .visual-story-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .visual-story-section .visual-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .visual-story-section .story-photo {
    width: 100%;
    height: clamp(160px, 42vw, 210px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .visual-story-section .story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 24% center;
  }

  .visual-story-section .story-copy {
    width: 100%;
  }
}

.office-map-dark {
  display: none !important;
}

html[data-theme="dark"] .office-map-light {
  display: none !important;
}

html[data-theme="dark"] .office-map-dark {
  display: block !important;
}

@media (max-width: 760px) {
  .theme-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
  }

  html[data-theme="dark"] .navbar {
    background: #0b1a27;
  }

  .site-footer .footer-grid-polished {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px 24px;
    align-items: start;
  }

  .site-footer .footer-grid-polished > :nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer .footer-grid-polished > :nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer .footer-grid-polished > :nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer .footer-grid-polished > :nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer .footer-brand-block img {
    width: min(135px, 100%);
  }

  .site-footer .footer-grid h3 {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .site-footer .footer-grid p,
  .site-footer .footer-grid a {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

.footer-accordion-toggle {
  display: none;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 26px 24px 16px;
  }

  .site-footer .footer-grid-polished {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .site-footer .footer-grid-polished > :nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer .footer-brand-block {
    padding: 4px 0 20px;
    border-bottom: 1px solid rgba(151, 195, 221, 0.25);
  }

  .site-footer .footer-brand-block img {
    width: min(150px, 48vw);
  }

  .footer-accordion-section {
    border-bottom: 1px solid rgba(151, 195, 221, 0.25);
  }

  .footer-desktop-heading {
    display: none;
  }

  .footer-accordion-toggle {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    color: #55a8d7;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.8px;
    text-align: left;
    text-transform: uppercase;
  }

  html[data-theme] .site-footer .footer-direct-link {
    color: #55a8d7;
    text-decoration: none;
  }

  .footer-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 180ms ease;
  }

  .footer-accordion-section.is-open .footer-chevron {
    transform: rotate(225deg);
  }

  .footer-accordion-content {
    display: none;
    padding: 0 0 16px;
  }

  .footer-accordion-section.is-open .footer-accordion-content {
    display: block;
  }

  .site-footer .footer-accordion-content p,
  .site-footer .footer-accordion-content a {
    margin: 5px 0;
    color: #dbe8f0;
    font-size: 11px;
    line-height: 1.4;
  }

  .site-footer .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 0;
    font-size: 10px;
    line-height: 1.35;
  }
}
