/* ═══════════════════════════════════════════════════
   MAY DEVELOPMENTS — STYLESHEET
   Palette: Navy #0D1B2A  |  White #FFFFFF  |  Accent #B5622E (terracotta)
   Fonts: Montserrat (headings), Inter (body)
═══════════════════════════════════════════════════ */

:root {
  --navy:      #0D1B2A;
  --navy-mid:  #1A2E42;
  --navy-soft: #243447;
  --white:     #FFFFFF;
  --off-white: #F7F5F2;
  --accent:    #B5622E;
  --accent-lt: #C97344;
  --text:      #1A1A1A;
  --text-muted:#5A6472;
  --border:    #E2DDD8;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg: 0 8px 40px rgba(13,27,42,0.18);
  --transition: 0.22s ease;
  --max-w:     1120px;
}

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }

/* ─── UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,98,46,0.35);
}

/* ─── HEADER / NAV ───────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.nav-logo:hover img { opacity: 0.85; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent-lt); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13,27,42,0.78) 0%,
    rgba(13,27,42,0.55) 60%,
    rgba(13,27,42,0.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px 0;
  max-width: 720px;
  transform: translateY(-12%);
}
.hero-logo {
  width: min(380px, 55vw);
  height: auto;
  margin: 0 auto 36px;
  filter: brightness(0) invert(1);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--white); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─── ABOUT ─────────────────────────────────────── */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-site-photo {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 480px;
}
.about-site-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ─── CRANE FEATURE (removed) ───────────────────── */
.crane-img-wrap {
  position: relative;
  max-height: 540px;
  overflow: hidden;
}
.crane-img-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  opacity: 0.82;
  transition: opacity 0.4s;
}
.crane-img-wrap:hover img { opacity: 1; }
.crane-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, transparent 100%);
  padding: 60px 40px 36px;
  color: var(--white);
}
.crane-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 10px;
}
.crane-caption p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  font-weight: 300;
}

/* ─── PROJECTS ───────────────────────────────────── */
.projects { background: var(--white); }
.projects h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 480px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
/* Featured card spans 2 cols */
.project-card--featured {
  grid-column: span 2;
}
.project-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.04); }

/* Placeholder for projects without photos */
.project-card-img--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-inner svg {
  width: 64px;
  height: 64px;
  color: rgba(255,255,255,0.18);
  stroke: rgba(255,255,255,0.2);
}

/* Status badges */
.project-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.project-status--done     { background: var(--navy); color: var(--white); }
.project-status--active   { background: var(--accent); color: var(--white); }
.project-status--upcoming { background: rgba(13,27,42,0.55); color: rgba(255,255,255,0.9); backdrop-filter: blur(4px); }

.project-card-body {
  padding: 24px 28px 28px;
}
.project-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.project-type {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.project-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Mini gallery on featured card */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.project-gallery img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity var(--transition);
}
.project-gallery img:hover { opacity: 0.85; }

