.construction-custom-remove {
  display: none !important;
}

.construction-coverage-heading {
  max-width: none !important;
}

.construction-coverage-grid {
  align-items: stretch !important;
}

.construction-coverage-grid > .construction-coverage-item {
  min-height: 220px !important;
  height: 100% !important;
  align-self: stretch !important;
}

.construction-coverage-grid > div.construction-coverage-item {
  display: flex !important;
  transform: none !important;
  opacity: 1 !important;
}

.construction-coverage-card {
  position: relative !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 220px !important;
  height: 100% !important;
}

.construction-coverage-card > .text-meta:first-child {
  position: absolute !important;
  top: 2rem !important;
  left: 2rem !important;
}

.construction-coverage-card > div {
  width: 100% !important;
}

.construction-programme-heading {
  max-width: none !important;
}

.construction-process-track,
.construction-process-panel {
  position: relative;
}

.construction-process-panel {
  z-index: 1;
}

.construction-process-marker {
  position: absolute !important;
  z-index: 4;
  top: 1rem !important;
  left: 1.5rem !important;
  display: grid !important;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(184, 137, 61, 0.48);
  border-radius: 999px;
  background: #f4eee6;
  color: #9a6b26 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 0.68rem !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.construction-process-connector {
  position: absolute;
  z-index: 3;
  top: 2.25rem;
  right: 0;
  left: 0;
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(184, 137, 61, 0.2);
  pointer-events: none;
}

.construction-process-connector::after {
  position: absolute;
  top: -0.5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8893d, #f1d397);
  box-shadow: 0 0 10px rgba(184, 137, 61, 0.72);
  content: "";
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: width;
}

.construction-process-panel--step-1 .construction-process-connector::after { animation-name: construction-process-draw-1; }
.construction-process-panel--step-2 .construction-process-connector::after { animation-name: construction-process-draw-2; }
.construction-process-panel--step-3 .construction-process-connector::after { animation-name: construction-process-draw-3; }
.construction-process-panel--step-4 .construction-process-connector::after { animation-name: construction-process-draw-4; }
.construction-process-panel--step-5 .construction-process-connector::after { animation-name: construction-process-draw-5; }

.construction-process-panel--first .construction-process-connector { left: 2.75rem; }
.construction-process-panel--last .construction-process-connector { right: calc(100% - 2.75rem); }

@keyframes construction-process-draw-1 {
  0% { width: 0; }
  20%, 99.99% { width: 100%; }
  100% { width: 0; }
}

@keyframes construction-process-draw-2 {
  0%, 20% { width: 0; }
  40%, 99.99% { width: 100%; }
  100% { width: 0; }
}

@keyframes construction-process-draw-3 {
  0%, 40% { width: 0; }
  60%, 99.99% { width: 100%; }
  100% { width: 0; }
}

@keyframes construction-process-draw-4 {
  0%, 60% { width: 0; }
  80%, 99.99% { width: 100%; }
  100% { width: 0; }
}

@keyframes construction-process-draw-5 {
  0%, 80% { width: 0; }
  99.99% { width: 100%; }
  100% { width: 0; }
}

@media (max-width: 767px) {
  .construction-process-panel {
    padding-right: 1.5rem !important;
    padding-left: 5.5rem !important;
  }

  .construction-process-marker {
    right: auto !important;
    left: 1.5rem !important;
  }

  .construction-process-connector {
    top: 0;
    right: auto;
    bottom: 0;
    left: 2.75rem;
    width: 1px;
    height: auto;
  }

  .construction-process-connector::after {
    top: 0;
    left: -0.5px;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, #b8893d, #f1d397);
    will-change: height;
  }

  .construction-process-panel--step-1 .construction-process-connector::after { animation-name: construction-process-draw-mobile-1; }
  .construction-process-panel--step-2 .construction-process-connector::after { animation-name: construction-process-draw-mobile-2; }
  .construction-process-panel--step-3 .construction-process-connector::after { animation-name: construction-process-draw-mobile-3; }
  .construction-process-panel--step-4 .construction-process-connector::after { animation-name: construction-process-draw-mobile-4; }
  .construction-process-panel--step-5 .construction-process-connector::after { animation-name: construction-process-draw-mobile-5; }

  .construction-process-panel--first .construction-process-connector { top: 2.25rem; right: auto; left: 2.75rem; }
  .construction-process-panel--last .construction-process-connector { right: auto; left: 2.75rem; bottom: calc(100% - 2.25rem); }
}

