/* Quiet Landmark — JDI board landing */
.jdi-board-frame,
.care-board-frame {
  width: 100%;
  margin: 1.25rem 0 0;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid rgba(196, 202, 210, 0.9);
  border-radius: 0.45rem;
}
.jdi-board-frame img,
.care-board-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
}

/* Quiet Landmark — 7 St Mary's Drive case study */
.stmarys-case {
  margin: 0;
  padding: 1.25rem 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(196, 202, 210, 0.9);
  border-radius: 0.45rem;
  color: #1C2020;
  font-family: Verdana, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.stmarys-case__head {
  margin: 0 0 1.15rem;
}
.stmarys-case__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A6066;
}
.stmarys-case__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1C2020;
}
.stmarys-case__sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #5A6066;
}
.stmarys-case__accent {
  display: block;
  width: 2.25rem;
  height: 3px;
  margin: 0.85rem 0 0;
  background: #F4B800;
  border: 0;
}

.stmarys-stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 860px) {
  .stmarys-stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

.stmarys-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #F8F9FB;
  border: 1px solid rgba(196, 202, 210, 0.75);
  border-radius: 0.4rem;
  overflow: hidden;
  min-width: 0;
}
.stmarys-stage__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem 0.55rem;
  border-bottom: 1px solid rgba(196, 202, 210, 0.7);
}
.stmarys-stage__kicker {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A6066;
}
.stmarys-stage__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1C2020;
}
.stmarys-stage__img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  object-position: center;
}
.stmarys-stage__body {
  padding: 0.75rem 0.85rem 0.95rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.stmarys-stage__prose {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5A6066;
}
.stmarys-stage__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #1C2020;
}
.stmarys-stage__facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0;
  border-top: 1px solid rgba(196, 202, 210, 0.55);
}
.stmarys-stage__facts li:first-child {
  border-top: 0;
  padding-top: 0;
}
.stmarys-stage__facts span {
  color: #5A6066;
}
.stmarys-stage__facts strong {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stmarys-strip {
  margin: 1.15rem 0 0;
  padding: 1rem 1rem 1.05rem;
  background: #F8F9FB;
  border: 1px solid rgba(196, 202, 210, 0.85);
  border-radius: 0.4rem;
}
.stmarys-strip__title {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A6066;
}
.stmarys-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .stmarys-paths {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.stmarys-path {
  margin: 0;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(196, 202, 210, 0.8);
  border-radius: 0.35rem;
}
.stmarys-path--after {
  border-color: rgba(244, 184, 0, 0.55);
  box-shadow: inset 3px 0 0 #F4B800;
}
.stmarys-path__label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1C2020;
}
.stmarys-path__math {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #1C2020;
  font-variant-numeric: tabular-nums;
}
.stmarys-path__math li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.22rem 0;
  border-top: 1px solid rgba(196, 202, 210, 0.5);
}
.stmarys-path__math li:first-child {
  border-top: 0;
  padding-top: 0;
}
.stmarys-path__math .muted {
  color: #5A6066;
}
.stmarys-path__math .sum {
  font-weight: 600;
}
.stmarys-path__math .thin {
  color: #5A6066;
  font-style: italic;
  font-weight: 400;
}

.stmarys-surplus {
  margin: 0.9rem 0 0;
  padding: 0.85rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(244, 184, 0, 0.45);
  border-radius: 0.35rem;
}
.stmarys-surplus__label {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A6066;
}
.stmarys-surplus__value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1C2020;
  font-variant-numeric: tabular-nums;
}
.stmarys-surplus__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5A6066;
}
