/* MCL Construction — pitch redesign by OurHub
   Vibe: modern technical, sustainability-forward.
   Palette: white #FAFAFA, ink #0F2233, steel blue #264E70, sage #3F7D58, energy yellow #E5B547. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FAFAFA;
  --white-pure: #FFFFFF;
  --bone: #F2F0EA;
  --ink: #0F2233;
  --ink-soft: rgba(15,34,51,0.72);
  --ink-faint: rgba(15,34,51,0.16);
  --steel: #264E70;
  --steel-soft: rgba(38,78,112,0.10);
  --sage: #3F7D58;
  --sage-soft: rgba(63,125,88,0.10);
  --yellow: #E5B547;
  --yellow-soft: rgba(229,181,71,0.18);
  --display: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 36px;
  background: rgba(250,250,250,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-faint);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--sage) 100%);
  border-radius: 2px;
  display: inline-block;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--steel); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 36px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg img {
  filter: brightness(1.05) saturate(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(250,250,250,0.94) 0%, rgba(250,250,250,0.78) 38%, rgba(250,250,250,0.30) 70%, rgba(250,250,250,0.10) 100%),
    radial-gradient(circle at 92% 8%, var(--yellow-soft) 0%, transparent 35%);
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
  background: var(--steel-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
  max-width: 18ch;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-sub em {
  font-style: italic;
  color: var(--sage);
  font-weight: 500;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white-pure);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--steel); transform: translateY(-1px); }
.btn-secondary {
  font-size: 14px; font-weight: 500;
  color: var(--steel);
  border-bottom: 1px solid var(--steel-soft);
  padding-bottom: 2px;
}
.btn-secondary:hover { border-color: var(--steel); }

.hero-stats {
  display: flex; flex-direction: column; gap: 20px;
}
.hero-stat {
  background: var(--white-pure);
  border: 1px solid var(--ink-faint);
  border-left: 3px solid var(--steel);
  padding: 26px 28px;
  border-radius: 4px;
  transition: transform 0.2s;
}
.hero-stat:hover { transform: translateX(2px); }
.hero-stat-accent { border-left-color: var(--yellow); background: linear-gradient(135deg, var(--white-pure) 0%, var(--yellow-soft) 100%); }
.hero-stat-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stat-unit {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 4px;
}
.hero-stat-lab {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ── SECTIONS ────────────────────────────────────────── */
.section { padding: 84px 36px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 26ch;
  color: var(--ink);
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 64ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── TIMELINE (HORIZONTAL) ───────────────────────────── */
.section-timeline { background: var(--bone); }
.timeline {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  /* horizontal connector line — sits between year row and dot row */
  content: '';
  position: absolute;
  top: 70px; left: 11px; right: 11px;
  height: 2px;
  background: linear-gradient(to right, var(--steel) 0%, var(--steel) 66%, var(--yellow) 100%);
  z-index: 0;
}
.timeline li {
  position: relative;
  z-index: 1;
  padding-top: 100px; /* year (top) + line + dot, then content */
}
.timeline-year {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--display);
  font-size: 30px;
  color: var(--steel);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.timeline-now .timeline-year { color: var(--ink); }
.timeline li::before {
  /* circle marker — centered on the line */
  content: '';
  position: absolute;
  left: 0; top: 60px;
  width: 22px; height: 22px;
  background: var(--white);
  border: 3px solid var(--steel);
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.timeline li:hover::before {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 0 6px rgba(229,181,71,0.20);
}
.timeline-now::before {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(229,181,71,0.15);
}
.timeline-now:hover::before {
  box-shadow: 0 0 0 8px rgba(229,181,71,0.30);
}
.timeline-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.timeline-sub {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ── SERVICES ────────────────────────────────────────── */
.section-services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.service-card {
  background: var(--white-pure);
  border: 1px solid var(--ink-faint);
  padding: 36px 32px;
  border-radius: 4px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--steel);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15,34,51,0.06);
}
.service-card-accent {
  background: linear-gradient(180deg, var(--white-pure) 0%, var(--sage-soft) 100%);
  border-color: var(--sage);
}
.service-card-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--steel);
  margin-bottom: 18px;
}
.service-card-accent .service-card-num { color: var(--sage); }
.service-card-title {
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.service-card-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── NET ZERO ────────────────────────────────────────── */
.section-netzero {
  background: var(--ink);
  color: var(--white);
}
.section-netzero .section-eyebrow { color: var(--yellow); }
.section-netzero .h2 { color: var(--white); }
.section-netzero .lead { color: rgba(250,250,250,0.72); }
.netzero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.netzero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 3px solid var(--sage);
  padding: 32px 28px;
  border-radius: 4px;
}
.netzero-card-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.netzero-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.netzero-card li {
  font-size: 15px;
  color: rgba(250,250,250,0.85);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.netzero-card li::before {
  content: ''; position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  background: var(--sage);
}
.netzero-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, var(--steel) 0%, var(--sage) 100%);
  padding: 36px 40px;
  border-radius: 4px;
}
.netzero-callout-num {
  font-family: var(--display);
  font-size: 84px;
  color: var(--yellow);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.netzero-callout-text {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
}

/* ── WORK GALLERY ────────────────────────────────────── */
.section-work {
  background: var(--white);
  padding-bottom: 40px;
}
.section-work .lead { margin-bottom: 0; }
.work-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  padding: 0 36px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.work-tile {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--ink-faint);
  border-radius: 4px;
}
.work-tile-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.work-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.work-tile:hover img { transform: scale(1.03); }
.work-tile figcaption {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  font-family: var(--display);
  font-size: 16px;
  color: var(--white);
  letter-spacing: -0.005em;
  background: linear-gradient(180deg, transparent 0%, rgba(15,34,51,0.85) 100%);
  padding: 28px 6px 4px;
  pointer-events: none;
}
.work-tile-feature figcaption { font-size: 22px; }