@keyframes construction-process-draw-mobile-1 {
  0% { height: 0; }
  20%, 99.99% { height: 100%; }
  100% { height: 0; }
}

@keyframes construction-process-draw-mobile-2 {
  0%, 20% { height: 0; }
  40%, 99.99% { height: 100%; }
  100% { height: 0; }
}

@keyframes construction-process-draw-mobile-3 {
  0%, 40% { height: 0; }
  60%, 99.99% { height: 100%; }
  100% { height: 0; }
}

@keyframes construction-process-draw-mobile-4 {
  0%, 60% { height: 0; }
  80%, 99.99% { height: 100%; }
  100% { height: 0; }
}

@keyframes construction-process-draw-mobile-5 {
  0%, 80% { height: 0; }
  99.99% { height: 100%; }
  100% { height: 0; }
}

.construction-projects-cta {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #cdbfa9;
  padding: 2rem;
  color: #17130e;
  text-decoration: none;
  transition: background-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.construction-projects-cta::before {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(23, 19, 14, 0.2);
  border-radius: 999px;
  content: "";
  transition: transform 500ms ease, border-color 260ms ease;
}

.construction-projects-cta-number {
  position: relative;
  z-index: 1;
  color: #60492d;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.construction-projects-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.construction-projects-cta-copy em {
  color: #60492d;
  font-weight: inherit;
}

.construction-projects-cta-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(16, 16, 16, 0.8);
  border-radius: 999px;
  background: #101010;
  color: #d2a558;
  font-size: 1rem;
  transition: background-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.construction-projects-cta:hover,
.construction-projects-cta:focus-visible {
  background: #ad9a80;
  color: #101010;
  outline: none;
  transform: translateY(-2px);
}

.construction-projects-cta:hover::before,
.construction-projects-cta:focus-visible::before {
  border-color: rgba(16, 16, 16, 0.2);
  transform: scale(1.12);
}

.construction-projects-cta:hover .construction-projects-cta-arrow,
.construction-projects-cta:focus-visible .construction-projects-cta-arrow {
  background: #101010;
  color: #d2a558;
  transform: translate(2px, -2px);
}

@media (min-width: 900px) {
  .construction-coverage-heading,
  .construction-programme-heading {
    white-space: nowrap;
  }
}

/* Programme steps: reveal the matching stage photo over the whole card. Desktop reveals on hover;
   touch devices reveal on tap (JS toggles .is-revealed). Mirrors the homepage process-step behaviour. */
.construction-process-panel {
  position: relative;
  overflow: hidden;
}
.construction-process-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.construction-process-panel--step-1::after { background-image: url("/assets/process/1.png"); }
.construction-process-panel--step-2::after { background-image: url("/assets/process/2.png"); }
.construction-process-panel--step-3::after { background-image: url("/assets/process/3.png"); }
.construction-process-panel--step-4::after { background-image: url("/assets/process/4.png"); }
.construction-process-panel--step-5::after { background-image: url("/assets/process/5.png"); }
@media (hover: hover) {
  .construction-process-panel:hover::after { opacity: 1; }
}
.construction-process-panel.is-revealed::after { opacity: 1; }
@media (hover: none) {
  .construction-process-panel {
    cursor: pointer;
  }
  .construction-process-panel::before {
    content: "Tap to view";
    position: absolute;
    z-index: 6;
    right: 1rem;
    bottom: 1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(24, 22, 20, 0.72);
    color: #f4efe9;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .construction-process-panel.is-revealed::before { opacity: 0; }
}
