
.pj-mix { padding-top: 14px; border-top: 2px solid var(--ink); }
.pj-mix__title { font-size: var(--fs-small); font-weight: 700; margin-bottom: 6px; }
.pj-mix__rows li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.2em; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--sand); font-size: var(--fs-small); }
.pj-mix__rows li[hidden] { display: none; }
.pj-mix__k { font-weight: 600; }
.pj-mix__bar { height: 8px; background: repeating-linear-gradient(90deg, var(--sand) 0 1px, transparent 1px 12px); }
.pj-mix__bar i { display: block; height: 100%; width: calc(var(--v) / var(--t) * 100%); background: var(--green); }
.pj-mix__rows li:first-child .pj-mix__bar i { background: var(--green-deep); }
.pj-mix__n { text-align: right; color: var(--stone); }
.pj-mix__n b { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 1px; }
.pj-mix__foot { margin-top: 12px; font-size: 13px; color: var(--stone); }
.pj-mix__foot b { color: var(--ink); }
@media (max-width: 599px) {
  .pj-mix__rows li { grid-template-columns: 8.4em minmax(0, 1fr) 3em; gap: 10px; padding: 8px 0; }
}
.pj-page { padding-top: clamp(40px, 5vw, 72px); }
.pjf { border-top: 2px solid var(--ink); }
.pjf[hidden] { display: none; }
.pjf__row { display: grid; grid-template-columns: 1fr 3fr; column-gap: var(--col-gap); align-items: center; border-bottom: 1px solid var(--sand); }
.pjf__key { align-self: stretch; display: flex; align-items: center; padding: 16px 0; font-size: var(--fs-small); font-weight: 700; }
.pjf__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.pjf__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--sand); border-radius: var(--radius-pill); background: transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.pjf__btn small { font-size: 13px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.pjf__btn:hover { border-color: var(--green); }
.pjf__btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ivory); }
.pjf__btn[aria-pressed="true"] small { color: var(--ivory); }
.pjr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 22px 0 32px; }
.pjr__count { font-size: var(--fs-small); color: var(--stone); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pjr__count strong { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.pjr__scope { color: var(--ink); font-weight: 600; }
.pjr__count .pjr__reset { margin-left: 10px; border: 0; background: none; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pj-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--stone); }
.pj-legend[hidden] { display: none; }
.pj-legend span { display: inline-flex; align-items: center; gap: 10px; }
.pj-legend svg { width: 28px; height: 10px; flex: none; overflow: visible; }
.pj-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.pj-table th, .pj-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--sand); vertical-align: baseline; }
.pj-table thead th { font-size: 13px; font-weight: 600; color: var(--stone); border-bottom-color: var(--ink); }
.pj-table td:first-child { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; width: 64px; }
.pj-table td:nth-child(2) { font-weight: 700; font-size: 17px; }
@media (max-width: 599px) {
  .pj-table thead { display: none; }
  .pj-table tr { display: grid; grid-template-columns: 48px 1fr; padding: 10px 0; border-bottom: 1px solid var(--sand); }
  .pj-table td { border: 0; padding: 2px 0; }
  .pj-table td:first-child { grid-row: span 4; }
  .pj-table td:empty { display: none; }
}
.pj-empty { border: 1px solid var(--sand); padding: clamp(32px, 5vw, 64px); background: var(--ivory); }
.pj-empty__title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; }
.pj-empty__text { margin-top: 10px; color: var(--stone); }
.pj-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pj-note { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sand); font-size: var(--fs-small); color: var(--stone); }
.pj-note p { max-width: 40em; }
.pj-cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
.pj-cta__text { grid-column: 1 / span 7; }
.pj-cta__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); font-weight: 600; line-height: 1.35; letter-spacing: -0.035em; }
.pj-cta__text p { margin-top: 18px; color: var(--stone); max-width: 34em; }
.pj-cta__actions { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.pj-cta__actions .text-link { flex-basis: 100%; justify-content: flex-end; display: flex; margin-top: 8px; }
.pj-cta__actions .text-link span { background: linear-gradient(var(--olive), var(--olive)) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; }
.pj-cta .text-link { background: none; padding: 0; }
@media (max-width: 1023px) {
  .pj-cta__text, .pj-cta__actions { grid-column: 1 / -1; }
  .pj-cta__actions { justify-content: flex-start; margin-top: 32px; }
  .pj-cta__actions .text-link { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .pjf {
    position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter); border-top: 0;
    overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    background: var(--ivory); box-shadow: 0 1px 0 var(--sand);
    transition: transform .28s var(--ease), opacity .28s var(--ease);
  }
  .pjf::-webkit-scrollbar { display: none; }
  .pjf.is-away { transform: translateY(calc(-100% - 2px)); opacity: 0; pointer-events: none; }
  .pjf__row { display: flex; align-items: center; gap: 8px; flex: none; border-bottom: 0; }
  .pjf__row + .pjf__row { padding-left: 12px; border-left: 1px solid var(--sand); }
  .pjf__key { padding: 0 2px 0 0; font-size: 12.5px; color: var(--stone); }
  .pjf__opts { flex-wrap: nowrap; gap: 6px; padding: 0; }
  .pjf__btn { flex: none; min-height: 40px; padding: 0 13px; font-size: 14.5px; }
  .pjr { padding: 18px 0 24px; }
  .pj-legend { gap: 6px 18px; }
  html:has(body[data-page="projects"]) { scroll-padding-top: calc(var(--header-h) + 56px + 16px); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .pjf { transition: none; } }
.sheet { position: relative; border: 1px solid var(--ink); padding: 10px; background: var(--ivory); }
.sheet__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid var(--ink); min-height: 420px; }
.sheet__body { grid-column: 1 / span 6; padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.sheet__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); font-weight: 600; line-height: 1.35; letter-spacing: -0.035em; }
.sheet__text { margin-top: 18px; color: var(--stone); max-width: 32em; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sheet__block { grid-column: 7 / span 6; align-self: end; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.sheet__block > div { padding: 14px 18px 16px; border-bottom: 1px solid var(--sand); min-width: 0; }
.sheet__block > div:last-child { border-bottom: 0; }
.sheet__block > div + div { border-left: 0; }
.sheet__block .wide { grid-column: 1 / -1; }
.sheet__block dt { font-size: 12.5px; color: var(--stone); margin-bottom: 4px; }
.sheet__block dd { font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.sheet__block .half + .half { border-left: 1px solid var(--sand); }
.sheet__block a { text-decoration: none; }
.sheet__block a:hover { text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 2px; }
.sheet__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sheet__flow i { width: 14px; height: 1px; background: var(--olive); display: inline-block; }
.sheet__stamp {
  grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: var(--green); color: var(--ivory);
}
.sheet__stamp dt { color: var(--ivory-70); }
.sheet__stamp dd { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 1023px) {
  .sheet__inner { display: block; min-height: 0; }
  .sheet__block { border-left: 0; }
}
@media (max-width: 599px) {
  .sheet { padding: 6px; }
  .sheet__body { padding: 28px 20px 32px; }
  .sheet__actions .btn { width: 100%; }
  .sheet__block { grid-template-columns: 1fr; }
  .sheet__block .half + .half { border-left: 0; }
}
.seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.seq__stage { position: relative; min-width: 0; }
.seq__stage + .seq__stage { border-left: 1px dashed var(--line-dark); }
.seq__fig { display: block; width: 100%; height: auto; aspect-ratio: 300 / 280; color: var(--ivory); }
.seq__cap { padding: 22px clamp(12px, 1.6vw, 24px) 30px; border-top: 1px solid var(--line-dark); }
.seq__cap .num { display: block; font-size: 14px; font-weight: 700; color: var(--olive); margin-bottom: 8px; }
.seq__cap h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.seq__cap p { margin-top: 10px; font-size: var(--fs-small); color: var(--ivory-70); }
.seq-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 28px; font-size: var(--fs-small); color: var(--ivory-70); }
.seq-note p { max-width: 44em; }
@media (max-width: 1023px) {
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq__stage:nth-child(3) { border-left: 0; }
  .seq__stage:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 599px) {
  .seq__cap { padding: 16px 12px 22px; }
  .seq__cap h3 { font-size: 19px; }
  .seq__cap p { font-size: 14px; line-height: 1.6; }
}
.site-card__status { position: absolute; right: 12px; top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green-deep); background: var(--ivory); padding: 2px 10px; border: 1px solid var(--sand); border-radius: var(--radius-pill); }
.site-card__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.stagebar-wrap { padding: 16px 18px 18px; border-top: 1px solid var(--sand); }
.stagebar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stagebar li { position: relative; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--stone); }
.stagebar li i { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sand); }
.stagebar li + li i { left: 2px; }
.stagebar .num { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.stagebar .is-done { color: var(--ink); }
.stagebar .is-done i { background: var(--green); }
.stagebar .is-now { color: var(--ink); font-weight: 800; }
.stagebar .is-now i { background: var(--olive-ink); }
.stagebar .is-now .num { color: var(--green); }
.stagebar__note { margin-top: 10px; font-size: 13.5px; color: var(--stone); }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.next-grid .card { padding-bottom: 8px; }
.next-grid .card__title { margin-top: 4px; }
.next-grid .card__meta { max-width: 30em; }
.next-grid .card .label { color: var(--green); }
.next-grid .card:hover .card__title { text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 767px) { .next-grid { grid-template-columns: 1fr; gap: 40px; } }
#sitesCount { margin-bottom: 20px; }
.page-head__more { margin-top: 20px; }