/* ── QUOTE ──────────────────────────────────────────── */
.section-quote {
  background: var(--bone);
  text-align: center;
}
.big-quote {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  max-width: 36ch;
  margin: 0 auto 28px;
}
.big-quote-attr {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
}

/* ── CONTACT ─────────────────────────────────────────── */
.section-contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  margin-top: 36px;
}
.contact-card {
  align-self: start;
  background: var(--bone);
  border: 1px solid var(--ink-faint);
  padding: 36px 32px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 28px;
}
.contact-card-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.contact-card-line {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
  font-weight: 500;
}
.contact-card-line.muted {
  color: var(--ink-soft);
  font-weight: 400;
}
.contact-card-line strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.contact-form {
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row span {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--steel);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--white-pure);
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: var(--bone);
}
.form-submit {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.10em;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--steel); transform: translateY(-1px); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  padding: 56px 36px;
  background: var(--ink);
  color: var(--white);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.footer-block, .footer-pitch { flex: 1; min-width: 280px; }
.footer-brand {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--white);
}
.footer-meta {
  font-size: 14px;
  color: rgba(250,250,250,0.62);
}
.footer-pitch {
  text-align: right;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 32px;
}
.footer-pitch-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.footer-pitch-line {
  font-size: 14px;
  color: rgba(250,250,250,0.62);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-pitch-link {
  font-size: 14px; font-weight: 500;
  color: var(--yellow);
  border-bottom: 1px solid rgba(229,181,71,0.4);
  padding-bottom: 2px;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 14px 22px; }
  .nav-links { display: none; }
  .hero { padding: 100px 22px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 56px 22px; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline::before {
    top: 0; bottom: 0; left: 11px;
    right: auto; width: 2px; height: auto;
    background: linear-gradient(to bottom, var(--steel) 0%, var(--steel) 66%, var(--yellow) 100%);
  }
  .timeline li { padding-top: 0; padding-left: 44px; }
  .timeline li::before { left: 0; top: 4px; }
  .timeline-year { position: static; margin-bottom: 8px; font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    padding: 0 22px;
    gap: 12px;
  }
  .work-tile-feature { grid-column: span 1; grid-row: span 1; }
  .netzero-grid { grid-template-columns: 1fr; }
  .netzero-callout { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-pitch { text-align: left; border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .timeline::before { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tile-feature { grid-column: span 2; grid-row: span 1; }
}


/* ── LIGHTBOX MODAL ─────────────────────────────────── */
.lb-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
}
.lb-modal.is-open { display: flex; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 12, 18, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lb-stage {
  position: relative;
  z-index: 2;
  max-width: 92vw; max-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  pointer-events: none;
}
.lb-img {
  max-width: 92vw; max-height: 78vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6);
  pointer-events: auto;
  background: #000;
}
.lb-caption {
  font-family: inherit;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 80vw;
}
.lb-count {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  user-select: none;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}
.lb-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 28px; line-height: 1;
  border-radius: 50%;
}
.lb-prev, .lb-next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 36px; line-height: 1;
  border-radius: 50%;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 768px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 26px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 22px; }
}
