/* Hero and progress */
.hero { padding-top: clamp(48px, 8vw, 104px); display: flex; flex-direction: column; gap: 28px; }
.hero--narrow { max-width: 760px; gap: 24px; }
.hero__split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero__intro { max-width: 640px; }
.score { display: flex; align-items: baseline; gap: 12px; }
.score__number { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.score__total { color: #8a817c; }
.preview__count .score__total { color: var(--ink-faint); }
.ticks { display: flex; gap: 3px; height: 4px; }
.ticks--tight { gap: 3px; }
.ticks--tall { height: 6px; }
.tick { flex: 1 1 0; min-width: 2px; border-radius: 2px; background: var(--line); }
.tick--approved { background: var(--ink); }
.tick--awaiting-approval, .tick--discussing { background: var(--red); }
.tick--in-progress { background: var(--ink-faint); }
.tick.tick--highlight { background: var(--green); }
.filters { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.filters a { text-decoration: none; color: var(--ink-soft); padding-bottom: 4px; }
.filters a[aria-current] { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--ink); }

/* Sections */
.band { margin: 96px calc(var(--gutter) * -1) 0; padding: 32px var(--gutter) 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 40px; align-items: start; }
.band > :first-child, .section > :first-child { grid-column: 1 / span 3; min-width: 180px; }
.band > :last-child, .section > :last-child { grid-column: 4 / span 9; min-width: 280px; }
.band--alert { background: var(--red-wash); border-top: 3px solid var(--red); }
.band__body { gap: 14px; }
.section { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 40px; align-items: start; }

@media (max-width: 760px) {
  /* Everything spans the full width here, so the 12 columns need no gaps.
     With them, eleven 40px gaps alone are wider than a phone. */
  .band, .section { column-gap: 0; }
  .band > :first-child, .band > :last-child, .section > :first-child, .section > :last-child { grid-column: 1 / -1; min-width: 0; }
}

.milestone-list { list-style: none; padding: 0; }
.milestone { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 4px 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.milestone:first-child { padding-top: 0; }
#approved .milestone { column-gap: 24px; }
.milestone--quiet .milestone__title { color: var(--ink-soft); }
.milestone__text { display: flex; flex-direction: column; gap: 4px; }
.milestone__title { font-size: 16px; }
.milestone__link { text-decoration: none; }
.milestone__link:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* An approved milestone, read only */
.answers { margin: 0; }
.answers__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.answers dt { color: var(--ink-soft); }
.answers dd { margin: 0; font-weight: 500; }
.client-note { margin: 4px 0 0; padding-left: 20px; border-left: 2px solid var(--line-strong); display: flex; flex-direction: column; gap: 8px; }
.client-note p { font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.milestone__date { white-space: nowrap; }

.marker { display: inline-block; width: 9px; height: 9px; border-radius: 2px; border: 1.5px solid var(--line-strong); flex: none; }
.marker--small { width: 8px; height: 8px; }
.marker--approved { background: var(--ink); border-color: var(--ink); }
.marker--in-progress { border-color: var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.marker--awaiting-approval, .marker--discussing { background: var(--red); border-color: var(--red); border-radius: 999px; }

/* Show more */
.more__toggle { display: inline-flex; gap: 4px; margin: 18px 0 0 36px; cursor: pointer; list-style: none; }
.more__toggle::-webkit-details-marker { display: none; }
.more[open] .more__toggle { display: none; }
.stat__number--section { font-size: 40px; }
.band .title { font-size: 34px; }