/* ─── CONTACT ────────────────────────────────────── */
.contact { background: var(--navy); color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact .section-label { color: var(--accent-lt); }
.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.contact-text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  font-size: 1.02rem;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.97rem;
}
.contact-item svg { flex-shrink: 0; stroke: var(--accent-lt); }
.contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--accent-lt); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-lt);
  background: rgba(255,255,255,0.10);
}
.form-note {
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: #07111B;
  padding: 36px 0;
  text-align: center;
  color: rgba(255,255,255,0.35);
}
.footer-logo {
  height: 100px;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.site-footer p { font-size: 0.82rem; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card--featured {
    grid-column: span 2;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .nav-inner { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-links a { font-size: 1.2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 100; }

  .hero-logo { width: min(280px, 65vw); height: auto; margin-bottom: 24px; }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card--featured {
    grid-column: span 1;
  }
  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .crane-caption {
    padding: 40px 20px 24px;
  }
  .crane-img-wrap img {
    height: 360px;
  }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ─── CURRENT PROJECT / SUDBURY ─────────────────── */
.current-project { background: var(--off-white); }
.current-project h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.sudbury-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sudbury-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.sudbury-gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.sudbury-gallery:hover .sudbury-gallery-main img { transform: scale(1.02); }
.sudbury-gallery-thumb {
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.sudbury-gallery-thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.sudbury-gallery:hover .sudbury-gallery-thumb img { transform: scale(1.02); }
@media (max-width: 640px) {
  .sudbury-gallery { grid-template-columns: 1fr; }
  .sudbury-gallery-main { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .sudbury-gallery-main img, .sudbury-gallery-thumb img { height: 240px; }
  .sudbury-gallery-thumb { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 520px;
}
.gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}
.gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, outline 0.2s ease;
  outline: 3px solid transparent;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  opacity: 1;
  outline: 3px solid var(--accent);
}
.sudbury-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.sudbury-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail-value {
  font-size: 0.95rem;
  color: var(--text);
}
.detail-value a {
  color: var(--accent);
  text-decoration: underline;
}

/* ─── UPCOMING PROJECTS ─────────────────────────── */
.upcoming { background: var(--navy); }
.upcoming .section-label { color: rgba(255,255,255,0.5); }
.upcoming h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.upcoming-card {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.upcoming-card-img {
  position: relative;
  height: 200px;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upcoming-card-img svg {
  width: 60px;
  height: 60px;
  color: rgba(255,255,255,0.2);
}
.upcoming-card-img--placeholder { }
.upcoming-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}
.upcoming-card-body {
  padding: 24px;
}
.upcoming-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.upcoming-card-body .project-type {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}
.upcoming-card-body p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* ─── PAST PROJECTS ─────────────────────────────── */
.past-projects { background: var(--white); }
.past-projects h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.past-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.past-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
}
.past-card-img {
  height: 200px;
  overflow: hidden;
}
.past-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.past-card:hover .past-card-img img { transform: scale(1.04); }
.past-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
}
.past-card-img--placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.4;
}
.past-card-body {
  padding: 16px 20px;
}
.past-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.past-card-body .project-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

@media (max-width: 900px) {
  .sudbury-details { grid-template-columns: repeat(2, 1fr); }
  .past-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .sudbury-details { grid-template-columns: 1fr; padding: 24px; }
  .past-grid { grid-template-columns: repeat(2, 1fr); }
  .upcoming-grid { grid-template-columns: 1fr; }
}

/* ─── LIGHTBOX ───────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute;
  top: 20px; right: 28px;
  background: none; border: none;
  color: white; font-size: 2.4rem;
  cursor: pointer; line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none; color: white;
  font-size: 2.8rem; padding: 12px 20px;
  cursor: pointer; border-radius: 4px;
  transition: background 0.2s;
  line-height: 1;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-counter {
  position: absolute;
  bottom: 24px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
}

/* ─── PAST CARD HOVER / CLICK ────────────────────── */
.past-card:not(.past-card--nophoto) {
  cursor: pointer;
}
.past-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.25s;
}
.past-card:hover .past-card-overlay { opacity: 1; }
.past-card-img { position: relative; }

/* ─── SUDBURY PLACEHOLDER ────────────────────────── */
.sudbury-gallery-placeholder {
  background: var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery-placeholder-inner {
  text-align: center;
  color: var(--text-muted);
}
.gallery-placeholder-inner svg { margin: 0 auto 12px; opacity: 0.4; }
.gallery-placeholder-inner p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ─── UPCOMING WIDE CARD (William St) ───────────── */
.upcoming-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: stretch;
  min-height: 400px;
}
.upcoming-plan-wrap {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
.upcoming-plan-wrap img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  width: auto;
  height: auto;
}
.upcoming-card--wide .upcoming-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ─── HERO BUTTON VISIBILITY ─────────────────────── */
.btn-hero {
  margin-top: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

@media (max-width: 680px) {
  .upcoming-card--wide {
    grid-template-columns: 1fr;
  }
  .upcoming-plan-wrap {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .upcoming-card--wide .upcoming-card-body {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}
