/* Page furniture: the measure, the sections, the footer. */

/* A faint trace of the centre's Buddha painting, behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/campaign/buddha-outline-4134fffa.png") center / cover no-repeat;
  opacity: .09;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow { max-width: 780px; }
.wrap--wide { max-width: calc(var(--wrap) * 1.2); }

section { padding: 110px 0 0; }
section.tight { padding-top: 64px; }

hr.r {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 0 0 30px;
}

/* The bar that names the centre and keeps the give button always reachable. */
.topbar {
  border-bottom: 1px solid var(--edge);
  background: var(--carbon);
  position: sticky;
  top: 0;
  z-index: 60;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  justify-content: space-between;
}
.topbar a { text-decoration: none; }
.topbar .name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.topbar .name b { color: var(--filament); font-weight: 500; }
.topbar .give {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--filament);
  border: 1px solid rgba(var(--warm), 0.5);
  border-radius: 999px;
  padding: 6px 14px;
}

@media (max-width: 520px) {
  .topbar .subtitle { display: none; }
}

.hero { padding: 64px 0 0; }

.stage { position: relative; padding: 12px 0 0; }

.brandline { text-align: center; margin: 44px 0 0; }
.brandline p {
  margin: 16px auto 0;
  max-width: 572px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}

/* Two things side by side: where the centre is now, where it hopes to be. */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.pair figure { margin: 0; }
.pair img { border: 1px solid var(--edge); }

.split {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 64px;
  align-items: start;
}

/* The vision leads, the reality and the interior support it alongside. */
.editorial {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
.editorial figure { margin: 0; }
.editorial img { border: 1px solid var(--edge); }
.editorial .side { display: flex; flex-direction: column; gap: 32px; }

footer {
  margin-top: 120px;
  border-top: 1px solid var(--edge);
  padding: 34px 0 70px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
footer p {
  margin: 0;
  font-size: 12.5px;
  color: #5C636C;
  max-width: 520px;
  line-height: 1.6;
}
footer .sig {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4E555E;
  text-align: right;
}
footer a { color: #6A727C; }
footer .sig a { text-decoration: none; }

@media (max-width: 900px) {
  section { padding-top: 80px; }
  .pair { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  footer .sig { text-align: left; }
}

@media (min-width: 901px) {
  .hero { padding: 32px 0 0; }
  .stage { padding: 6px 0 0; }
  .brandline { margin: 20px 0 0; }
  .brandline p { max-width: 780px; }
}
