body {
  background: #eef1ef;
  color: #1f2526;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.brief-page {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 32px 0 48px;
}

.masthead,
.hero-copy,
.risk-card,
.budget-card,
.map-panel,
.timeline-card,
.decision-card,
.stat-card,
.workstream {
  background: #ffffff;
  border: 1px solid #d6ded9;
  box-shadow: 0 1px 0 rgba(31, 37, 38, 0.04);
}

.masthead {
  padding: 34px 38px 30px;
  border-top: 6px solid #275d78;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  color: #5d6b65;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 0.96;
}

.summary {
  max-width: 760px;
  margin-bottom: 22px;
  color: #46524d;
  font-size: 19px;
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: #4d5955;
  font-size: 13px;
}

.meta-row span {
  min-height: 42px;
  padding: 10px 12px;
  background: #f1f4f2;
  border: 1px solid #dce3df;
}

.priority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.hero-copy {
  display: flex;
  min-height: 294px;
  padding: 34px 38px;
  flex-direction: column;
  justify-content: center;
  border-left: 6px solid #b45c33;
}

.hero-copy h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.hero-copy p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #46524d;
  font-size: 16px;
}

.priority-stack {
  display: grid;
  gap: 18px;
}

.decision-card,
.risk-card {
  padding: 24px 24px 22px;
}

.decision-card {
  border-top: 5px solid #b45c33;
}

.risk-card {
  border-top: 5px solid #275d78;
}

.decision-card h2,
.risk-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.16;
}

.decision-card p:last-child,
.risk-card span {
  display: block;
  margin-bottom: 0;
  color: #4c5753;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-card,
.stat-card.narrow,
.stat-card.wide,
.stat-card.odd {
  display: flex;
  min-height: 124px;
  width: auto;
  padding: 20px 22px;
  flex-direction: column;
  justify-content: space-between;
}

.stat-value {
  display: block;
  color: #263f4b;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  display: block;
  color: #59645f;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.workstream,
.timeline-card,
.budget-card,
.map-panel {
  padding: 26px;
}

.workstream {
  grid-row: span 2;
}

.workstream h2,
.budget-card h2,
.map-panel h2 {
  margin-bottom: 16px;
  font-size: 27px;
  line-height: 1.08;
}

.workstream-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workstream-list section {
  min-height: 168px;
  padding: 16px;
  background: #f7f9f7;
  border: 1px solid #dce4df;
  border-top: 4px solid #8aa28e;
}

.workstream-list h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.workstream-list p,
.budget-card p,
.map-panel p {
  margin-bottom: 0;
  color: #4d5854;
}

.timeline-card {
  border-top: 5px solid #263f4b;
}

.timeline-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-card li {
  padding-left: 14px;
  border-left: 3px solid #c8d2cc;
}

.timeline-card strong {
  color: #273d48;
}

.budget-card {
  border-top: 5px solid #8a7045;
}

.map-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: center;
}

.map-sketch {
  position: relative;
  min-height: 270px;
  background:
    linear-gradient(90deg, rgba(39, 93, 120, 0.16) 0 34%, transparent 34% 100%),
    linear-gradient(0deg, rgba(79, 119, 86, 0.17) 0 28%, transparent 28% 100%),
    #f3f6f4;
  border: 1px solid #cbd6d0;
}

.map-sketch::before,
.map-sketch::after {
  position: absolute;
  content: "";
  background: #ffffff;
  border: 1px solid #cad4ce;
}

.map-sketch::before {
  left: 14%;
  top: 46%;
  width: 72%;
  height: 18px;
}

.map-sketch::after {
  left: 42%;
  top: 14%;
  width: 18px;
  height: 72%;
}

.zone {
  position: absolute;
  z-index: 1;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid #bfcbc5;
  color: #263032;
  font-size: 12px;
  font-weight: 800;
}

.quay { left: 8%; top: 18%; }
.pier { right: 9%; top: 22%; }
.gate { left: 40%; bottom: 23%; }
.walk { right: 10%; bottom: 10%; }

@media (max-width: 900px) {
  .brief-page {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
  }

  .masthead {
    padding: 28px 24px 24px;
  }

  .meta-row,
  .priority-grid,
  .content-grid,
  .map-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 28px 24px;
  }

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

  .workstream {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .brief-page {
    width: min(100% - 20px, 1180px);
  }

  .meta-row,
  .stats-row,
  .workstream-list {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    font-size: 31px;
  }

  .workstream,
  .timeline-card,
  .budget-card,
  .map-panel,
  .decision-card,
  .risk-card {
    padding: 22px;
  }

  .workstream-list section,
  .stat-card,
  .stat-card.narrow,
  .stat-card.wide,
  .stat-card.odd {
    min-height: auto;
  }

  .map-sketch {
    min-height: 220px;
  }
}
