/* MMAC Modern Designs — photography-first preview */
:root {
  --ink: #121212;
  --ink-soft: #2c2a27;
  --muted: #6c675f;
  --paper: #f3efe8;
  --cream: #faf8f4;
  --white: #ffffff;
  --line: #ddd6cb;
  --wood: #8a704c;
  --blue: #0b4a9c;
  --max: 1200px;
  --header: 5.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(250, 248, 244, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 2px;
}
.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 700;
}
.brand-text span {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

#nav-toggle { display: none; }

.burger {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.site-nav {
  display: none;
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: .75rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: .15rem;
}
.site-nav a {
  text-decoration: none;
  padding: .7rem .2rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}
.site-nav a.is-active {
  box-shadow: inset 0 -1px 0 var(--ink);
}
.site-nav .btn.is-active { box-shadow: none; }

#nav-toggle:checked ~ .site-nav { display: flex; }
#nav-toggle:checked + .burger span { background: transparent; }
#nav-toggle:checked + .burger span::before { top: 0; transform: rotate(45deg); }
#nav-toggle:checked + .burger span::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: .9rem 1.45rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: #000; color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-line {
  background: transparent;
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.site-nav a.btn,
.site-nav .btn {
  margin-top: .6rem;
  width: 100%;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.site-nav a.btn:hover,
.site-nav .btn:hover {
  color: #fff;
  background: #000;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-page { min-height: 52vh; }
.hero img.bg,
.hero-page img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after,
.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, .52) 0%,
    rgba(10, 10, 10, .16) 42%,
    rgba(10, 10, 10, 0) 68%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 3.2rem;
}
.kicker {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .85rem;
  color: rgba(255,255,255,.82);
}
.hero h1 {
  font-size: clamp(2rem, 6.2vw, 4.35rem);
  max-width: 14ch;
  font-weight: 600;
}
.proof {
  margin-top: .9rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.9);
  max-width: 32ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}

/* Layout */
main { flex: 1; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.band { background: var(--paper); }
.band-ink {
  background: var(--ink);
  color: #fff;
}

.eyebrow {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wood);
  margin-bottom: .7rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: .8rem;
}
.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
}
.muted { color: var(--muted); }
.small {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  gap: 1.5rem;
}
.split > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
}

.mosaic {
  display: grid;
  gap: .6rem;
}
.mosaic img,
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd;
  text-decoration: none;
  color: inherit;
}
.tile img {
  aspect-ratio: 4 / 3;
  transition: transform .6s var(--ease);
}
.tile:hover img { transform: scale(1.04); }
.tile figcaption,
.cap {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .45rem;
}

.full-bleed {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  aspect-ratio: 16 / 8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.city-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.city {
  background: var(--cream);
  padding: 1.4rem 1.2rem;
}
.city h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: .35rem;
}
.city p {
  font-size: .92rem;
  color: var(--ink-soft);
}

.project-card {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.project-card .meta {
  padding: 1.4rem 1.3rem 1.6rem;
}
.project-card h2 {
  font-size: 1.5rem;
  margin: .2rem 0 .4rem;
}
.project-card:hover img { filter: brightness(.97); }

.gallery {
  display: grid;
  gap: .55rem;
  grid-template-columns: 1fr;
}
.gallery a {
  display: block;
  overflow: hidden;
  background: #e8e4dc;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery a:hover img { transform: scale(1.03); }
.gallery a:nth-child(1) img,
.gallery a:nth-child(2) img { aspect-ratio: 16 / 10; }

/* Lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.94);
  z-index: 80;
  padding: 1.5rem;
  overflow: auto;
}
.lb:target { display: grid; place-items: center; }
.lb img {
  max-width: min(1200px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 1;
  padding: .4rem;
}
.lb p {
  color: rgba(255,255,255,.7);
  text-align: center;
  margin-top: .8rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Form */
form {
  display: grid;
  gap: .9rem;
  max-width: 34rem;
}
label {
  display: grid;
  gap: .35rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  padding: .85rem .9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
textarea { min-height: 8rem; resize: vertical; }

.note {
  font-size: .85rem;
  color: var(--muted);
  max-width: 40ch;
  margin-top: .4rem;
}

.contact-list {
  display: grid;
  gap: .85rem;
  margin: 1.2rem 0 1.6rem;
}
.contact-list a {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  width: fit-content;
  padding-bottom: .15rem;
}
.contact-list a:hover { border-color: var(--ink); }

.badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.badges img {
  height: 48px;
  width: auto;
}
.badge-energy { height: 42px; }
.badge-water { height: 52px; }

.facts {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.facts dt {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wood);
  margin-bottom: .25rem;
}
.facts dd {
  margin: 0;
  font-size: 1.05rem;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.4rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.foot-grid {
  display: grid;
  gap: 1.4rem;
}
.foot-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}
.foot-brand img {
  width: 5.5rem;
  height: 5.5rem;
  flex-shrink: 0;
  object-fit: cover;
}
.site-footer strong {
  letter-spacing: .04em;
}
.site-footer p, .site-footer a {
  font-size: .88rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer a:hover { color: var(--ink); }
.cities {
  font-size: .8rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.mail-line {
  font-size: .72rem !important;
  color: var(--muted) !important;
  margin-top: .8rem;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
}
.foot-nav a {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (min-width: 720px) {
  .site-header { padding: 0 2rem; }
  .brand-text { display: flex; }
  .burger { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .2rem 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .site-nav a { padding: .3rem 0; }
  .site-nav .btn {
    width: auto;
    margin-top: 0;
    margin-left: .6rem;
    padding: .7rem 1.05rem;
  }
  .split { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .split.reverse { grid-template-columns: .85fr 1.15fr; }
  .split.reverse .split-copy { order: -1; }
  .mosaic { grid-template-columns: 1.2fr .8fr; }
  .mosaic-3 { grid-template-columns: 1fr 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .wrap, .hero-inner { width: min(var(--max), calc(100% - 4rem)); }
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .gallery a:nth-child(1) { grid-column: span 2; }
  .gallery a:nth-child(1) img { aspect-ratio: 16 / 9; min-height: 360px; }
  .city-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-inner { margin-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .gallery img { transition: none; }
}

.tour {
  margin-top: 1.4rem;
  background: #111;
}
.tour video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}
