.measurement-page * {
  letter-spacing: 0;
}

.measurement-header .container {
  max-width: 980px;
}

.measurement-header h1 {
  max-width: 920px;
}

.measurement-page .problem-copy > section > h2,
.measurement-page .problem-copy > section > p:not(.format-label, .gate-note, .source-line) {
  max-width: 700px;
}

.measurement-answer {
  border-left-color: #2e6d64;
  background: #edf4f1;
}

.measurement-map {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 2fr);
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.measurement-change-core {
  display: flex;
  min-height: 380px;
  padding: 34px 30px;
  flex-direction: column;
  justify-content: center;
  background: #9c5f47;
  color: #fff;
}

.measurement-change-core span,
.measurement-map-links article > span,
.change-brief article > span,
.measurement-case-values article span {
  display: block;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.measurement-change-core strong {
  max-width: 150px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1.05;
}

.measurement-change-core p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.6;
}

.measurement-map-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.measurement-map-links article {
  min-height: 190px;
  padding: 30px 28px;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.measurement-map-links article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.measurement-map-links article > span,
.change-brief article > span {
  color: #9c5f47;
}

.measurement-map-links h3,
.change-brief h3,
.decision-gate h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.measurement-map-links p,
.change-brief p,
.decision-gate li p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.68;
}

.decision-gate {
  padding: 42px 40px;
  background: #202a27;
  color: #fff;
}

.decision-gate .format-label,
.decision-gate h2 {
  color: #fff;
}

.decision-gate ol {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.decision-gate li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.decision-gate li > span {
  color: #d8b29c;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.decision-gate li p {
  color: rgba(255, 255, 255, 0.7);
}

.gate-note {
  margin: 26px 0 0;
  padding: 20px 22px;
  border-left: 3px solid #d8b29c;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

.measurement-case {
  padding: 42px 40px;
  background: #f3eee9;
}

.measurement-case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 36px;
  align-items: end;
}

.measurement-case-heading h2 {
  margin-bottom: 0;
}

.case-status {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid #9c5f47;
  color: #6d594f;
  font-size: 0.82rem;
  line-height: 1.6;
}

.measurement-case-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  gap: 1px;
  margin: 32px 0 26px;
  align-items: stretch;
  background: #d4c6bb;
}

.measurement-case-values article {
  min-height: 170px;
  padding: 28px;
  background: #fff;
}

.measurement-case-values article span {
  color: #6d594f;
}

.measurement-case-values article strong {
  display: block;
  margin-bottom: 10px;
  color: #202a27;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
}

.measurement-case-values article p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.82rem;
  line-height: 1.55;
}

.change-arrow {
  display: flex;
  padding: 18px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #9c5f47;
  color: #fff;
}

.change-arrow span {
  font-weight: 800;
}

.change-arrow b {
  margin-top: 8px;
  font-size: 1.45rem;
}

.measurement-case > p:not(.format-label) {
  max-width: 680px;
}

.change-brief {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--color-border);
}

.change-brief article {
  grid-column: span 2;
  min-height: 210px;
  padding: 28px 24px;
  background: #fff;
}

.change-brief article:nth-child(4),
.change-brief article:nth-child(5),
.change-brief article:nth-child(6) {
  background: #edf4f1;
}

.measurement-boundary-grid article:first-child {
  border-color: #b9cfc6;
  background: #edf4f1;
}

.measurement-boundary-grid article:last-child {
  background: #faf9f7;
}

@media (max-width: 900px) {
  .measurement-map {
    grid-template-columns: 1fr;
  }

  .measurement-change-core {
    min-height: 250px;
  }

  .measurement-case-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .change-brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .change-brief article,
  .change-brief article:nth-child(4),
  .change-brief article:nth-child(5),
  .change-brief article:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .measurement-header {
    padding: 104px 0 42px;
  }

  .measurement-header h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .measurement-header p:last-child {
    max-width: 340px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .measurement-page .problem-breadcrumb {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .measurement-map-links,
  .measurement-case-values,
  .change-brief {
    grid-template-columns: 1fr;
  }

  .measurement-map-links article {
    min-height: 0;
    border-left: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .measurement-map-links article:nth-last-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .decision-gate,
  .measurement-case {
    padding: 30px 24px;
  }

  .measurement-case-values article {
    min-height: 0;
  }

  .change-arrow {
    min-height: 76px;
  }

  .change-arrow b {
    transform: rotate(90deg);
  }

  .change-brief article {
    min-height: 0;
    grid-column: auto;
  }
}
