/* Parallel line components are not a confirmed sequential process. */
.process-flow.process-flow--parallel span:not(:last-child)::after { content: none; }
/* Confirmed project milestones stay readable beside the delivery narrative. */
.project-milestones {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.project-milestones li { min-width: 0; border-top: 2px solid #cc37324d; padding-top: 14px; }
.project-milestones li:last-child { border-top-color: #cc3732; }
.project-milestones span { display: block; color: #a33431; font: 600 25px/1.3 var(--font-latin); letter-spacing: -.03em; }
.project-milestones strong { display: block; margin-top: 7px; color: #344e5d; font-size: 12px; font-weight: 550; line-height: 1.7; }
@media(max-width:640px) {
  .project-milestones { gap: 10px; margin-top: 20px; }
  .project-milestones span { font-size: 22px; }
  .project-milestones strong { font-size: 11px; }
}
/* A continuous, photo-tinted project visit inside the existing detail dialog. */
.project-visit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #243740;
  background: #e6edeb;
}

.project-visit-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.project-visit-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(50px) saturate(0.65);
  opacity: 0.22;
  transform: scale(1.12);
}

.project-visit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, rgba(237, 242, 237, 0.22) 45%, rgba(237, 242, 237, 0.57));
  pointer-events: none;
}

.project-visit-cover {
  position: relative;
  margin: 0;
  height: clamp(270px, 41vw, 430px);
  overflow: hidden;
}

.project-visit-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-visit-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(230, 237, 235, 0.16) 45%, rgba(230, 237, 235, 0.60) 78%, #e6edeb);
  pointer-events: none;
}

.project-visit-cover figcaption {
  position: absolute;
  top: 24px;
  left: clamp(22px, 4.5vw, 48px);
  right: 25px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 20px;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(13, 35, 40, 0.65);
}

.project-visit-cover figcaption > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-visit-cover figcaption > span:first-child::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.project-visit-body {
  padding: 30px clamp(22px, 4.5vw, 48px) 34px;
  background: linear-gradient(180deg, #e6edeb, rgba(230, 237, 235, 0.56) 110px, rgba(235, 241, 235, 0.14));
}

.project-visit-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin: 0 0 10px;
  color: #536a70;
  font: 10px/1.5 "Segoe UI", sans-serif;
  letter-spacing: 0.10em;
}

.project-visit-kicker span {
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.project-visit-heading h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.project-visit-overview {
  max-width: 900px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.95;
  color: #435b63;
}

.project-visit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
  padding: 22px 0;
  border-block: 1px solid rgba(87, 112, 117, 0.20);
}

.project-visit-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.project-visit-metrics dt {
  font-size: 12px;
  line-height: 1.6;
  color: #52686e;
}

.project-visit-metrics dd {
  margin: 0;
  color: #253f48;
  font: 500 clamp(22px, 3vw, 31px)/1.3 "Segoe UI", var(--display);
  letter-spacing: -0.035em;
}

.project-visit-process h3 {
  margin: 0 0 11px;
  font-size: 14px;
  font-weight: 600;
}

.project-visit-process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-visit-process li {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.8;
  color: #435b63;
}

.project-visit-process li:not(:last-child)::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: rgba(87, 112, 117, 0.44);
}

.project-visit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 27px;
}

.project-visit-read {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  color: #a73732;
  box-shadow: 0 1px 0 currentColor;
  transition: color 180ms ease;
}

.project-visit-read .hd-icon {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.project-visit-navigation {
  display: flex;
  gap: 18px;
  align-items: center;
}

.project-visit-navigation button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(66, 91, 99, 0.32);
  border-radius: 50%;
  color: #284650;
  background: rgba(238, 244, 240, 0.24);
  touch-action: manipulation;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-visit-navigation .hd-icon {
  width: 19px;
  height: 19px;
}

.project-visit-navigation > span {
  min-width: 54px;
  text-align: center;
  font: 12px/1.4 "Segoe UI", sans-serif;
  color: #3a555e;
  letter-spacing: 0.08em;
}

.project-visit-navigation i {
  font-style: normal;
  color: #778b90;
}

@media (hover: hover) and (pointer: fine) {
  .project-visit-read:hover { color: #802720; }
  .project-visit-read:hover .hd-icon { transform: translate(2px, -2px); }
  .project-visit-navigation button:hover { background: #294b56; color: #fff; }
}

.project-visit-navigation button:active { transform: scale(0.95); }

@media (max-width: 640px) {
  .project-visit-cover { height: auto; aspect-ratio: 1.45; }
  .project-visit-cover figcaption { top: 19px; left: 20px; right: 65px; gap: 6px 16px; font-size: 11px; }
  .project-visit-body { padding: 22px 20px 26px; }
  .project-visit-kicker { gap: 6px 12px; font-size: 9px; margin-bottom: 8px; }
  .project-visit-heading h2 { font-size: 25px; line-height: 1.45; }
  .project-visit-overview { margin-top: 13px; font-size: 14px; line-height: 1.9; }
  .project-visit-metrics { margin: 19px 0; padding: 18px 0; gap: 12px; }
  .project-visit-metrics dt { font-size: 11px; line-height: 1.6; }
  .project-visit-metrics dd { font-size: clamp(19px, 5.3vw, 24px); line-height: 1.35; }
  .project-visit-process h3 { margin-bottom: 9px; }
  .project-visit-process li { font-size: 14px; }
  .project-visit-process li:not(:last-child)::after { width: 10px; margin: 0 8px; }
  .project-visit-footer { margin-top: 22px; gap: 15px; }
  .project-visit-navigation { gap: 12px; }
}

@media (max-width: 360px) {
  .project-visit-body { padding-inline: 17px; }
  .project-visit-footer { align-items: flex-start; flex-direction: column; }
  .project-visit-navigation { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .project-visit-read,
  .project-visit-read .hd-icon,
  .project-visit-navigation button { transition: none; }
  .project-visit-read:hover .hd-icon,
  .project-visit-navigation button:active { transform: none; }
}
