/* Project pages, in the sequence of the reference's community page. Loaded after site.css. */
.cbanner__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; padding-bottom: 2.6rem; }
.cbanner__head .h1 { font-size: 3.6rem; }
.cbanner__tags { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }
.pilltag { display: inline-flex; align-items: center; padding: 0.85rem 1.2rem; border-radius: 99rem; background: var(--bone); font-size: 0.82rem; font-weight: 400; line-height: 1; white-space: nowrap; }
.cbanner__media { height: 45rem; max-height: 80vh; overflow: hidden; background: #ddd; }
.cbanner__media img, .cbanner__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.cstrip { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.cstrip > div { display: flex; align-items: center; padding: 4.2rem var(--pad); min-height: 13.5rem; }
.cstrip__logo { justify-content: center; border-right: 1px solid var(--line); }
.cstrip__logo img { height: 3.4rem; width: auto; max-width: 70%; object-fit: contain; filter: brightness(0); opacity: 0.82; }
.cstrip__logo img.is-stack { height: 7.2rem; }
.cstrip__logo span { font-family: var(--display); font-size: 1.9rem; letter-spacing: 0.3em; text-transform: uppercase; }
.cstrip__line p { max-width: 30rem; font-size: 1.9rem; line-height: 1.25; }

.intro .h3 { max-width: 30rem; }
.btn--wide { display: flex; justify-content: center; width: 100%; max-width: 34rem; margin-top: 2.4rem; padding: 1.15rem 1.25rem; }

.mplan { background: var(--bone); }
.mplan img { width: 100%; max-height: 46rem; object-fit: contain; }
.mplan figcaption { padding: 1rem 1.4rem; font-size: 0.9rem; color: var(--mute); border-top: 1px solid #e6e1d6; }

.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.story__left { display: flex; flex-direction: column; min-height: 34rem; }
.story__items { position: relative; flex: 1; margin-top: 2rem; }
.story__item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.story__item.is-on { opacity: 1; visibility: visible; }
.story__item h3 { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.story__item p { max-width: 34rem; padding-bottom: 2.4rem; }
.story__nav { display: flex; align-items: center; gap: 1.2rem; }
.story .bullets { flex: 1; gap: 0.8rem; }
.story .bullet, .story .bullet.is-on { flex: 1; width: auto; height: 2px; border-radius: 0; background: rgba(34, 34, 34, 0.2); opacity: 1; }
.story .bullet.is-on::after { background: var(--ink); }
.story__right { position: relative; min-height: 34rem; overflow: hidden; background: #e3ded3; }
.story__right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
.story__right img.is-on { opacity: 1; }

.maplist--row { flex-direction: row; flex-wrap: wrap; gap: 0 2.6rem; margin-top: 1.6rem; }
.maplist--row li { flex: 1 1 22%; min-width: 15rem; }

.hrows__head { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.6rem; }
.hrow { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 3.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); align-items: start; }
.hrow:last-child { border-bottom: 1px solid var(--line); }
.hrow .h3 { font-size: 1.9rem; line-height: 1.2; max-width: 14ch; }
.hrow__img { aspect-ratio: 2.3; overflow: hidden; background: var(--bone); }
.hrow__img img { width: 100%; height: 100%; object-fit: cover; }
.hrow p { font-size: 1rem; color: var(--ink); }

.ctable { width: 100%; border-collapse: collapse; min-width: 40rem; }
.ctable th, .ctable td { text-align: left; padding: 1.15rem 1.5rem 1.15rem 0; border-bottom: 1px solid var(--line); font-weight: 300; font-size: 1rem; vertical-align: top; }
.ctable thead th { font-family: var(--display); font-size: 1.55rem; font-weight: 400; border-bottom-color: var(--ink); width: 36%; }
.ctable thead th:first-child { width: 28%; font-family: var(--text); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); vertical-align: bottom; }
.ctable tbody th { font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.ctable td { color: var(--mute); }
.ctable td.is-here { color: var(--ink); }
.ctable thead th a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.partner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.partner__logo { height: 1.9rem; width: auto; margin: 3.4rem 0 2rem; }
.partner p { color: var(--mute); max-width: 32rem; font-size: 1rem; }
.partner__img { aspect-ratio: 1.6; overflow: hidden; }
.partner__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1000px) {
  .cbanner__head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .cbanner__head .h1 { font-size: 2.8rem; }
  .cbanner__tags { justify-content: flex-start; }
  .cbanner__media { height: 28rem; }
  .cstrip { grid-template-columns: 1fr; }
  .cstrip > div { padding: 2.6rem var(--pad); min-height: 0; }
  .cstrip__logo { border-right: 0; border-bottom: 1px solid var(--line); }
  .story__grid, .partner { grid-template-columns: 1fr; gap: 2.5rem; }
  .story__left { min-height: 24rem; }
  .story__right { min-height: 22rem; order: -1; }
  .hrow { grid-template-columns: 1fr; gap: 1.2rem; }
  .hrow .h3 { max-width: none; }
  .partner__logo { margin: 2rem 0 1.4rem; }
}
